Ticket #629 (closed defect: fixed)
WinGRASS: spaces in pathnames
| Reported by: | hamish | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.4.0 |
| Component: | Installation | Version: | 6.4.0 RCs |
| Keywords: | wingrass, msys | Cc: | |
| Platform: | MSWindows XP | CPU: | x86-32 |
Description
Hi,
trying the native stand-alone installer (rev37703) installed in C:\Program Files\GRASS GIS\GRASS-6-SVN to expose/fix some missing quoting.
The icon to start the wxPython GUI directly works, but the Cmd> prompt fails for v.db.select roads where="label ~ 'highway'" with:
Bad file descriptor: Files/GRASS
The "GRASS with MSYS" icon doesn't get very far at all due to msys bugs:
in msys.bat :startrxvt section the line
if NOT EXIST %WD%rxvt.exe goto startsh
needs to have %WD%rxvt.exe "quoted" otherwise you get this error in the terminal window: (but it continues anyway)
The system cannot find the path specified.
a few lines later in if NOT "x%*" == "x" start %WD%rxvt -backspacekey ... -e /bin/sh --login -c "%*" it fails with a pop up window:
Windows cannot find 'C:\Program'. Make sure you typed the name correctly, ...
if you "quote" %WD%rxvt it then gives the error that it can not find the program -backspacekey, Make sure that you typed the name correctly, ....
maybe using a newer msys package helps fix these? if not, time to report some bugs to them.
also, the grass dirname in msys/etc/fstab needs to be quoted? (do that in mswindows/GRASS-Installer.nsi)
knock these things off one by one... Hamish

