<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 5:48 AM, Luca Delucchi <span dir="ltr"><<a href="mailto:lucadeluge@gmail.com" target="_blank">lucadeluge@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi devs,<br>
<br>
I have a problem with the function shutil_which (core.py) on windows<br>
with grass 7.0.1 installed using OSGeo4W. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
The function return None for each module of GRASS, the problem seems<br>
to me that  C:\OSGeo4W\apps\grass\grass-7.0.1\bin is not in the path<br>
variable<br>
<br>
>>> print gcore.shutil_which('r.mask')<br>
['.', 'C:\\OSGeo4W\\apps\\qgis\\bin', 'C:\\OSGeo4W\\bin',<br>
'C:\\Windows\\system32', 'C:\\Windows', 'C:\\Windows\\WBem',<br>
'C:\\OSGeo4W\\apps\\msys\\bin',<br>
'C:\\OSGeo4W\\apps\\Python27\\Scripts']<br>
['<a href="http://r.mask.py" rel="noreferrer" target="_blank">r.mask.py</a>', '<a href="http://r.mask.COM" rel="noreferrer" target="_blank">r.mask.COM</a>', 'r.mask.EXE', 'r.mask.BAT', 'r.mask.CMD',<br>
'r.mask.VBS', 'r.mask.VBE', 'r.mask.JS', 'r.mask.JSE', 'r.mask.WSF',<br>
'r.mask.WSH', 'r.mask.MSC']<br>
None<br>
<br>
do you have any idea?<br>
are you able to get this problem on windows?<br></blockquote><div><br></div><div>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'</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
(On Linux everything is working)<br>
<span class=""><font color="#888888"><br>
--<br>
ciao<br>
Luca<br>
<br>
<a href="http://gis.cri.fmach.it/delucchi/" rel="noreferrer" target="_blank">http://gis.cri.fmach.it/delucchi/</a><br>
<a href="http://www.lucadelu.org" rel="noreferrer" target="_blank">www.lucadelu.org</a><br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></font></span></blockquote></div><br></div></div>