[GRASS-dev] [GRASS GIS] #2133: g.parser does call the form.py with full path

GRASS GIS trac at osgeo.org
Wed Nov 13 16:38:39 PST 2013


#2133: g.parser does call the form.py with full path
------------------------+---------------------------------------------------
 Reporter:  wenzeslaus  |       Owner:  grass-dev@…              
     Type:  defect      |      Status:  new                      
 Priority:  normal      |   Milestone:  7.0.0                    
Component:  Parser      |     Version:  svn-trunk                
 Keywords:  parser      |    Platform:  All                      
      Cpu:  All         |  
------------------------+---------------------------------------------------

Comment(by hamish):

 ps- typically scripts using g.parser need to be somewhere in the system
 PATH since they run in two passes, and the second time it has forgotten
 the original path (if it ever knew it, it could have been called as
 "./script"). For compiled addon modules they don't need to be in the PATH
 since the module is run in the same process as the parser.

 try adding the directory you script is in to the PATH.

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



More information about the grass-dev mailing list