Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tcl 8.5 or 8.6 #124

Open
jpffitch opened this issue Jan 29, 2014 · 8 comments
Open

Tcl 8.5 or 8.6 #124

jpffitch opened this issue Jan 29, 2014 · 8 comments

Comments

@jpffitch
Copy link

My Linux distro now delivers wish8.6 etc which caused gorilla to fail. For the momemt I have installed a symbolic link from wish8.5 to wish8.6 but is this safe?

@ajraymond
Copy link
Contributor

Hi John,

Which distro are you using?

@jpffitch
Copy link
Author

Apologies -- I meant to add OpenSuSE13.1

@rich123
Copy link
Collaborator

rich123 commented Jan 29, 2014

When you say "fail" do you mean "fail to start"?

If so, and if you are running the source, that is because the current source is looking for 8.5. Editing the third line of gorilla.tcl to change "tclsh8.5" to "tclsh8.6" or "tclsh" will let it start up under 8.6.

I just discovered this over the past weekend when I upgraded one of my machines to Slackware 14.1 and got Tcl 8.6 in the process. Just have not gotten to pushing a commit into github yet to fix it.

I also encountered one additional little weirdness under 8.6 on Slackware 14.1. When it auto-locked and then I unlocked it, the app would appear to "disappear". The fix that has worked (so far) for me on Slack14.1 was to remove the "wm withdraw ." that is the 5th to the last line in the gorilla::LockDatabase proc.

The relevant code area looks like this:

    set ::gorilla::isLocked 0
    wm withdraw .
    wm deiconify .
    raise .
    ArrangeIdleTimeout
    return GORILLA_OK
}
# ----------------------------------------------------------------------
proc gorilla::LockDirtyMessage {} {

If this issue hits you as well under 8.6, then try deleting the line that says "wm withdraw ." and see if it makes it go away.

@jpffitch
Copy link
Author

My code in gorilla.tcl refers to tcl8.4 which I hae just changed to 8.6
Perhaps my version is too old (version 1.42)

@zdia
Copy link
Owner

zdia commented Jan 30, 2014

Look here for the latest revision:

http://www.zdia.de/downloads/gorilla/
http://gorilla.dp100.com/downloads/

@rich123
Copy link
Collaborator

rich123 commented Jan 30, 2014

1.42 is a very old version. That is, I think, the last revision released by Password Gorilla's original author, Frank Pilhofer.

The current released version is 1.5.3.7 and there have been quite a lot of changes between 1.42 and 1.5.3.7. You may want to test 1.5.3.7 and see if you like it better than 1.42.

@jpffitch
Copy link
Author

jpffitch commented Feb 1, 2014

Just a simple question: is the database format still the same? That is can I continue with the same file or retype or what?

@zdia
Copy link
Owner

zdia commented Feb 1, 2014

Just a simple question: is the database format still the same?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants