[GRASS-user] Feedback g.extension module on grass7.0

Patrick_schirmer patrick_GIS at gmx.ch
Wed Nov 24 03:54:56 EST 2010


Dear list,

After some disappointing experience concerning the installation of 
existing add-ons (for 65 and 70) under Grass6.4, I decided to give 
Grass7.0 a try.

After the installation process I tried to use g.extension. It will did 
not work for me and with the help of a college I found the reason. For 
module g.extension  "def check()" in the python skript has to be changed 
in line "if not grass.find_program". Otherwise the reply when calling 
g.extension will always be grass.fatal ('2svn client requiered...'). My 
college updated the wikipage on this issue already but eventually you 
might want to countercheck as well.

Installation is on Ubuntu10.04 (lucid lynx)

/def check():
     # check if we have the svn client
     if not grass.find_program_('svn', ['help']):_
         grass.fatal(_('svn client required. Please install subversion 
first.'))
     # probably test here if we have "make" and "install" programs as 
well. how about gcc?/

greetz, Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101124/1cdb0432/attachment.html


More information about the grass-user mailing list