On Sat, Dec 19, 2015 at 2:41 PM, Panagiotis Mavrogiorgos <[email protected]> wrote:
> 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? Vaclav > The addon was installed using g.extension > > with kind regards, > Panos > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
