#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 glynn):

 Replying to [comment:4 hamish]:
 > perhaps this line in parser.c's G_gui_tcltk() needs extra quoting around
 $env(GISBASE)?
 > {{{
 > fprintf(fp, "source $env(GISBASE)/etc/gui.tcl\n");
 > }}}

 I don't think so. Unlike bash, Tcl doesn't re-parse the result of
 substitutions.

 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.

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

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to