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

GRASS GIS trac at osgeo.org
Mon Dec 8 10:18:17 PST 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 martinl):

 Replying to [comment:28 martinl]:
 > Replying to [comment:27 glynn]:
 > > I note that G_set_program_name() removes any ".exe" suffix. On
 Windows, it should probably remove ".py" or also (on Unix, scripts are
 installed without the .py suffix). Or perhaps g.parser should do this. Or
 even forms.py for that matter.
 >
 > done in r62904 (trunk). Let's check the next build on Windows.

 that fixes the problem. Backported to relbr70 in r63446.

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



More information about the grass-dev mailing list