[greenstone-users] 2.41, MacOSX 10.3.*, and GLI Lockfile Problems

From Carl Jones
DateWed, 17 Dec 2003 11:40:21 -0500
Subject [greenstone-users] 2.41, MacOSX 10.3.*, and GLI Lockfile Problems
Hi,

I'm on version 2.41, and after having some limited success creating a
collection when I try to go back add additional documents using GLI the
application detects the presence of a lockfile:

> The presence of a lock file suggests this collection is already open
> Do you with to 'steal' the control of this lockfile (not recommended)?

If I _do_ choose to steal the lockfile, the GLI interface doesn't open
and I'm dropped back to the command line with the following:


Running the Greenstone Librarian Interface...
java.lang.NumberFormatException: For input string: "1071271572338s"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.jav
a:48)
at java.lang.Long.parseLong(Long.java:332)
at java.lang.Long.parseLong(Long.java:381)
at
org.greenstone.gatherer.gui.OptionsPane$FileEntry.getDate(OptionsPane.ja
va:510)
at
org.greenstone.gatherer.gui.OptionsPane$FileEntry.compareTo(OptionsPane.
java:497)
at
org.greenstone.gatherer.gui.OptionsPane.buildLog(OptionsPane.java:161)
at
org.greenstone.gatherer.gui.CreatePane$OptionTree.valueChanged(CreatePan
e.java:601)
at
org.greenstone.gatherer.gui.CreatePane.collectionChanged(CreatePane.java
:242)
at
org.greenstone.gatherer.gui.GUIManager.collectionChanged(GUIManager.java
:364)
at
org.greenstone.gatherer.gui.GUIManager.display(GUIManager.java:496)
at org.greenstone.gatherer.Gatherer.run(Gatherer.java:286)
at org.greenstone.gatherer.Gatherer.main(Gatherer.java:614)
Done!

----

Conversely, if I choose 'cancel' (don't steal the lock file) and then
try to open a collection I get the following error:

The collection at: <pathname>
cannot be opened because:
For input string: "1071271572338s"


Has anyone seen similar behavior and have a workaround?

Thanks.

/Carl