Hi devs,
I have a problem with the function shutil_which (core.py) on windows
with grass 7.0.1 installed using OSGeo4W.
The function return None for each module of GRASS, the problem seems
to me that C:\OSGeo4W\apps\grass\grass-7.0.1\bin is not in the path
variable
print gcore.shutil_which('r.mask')
['.', 'C:\\OSGeo4W\\apps\\qgis\\bin', 'C:\\OSGeo4W\\bin',
'C:\\Windows\\system32', 'C:\\Windows', 'C:\\Windows\\WBem',
'C:\\OSGeo4W\\apps\\msys\\bin',
'C:\\OSGeo4W\\apps\\Python27\\Scripts']
['r.mask.py', 'r.mask.COM', 'r.mask.EXE', 'r.mask.BAT', 'r.mask.CMD',
'r.mask.VBS', 'r.mask.VBE', 'r.mask.JS', 'r.mask.JSE', 'r.mask.WSF',
'r.mask.WSH', 'r.mask.MSC']
None
do you have any idea?
are you able to get this problem on windows?
(On Linux everything is working)
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
On Tue, Oct 13, 2015 at 5:48 AM, Luca Delucchi <lucadeluge@gmail.com> wrote:
Hi devs,
I have a problem with the function shutil_which (core.py) on windows
with grass 7.0.1 installed using OSGeo4W.
The function return None for each module of GRASS, the problem seems
to me that C:\OSGeo4W\apps\grass\grass-7.0.1\bin is not in the path
variable
>>> print gcore.shutil_which('r.mask')
['.', 'C:\\OSGeo4W\\apps\\qgis\\bin', 'C:\\OSGeo4W\\bin',
'C:\\Windows\\system32', 'C:\\Windows', 'C:\\Windows\\WBem',
'C:\\OSGeo4W\\apps\\msys\\bin',
'C:\\OSGeo4W\\apps\\Python27\\Scripts']
['r.mask.py', 'r.mask.COM', 'r.mask.EXE', 'r.mask.BAT', 'r.mask.CMD',
'r.mask.VBS', 'r.mask.VBE', 'r.mask.JS', 'r.mask.JSE', 'r.mask.WSF',
'r.mask.WSH', 'r.mask.MSC']
None
do you have any idea?
are you able to get this problem on windows?
In standalone wingrass, it is working for me, returns C:\Program Files
(x86)\GRASS GIS 7.1.svn\bin\r.mask.BAT. In OSGeo4W as
well: 'C:\\OSGeo4W\\apps\\grass\\grass-7.0.1\\bin\\r.mask.BAT'
(On Linux everything is working)
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev