[GRASS-dev] Re: [GRASS GIS] #1101: WinGrass7 + scripts are not found in the command line

GRASS GIS trac at osgeo.org
Fri Jul 2 04:11:58 EDT 2010


#1101: WinGrass7 + scripts are not  found in the command line
-------------------------------+--------------------------------------------
 Reporter:  hellik             |       Owner:  grass-dev@…              
     Type:  defect             |      Status:  new                      
 Priority:  normal             |   Milestone:  7.0.0                    
Component:  Packaging          |     Version:  svn-trunk                
 Keywords:  wingrass, scripts  |    Platform:  MSWindows Vista          
      Cpu:  Unspecified        |  
-------------------------------+--------------------------------------------

Comment(by hellik):

 Replying to [comment:5 glynn]:
 > Replying to [ticket:1101 hellik]:
 >
 > {{{
 > GRASS 7.0.svn> g.manual
 > sh.exe": g.manual: command not found
 > }}}
 >
 > Check the setting of `%GRASS_SH%`.
 >
 > It should be set with something like:
 > {{{
 > set GRASS_SH=C:\msys\1.0\bin\sh.exe
 > }}}
 > or:
 > {{{
 > set GRASS_SH=C:\Program Files\GRASS-70-SVN\msys\1.0\bin\sh.exe
 > }}}
 > There shouldn't be any quotes, even if the filename contains spaces.

 in grass70.bat, which invokes grass70.py, there is:
 {{{
 [...]
 rem Set GRASS Installation Directory Variable
 set GISBASE=C:\Program Files\GRASS-70-SVN
 [...]
 rem Path to the shell command
 set GRASS_SH=%GISBASE%\msys\bin\sh.exe
 }}}

 and in the WinGrass7-command line:

 {{{
 GRASS 7.0.svn> echo $GRASS_SH
 C:\Program Files\GRASS-70-SVN\msys\bin\sh.exe
 GRASS 7.0.svn>
 }}}

 and sh.exe is in C:\Program Files\GRASS-70-SVN\msys\bin

 Helmut

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1101#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list