[GRASS-dev] [GRASS GIS] #889: Msys-based commands fail when winGRASS is installed in %ProgramFiles%

GRASS GIS trac at osgeo.org
Fri Jan 22 14:03:00 EST 2010


#889: Msys-based commands fail when winGRASS is installed in %ProgramFiles%
---------------------+------------------------------------------------------
 Reporter:  lponti   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  6.4.0                    
Component:  default  |     Version:  6.4.0 RCs                
 Keywords:           |    Platform:  MSWindows Vista          
      Cpu:  x86-32   |  
---------------------+------------------------------------------------------
 Current standalone winGRASS installer (I used that of 20 Jan 2010 on
 Windows 7) defaults to %ProgramFiles% and this seems to prevent all sh.
 exe-based commands to work properly. E.g. d.shadedmap and r.shaded.relief
 fail with the following error message:

 {{{
 r.shaded.relief map=dem
 /c/Program: Files\GRASS-64-SVN\msys\bin\sh.exe: No such file
 or directory
 }}}

 This should be related to
 http://trac.osgeo.org/grass/ticket/714
 http://lists.osgeo.org/pipermail/grass-dev/2010-January/048199.html

 Also see this post:
 http://n2.nabble.com/GUI-with-python-scripts-tp4435076p4440590.html

 which says that installing 6.4.0-SVN snapshots in %ProgramFiles% won't
 work until the recent changes to the G_spawn* functions have been back-
 ported. The current 6.4.0 code is known not to work with spaces in
 $GISBASE. 6.5 should work (although based upon recent comments, MSys might
 need to be installed in C:\msys).

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


More information about the grass-dev mailing list