[GRASS-dev] Re: [GRASS GIS] #580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run

GRASS GIS trac at osgeo.org
Fri Jan 6 09:28:14 EST 2012

#580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run
  Reporter:  hamish        |       Owner:  grass-dev@…              
      Type:  defect        |      Status:  reopened                 
  Priority:  blocker       |   Milestone:  7.0.0                    
 Component:  wxGUI         |     Version:  svn-trunk                
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  Unspecified              

Comment(by glynn):

 Replying to [comment:34 mmetz]:

 > Reopening the ticket because calling python scripts from /scripts with
 wxGUI does not work with the error message that the system does not know
 what to do with py files. This applies to systems without a separate
 system-wide python 2.x installation. Or is a separate python 2.x
 installation now a requirement?

 The system must be able to "execute" Python scripts.

 On Unix, this means that a Python interpreter named "python" must be
 present in $PATH. On Windows, it means that a Python interpreter must be
 associated with the .py extension.

 Please do not try to implement half-baked "fixes" such as requiring .bat
 files or requiring special treatment for executing scripts. Both Unix and
 Windows have standard mechanisms to support execution of scripts; those
 mechanisms (and only those mechanisms) should be used.

Ticket URL: <http://trac.osgeo.org/grass/ticket/580#comment:39>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list