<div dir="ltr"><div class="gmail_extra"><div>I confirm this. On the Advanced Interface, the "GRASS commands" all appear to be fine, but anything under "GRASS GIS 7 commands" fails with a wall of Python error:</div>

<div><br></div><div><blockquote 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" class="gmail_quote"><span style="color:rgb(255,0,0)">An error has occured while executing Python code:</span><br>

<span style="font-family:'Courier New,courier'">Traceback (most recent call last):<br></span><span style="font-family:'Courier New,courier'">  File "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py", line 181, in executeAlgorithm<br>

</span><span style="font-family:'Courier New,courier'">    message = alg.checkBeforeOpeningParametersDialog()<br></span><span style="font-family:'Courier New,courier'">  File "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 511, in checkBeforeOpeningParametersDialog<br>

</span><span style="font-family:'Courier New,courier'">    msg = Grass7Utils.checkGrass7IsInstalled()<br></span><span style="font-family:'Courier New,courier'">  File "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py", line 361, in checkGrass7IsInstalled<br>

</span><span style="font-family:'Courier New,courier'">    cmdpath = os.path.join(path, 'bin', 'r.out.gdal.exe')<br></span><span style="font-family:'Courier New,courier'">  File "C:\PROGRA~1\QGISCH~1\apps\Python27\lib\ntpath.py", line 96, in join<br>

</span><span style="font-family:'Courier New,courier'">    assert len(path) > 0<br></span><span style="font-family:'Courier New,courier'">TypeError: object of type 'NoneType' has no len()</span><br>

Python version:<br>2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]<br><br>QGIS version:<br>2.4.0-Chugiak Chugiak, 8fdd08a<br>Python path: ['C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\\processing', 'C:/PROGRA~1/QGISCH~1/apps/qgis/./python', u'C:/Users/jmou1/.qgis2/python', u'C:/Users/jmou1/.qgis2/python/plugins', 'C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\QGISCH~1\\bin\\python27.zip', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\QGISCH~1\\bin', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', 'C:\\PROGRA~1\\QGISCH~1\\apps\\qgis\\python\\plugins\\fTools\\tools']</blockquote>



<br></div><div><br></div><div>This is QGIS 2.4 64bit, Windows 7 64bit. Using the standalone installer package.</div><div><br></div><div>Cheers,</div><div>Jonathan</div><div><br></div>
<br><br><div class="gmail_quote">On 4 July 2014 18:24, mtreg <span dir="ltr"><<a href="mailto:mtreglia@gmail.com" target="_blank">mtreglia@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 All,<br>
<br>
I was trying to access some GRASS 7 functions through the Processing toolbox<br>
in QGIS 2.4 (32 bit), but none work (see error message below).  The other<br>
packages I've tied in the Processing toolbox seem to work fine. My machine<br>
is running Win7 64 bit. I've gotten this with versions installed from both<br>
OSGEO4W and the basic QGIS installer.  I've tried suggestions recommended in<br>
this bug report thread with no success: <a href="http://hub.qgis.org/issues/10714" target="_blank">http://hub.qgis.org/issues/10714</a><br>
<br>
Any suggestions or useful interpretations in of the error message?<br>
<br>
Thanks!<br>
Mike<br>
<br>
Here is the entirety of the error message that pops up:<br>
<br>
An error has occured while executing Python code:<br>
<br>
Traceback (most recent call last):<br>
  File<br>
"C:/OSGeo4W/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py",<br>
line 181, in executeAlgorithm<br>
    message = alg.checkBeforeOpeningParametersDialog()<br>
  File<br>
"C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py",<br>
line 511, in checkBeforeOpeningParametersDialog<br>
    msg = Grass7Utils.checkGrass7IsInstalled()<br>
  File<br>
"C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py",<br>
line 361, in checkGrass7IsInstalled<br>
    cmdpath = os.path.join(path, 'bin', 'r.out.gdal.exe')<br>
  File "C:\OSGeo4W\apps\Python27\lib\ntpath.py", line 96, in join<br>
    assert len(path) > 0<br>
TypeError: object of type 'NoneType' has no len()<br>
<br>
<br>
Python version:<br>
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]<br>
<br>
<br>
QGIS version:<br>
2.4.0-Chugiak Chugiak, 8fdd08a<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Problem-using-Grass-7-functions-in-Processing-Toolbox-tp5149668.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Problem-using-Grass-7-functions-in-Processing-Toolbox-tp5149668.html</a><br>


Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:Arial;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>