[GRASS-dev] [GRASS GIS] #629: WinGRASS: spaces in pathnames

GRASS GIS trac at osgeo.org
Sat Jun 6 08:54:02 EDT 2009


#629: WinGRASS: spaces in pathnames
----------------------------+-----------------------------------------------
 Reporter:  hamish          |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  6.4.0                    
Component:  Installation    |     Version:  6.4.0 RCs                
 Keywords:  wingrass, msys  |    Platform:  MSWindows XP             
      Cpu:  x86-32          |  
----------------------------+-----------------------------------------------
 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

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/629>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list