https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-05-22T03:28:37ZQGIS Issue TrackingQGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=613262015-05-22T03:28:37ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li><li><strong>Category</strong> set to <i>Processing/Core</i></li><li><strong>Assignee</strong> set to <i>Victor Olaya</i></li><li><strong>Target version</strong> set to <i>Future Release - High Priority</i></li><li><strong>Affected QGIS version</strong> changed from <i>2.8.2</i> to <i>master</i></li></ul><p>I confirm the issue on qgis master.</p>
<p>you can probably get rid of the issue my not upgrading the processing plugin or if you already did it by removing the "processing" folder you find it in .qgis2/python/plugins</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=613352015-05-22T04:30:21ZLucy Arnold
<ul></ul><p>Removed "processing" folder from stated location and all is good, thanks.</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=613412015-05-22T05:14:33ZVictor Olayavolayaf@gmail.com
<ul></ul><p>this was fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/4d62566db702843f78154e76d0d3bc3e65c8556c" title="[processing] fixed ‘add script from file’ tool">4d62566db702843f78154e76d0d3bc3e65c8556c</a></p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=613422015-05-22T05:49:46ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=614512015-05-26T04:34:42ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>The problem is still there in the latest update to the processing plugin.</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=614722015-05-26T10:15:02ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> deleted (<del><i>fixed/implemented</i></del>)</li><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Feedback</i></li></ul><p>Saber Razmjooei wrote:</p>
<blockquote>
<p>The problem is still there in the latest update to the processing plugin.</p>
</blockquote>
<p>Saber, it works fine here. What script file did you tested?</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=614902015-05-26T12:19:50ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul></ul><p>Gio, it comes up with a python error as soon as I try to load a file.</p>
<p>An error has occured while executing Python code:</p>
<p>Traceback (most recent call last):<br /> File "C:/Users/Saber/.qgis2/python/plugins\\processing\\gui\\ProcessingToolbox.py", line 219, in executeAlgorithm<br /> action.execute()<br /> File "C:/Users/Saber/.qgis2/python/plugins\\processing\\script\\AddScriptFromFileAction.py", line 45, in execute<br /> settings = QSettings()<br />NameError: global name 'QSettings' is not defined</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=614912015-05-26T12:22:36ZJürgen Fischerjef@norbit.de
<ul></ul><p>Saber Razmjooei wrote:</p>
<blockquote>
<p>Gio, it comes up with a python error as soon as I try to load a file.</p>
<p>An error has occured while executing Python code:</p>
<p>Traceback (most recent call last):<br />File "C:/Users/Saber/.qgis2/python/plugins\\processing\\gui\\ProcessingToolbox.py", line 219, in executeAlgorithm<br />action.execute()<br />File "C:/Users/Saber/.qgis2/python/plugins\\processing\\script\\AddScriptFromFileAction.py", line 45, in execute<br />settings = QSettings()<br />NameError: global name 'QSettings' is not defined</p>
</blockquote>
<p>Is it fixed in the <code>processing</code> shipped with QGIS?</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=614922015-05-26T12:27:54ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul><li><strong>Affected QGIS version</strong> changed from <i>master</i> to <i>2.8.2</i></li></ul><p>Works fine in master and 2.8.1 but not 2.8.2.</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=614982015-05-26T21:48:14ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><blockquote>
<p>Is it fixed in the <code>processing</code> shipped with QGIS?</p>
</blockquote>
<p>it is fixed in qgis master (I confirmed Saber observation that with Processing shipped with 2.8.2 does not work). We usually close tickets with issues fixed in master, please reopen if necessary.</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=615932015-05-29T05:40:02Zstefano campusskampus@gmail.com
<ul></ul><p>i still have this error in master (2.9.0-Master Revisione codice QGIS 7db5272)</p>
<p>s.</p> QGIS Application - Bug report #12809: Add New Script from File has Python Errorhttps://issues.qgis.org/issues/12809?journal_id=615952015-05-29T05:45:01ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>stefano campus wrote:</p>
<blockquote>
<p>i still have this error in master (2.9.0-Master Revisione codice QGIS 7db5272)</p>
<p>s.</p>
</blockquote>
<p>please attach the script.</p>