[GRASS-user] Error in pansharp tool: missing grass.script

Andrea Peri aperi2007 at gmail.com
Thu Jun 25 14:40:28 PDT 2015


I report the last tests:

2015-06-25 15:15 GMT+02:00 Vaclav Petras <wenzeslaus at gmail.com>:
>
>
> /usr/bin/env python -c "import sys; print(sys.path)"
>

~$ /usr/bin/env python -c "import sys; print(sys.path)"
['', '/usr/local/lib/python2.7/dist-packages/GDAL-2.0.0-py2.7-linux-x86_64.egg',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']

I use the panshapen tools outside from grass.
I set all the Grass env vars  and call the grass tools.
Is this a wrong use ?

I choose this solution because need to write a batch to process
periodically from a cron .

A.

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the grass-user mailing list