greenstone.org greenstone wiki greenstone trac planet greenstone

Ticket #206 (new defect)

Opened 1 year ago

Last modified 4 months ago

Spaces in Install path on Macintosh

Reported by: oranfry Assigned to: nobody
Priority: high Milestone: Release 2.81
Component: GLI Severity: critical
Keywords: Cc:

Description

When Greenstone 2 is installed from an installer on Macintosh, to a path with spaces (like '/Users/oranfry/Greenstone 2.74' which is where I installed to), GLI does not build collections; it reports an error then locks up when you click 'build'.

I did some preliminary investigations which might help in fixing the bug: Looking at GLI's output in the console window, we can see that GLI tries to access the directory '/Users/oranfry/Greenstone', so it seems GLI is just using everything up to the first space of the correct path. Running 'echo $GSDLHOME' produced output: /Users/oranfry/Greenstone 2.74. So apparently the setup.bash script stores the path to greenstone unescaped and unquoted. I did not have this problem in Windows.

Change History

2008-04-03 14:13:58 changed by kjdon

  • priority changed from low to high.
  • component changed from Greenstone2 Runtime to GLI.
  • severity set to critical.
  • milestone set to Release 2.81.

Does this happen for Greenstone 3 too?