[GRASS-user] Addon installation without explicitly starting GRASS
wenzeslaus at gmail.com
Tue Dec 22 07:53:49 PST 2015
On Sat, Dec 19, 2015 at 2:41 PM, Panagiotis Mavrogiorgos <pmav99 at gmail.com>
> Hi everyone,
> I am trying to run a script that uses a GRASS addon (r.damflood) without
> explicitly starting GRASS. Unfortunately GRASS couldn't find the addon.
> After I added "~/.grass7/addons/bin" to PATH the script run without
> problems. Is there any reason why grass.script.init() only adds
> <https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/script/setup.py#L165> "~/.grass7/addons/script"
> to the path?
Hi, this looks like a bug. Looking at he source code, I don't understand
why there is a special condition for Windows. Are you willing and able to
explore this more on different platforms and submit an issue with a patch?
> The addon was installed using g.extension
> with kind regards,
> grass-user mailing list
> grass-user at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user