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

GRASS GIS trac at osgeo.org
Fri Oct 24 00:51:15 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 martinl):

 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, see attachment:launch-bat.png and
 debug info
 >
 {{{
 > g.extension
 > : filename =
 C:\OSGEO4~1\apps\grass\grass-7.0.0svn/scripts/g.extension.py
 > : G_file_name(): path = C:\Users\landa\Documents\GIS
 DataBase/arccr500-sjtsk
 > eler
 > : G_recreate_command()
 > : win_spawn: args = C:\Windows\system32\cmd.exe /c
 "C:\OSGEO4~1\bin\python.e
 > :\OSGEO4~1\apps\grass\grass-7.0.0svn/gui/wxpython/gui_core/forms.py
 g.extens
 > py"
 > : grass.script.core.start_command(): g.gisenv -n
 }}}

 this issue is still not solved...

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



More information about the grass-dev mailing list