[GRASS-dev] [GRASS GIS] #2008: grass.script's find_program() can't find modules

GRASS GIS trac at osgeo.org
Wed Jun 19 07:57:32 PDT 2013


#2008: grass.script's find_program() can't find modules
-----------------------+----------------------------------------------------
  Reporter:  hamish    |       Owner:  grass-dev@…              
      Type:  defect    |      Status:  reopened                 
  Priority:  critical  |   Milestone:  6.4.4                    
 Component:  Python    |     Version:  svn-releasebranch64      
Resolution:            |    Keywords:  find_program()           
  Platform:  All       |         Cpu:  x86-64                   
-----------------------+----------------------------------------------------

Comment(by annakrat):

 Replying to [comment:10 annakrat]:
 > Replying to [comment:9 zarch]:
 > > Replying to [comment:8 annakrat]:
 > > > > http://hg.python.org/cpython/file/6860263c05b3/Lib/shutil.py#l1068
 > > >
 > > > The function from the link is more complicated, than
 > > > what you suggest above. Why not to use the official one?
 > >
 > > Yes, I completely agree, the official one is much more save and it is
 the one that we should use.
 > >
 > > My function was just a proof of concept and then I realize that the
 python developers already implemented it.
 >
 > What about the name? I suggest to keep the old one (find_program) but
 it's not strong opinion.

 ok, please test new implementation of find_program (see link above) r56800
 in grass 7. Changes applied also to addons (r56801).

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



More information about the grass-dev mailing list