[GRASS-dev] [GRASS GIS] #1945: wingrass: Command Line can't find grass.python libs

GRASS GIS trac at osgeo.org
Wed Apr 24 23:22:56 PDT 2013


#1945: wingrass: Command Line can't find grass.python libs
----------------------+-----------------------------------------------------
 Reporter:  hamish    |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  6.4.3                    
Component:  Python    |     Version:  svn-develbranch6         
 Keywords:  wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-32    |  
----------------------+-----------------------------------------------------

Comment(by hamish):

 Replying to [comment:5 glynn]:
 > I don't think so. Unlike bash, Tcl doesn't re-parse the result of
 substitutions.

 ok

 > Also the "... is not recognized as an internal or external command,
 > operable program or batch file." error is generated by Windows in
 response
 > to an attempt to execute a command; it wouldn't be generated by Tcl in
 response
 > to a "source" command.
 >
 > It could be generated by the popen() call in G_gui_tcltk() (although the
 quoting
 > looks okay), or by a Tcl "exec" command.

 I tried on linux with putting a space in $GISBASE, but it worked fine
 there. G_gui_tcltk() has a different #ifdef path for WIN32; I'm not sure
 if the tcltk code does too; I didn't see anything obvious.

 If I "`set GRASS_DEBUG_GUI=true`" to get the different tee+pipe behaviour
 from G_gui_tcltk(), it works and the module gui opens.


 Hamish

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



More information about the grass-dev mailing list