[greenstone-users] Librarian Interface Start-up Failure

From Michael Silver
DateThu Jan 27 11:10:23 2011
Subject [greenstone-users] Librarian Interface Start-up Failure
In-Reply-To (043EF28093DC4FD2A3F2A502A9E299B1-DSC46)
I would add an additional comment. If you are running a 64-bit version
of Windows, you may have entries in your PATH statement that contain
characters which can't be used in bat files. The usual culprit is the
"Program Files (x86)" folder name. I worked around this by explicitly
setting my PATH statement in setup.bat. Below are my notes from that,
but PLEASE NOTE that the entries in the PATH statement are from my
computer. Don't simply copy them into yours as they won't work!

By default, 32-bit Windows applications installed on a 64-bit Windows
OS are stored in
C:Program Files (x86). Unfortunately, the parentheses characters are
special, and cause
problems with the scripts used to start the GLI. If a window flashes
momentarily when trying to
start the GLI, this is likely the problem.

Modifying the PATH is the only way to get the GLI to start correctly,
but users must modify the
<GSDL Install Directory>setup.bat file instead of making permanent
changes to the OS
PATH as many important utilities (e.g., CD/DVD burning software) are
often found in the
C:Program Files (x86) directory. The steps are outlined below.

1. Determine the current PATH by saving it in a text file.
a. Open a Command Prompt window.
b. Execute the command
echo %PATH% > path.txt

2. Edit the file by executing the command
notepad path.txt
3. Remove any entry that includes the C:Program Files (x86)
directory. Below, a is the original path, while b is the edited one.
a. (original) C:Windowssystem32;C:Windows;
FilesIntelWiFibin;C:Program FilesCommon
FilesIntelWirelessCommon;C:Program Files (x86)Common
FilesLenovo;C:Program Files (x86)Common FilesRoxio
Shared10.0DLLShared;C:Program Files
(x86)Common FilesRoxio SharedDLLShared;C:Program Files
(x86)LenovoAccess Connections;C:Program Files

b. (modified) C:Windowssystem32;C:Windows;
FilesIntelWiFibin;C:Program FilesCommon

4. Copy the modified entry.

5. Enter a custom PATH in the <GSDL Install Directory>setup.bat file.
a. Open the file in Notepad.
b. Create new lines which read:
# Set path to get rid of trouble entries
set PATH=<paste modified path here>
c. Example (no carriage returns - although text will wrap, the line
beginning set PATH=? is one line):
# Set path to get rid of trouble entries
set PATH=C:Windowssystem32;C:Windows;
FilesIntelWiFibin;C:Program FilesCommon

6. Save the file. The GLI should now run correctly.


On Wed, Jan 26, 2011 at 2:07 PM, Diego Spano <dspano@anac.gov.ar> wrote:
> Jennifer,
> try the following:
> From Start Menu, run "cmd" command.
> Go to install folder (i.e. c:greenstone)
> execute setup.bat
> Then go to gli folder
> execute gli.bat.
> If you don?t know how to do this through command line, you have to do this:
> Start Menu --> run --> cmd <enter>
> cd c:greenstone
> setup.bat <enter>
> cd gli
> gli.bat <enter>
> These step should allow you to run Gli.
> Regards.
> Diego Spano
> ________________________________
> De: greenstone-users-bounces@list.scms.waikato.ac.nz
> [mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] En nombre de
> Jennifer Ford
> Enviado el: mi?rcoles, 26 de enero de 2011 17:59
> Para: greenstone-users@list.scms.waikato.ac.nz
> Asunto: [greenstone-users] Librarian Interface Start-up Failure
> Hi,
> I was hoping someone might be willing to help me.
> I am brand new to Greenstone. ?I just downloaded version 2.83 and am running
> Windows 7. ?I am running Java 6.
> I want to run the Librarian Interface. ?When I click on it, a box with green
> text shows up for about a second and then blinks out.
> Would anyone be able to offer me any tips on how to correct this?
> Thanks,
> Jen
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users


Michael Silver