[GRASS-dev] [GRASS GIS] #2150: Cannot call Python scripts from Python on MS Windows

GRASS GIS trac at osgeo.org
Fri Oct 24 15:34:18 PDT 2014


#2150: Cannot call Python scripts from Python on MS Windows
-------------------------------------------+--------------------------------
 Reporter:  wenzeslaus                     |       Owner:  grass-dev@…              
     Type:  defect                         |      Status:  new                      
 Priority:  blocker                        |   Milestone:  7.0.0                    
Component:  Python                         |     Version:  svn-releasebranch64      
 Keywords:  packaging, MAXREPEAT, scripts  |    Platform:  MSWindows 7              
      Cpu:  Unspecified                    |  
-------------------------------------------+--------------------------------

Comment(by wenzeslaus):

 Replying to [comment:25 glynn]:
 > Replying to [comment:20 martinl]:
 >
 > > to make bat files working also from command line I changed interpret
 from SH to CMD in r61976. But it still doesn't work since `forms.py`
 requires to have a module in the path
 >
 > Why does forms.py need the Python script (rather than the batch file) in
 the path?

 Without really checking it now, I think it is because of #2133 (g.parser
 does call the form.py with full path).

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



More information about the grass-dev mailing list