https://issues.qgis.org/https://issues.qgis.org/favicon.ico2016-06-13T10:12:07ZQGIS Issue TrackingQGIS Application - Bug report #14719: GRASS 7 algorithms does not work in the graphical modeller (python error)https://issues.qgis.org/issues/14719?journal_id=708362016-06-13T10:12:07ZJames Stottjamesstott1@gmail.com
<ul></ul><p>I have exactly the same problem trying to run a Grass 7 algorithm (v.voronoi) on Ubuntu Gnome using QGIS 2.14.3. I get the error when trying to run the model, while the algorithms run from the processing toolbox.</p>
<p>Model works fine on my work Windows 10 work computer.</p>
<p>An error has occurred while executing Python code:</p>
<p>TypeError: object.__new__(NotImplementedType) is not safe, use NotImplementedType.__new__() <br />Traceback (most recent call last):<br /> File "/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py", line 247, in runModel<br /> alg = self.alg.getCopy()<br /> File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 201, in getCopy<br /> newone.algs = copy.deepcopy(self.algs)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 257, in <em>deepcopy_dict<br /> y[deepcopy(key, memo)] = deepcopy(value, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst<br /> state = deepcopy(state, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict<br /> y[deepcopy(key, memo)] = deepcopy(value, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst<br /> state = deepcopy(state, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict<br /> y[deepcopy(key, memo)] = deepcopy(value, memo)<br /> File "/usr/lib/python2.7/copy.py", line 190, in deepcopy<br /> y = _reconstruct(x, rv, 1, memo)<br /> File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct<br /> state = deepcopy(state, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict<br /> y[deepcopy(key, memo)] = deepcopy(value, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 230, in _deepcopy_list<br /> y.append(deepcopy(a, memo))<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst<br /> state = deepcopy(state, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict<br /> y[deepcopy(key, memo)] = deepcopy(value, memo)<br /> File "/usr/lib/python2.7/copy.py", line 190, in deepcopy<br /> y = _reconstruct(x, rv, 1, memo)<br /> File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct<br /> state = deepcopy(state, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict<br /> y[deepcopy(key, memo)] = deepcopy(value, memo)<br /> File "/usr/lib/python2.7/copy.py", line 163, in deepcopy<br /> y = copier(x, memo)<br /> File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict<br /> y[deepcopy(key, memo)] = deepcopy(value, memo)<br /> File "/usr/lib/python2.7/copy.py", line 190, in deepcopy<br /> y = _reconstruct(x, rv, 1, memo)<br /> File "/usr/lib/python2.7/copy.py", line 329, in _reconstruct<br /> y = callable(*args)<br /> File "/usr/lib/python2.7/copy_reg.py", line 93, in <i>newobj</i><br /> return cls.</em>_new__(cls, *args)<br />TypeError: object.__new__(NotImplementedType) is not safe, use NotImplementedType.__new__()</p>
<p>Python-versjon: 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] <br />QGIS-versjon: 2.14.3-Essen Essen, exported</p>
<p>Python-sti:<br />/usr/share/qgis/python/plugins/processing<br />/home/james/.qgis2/python/plugins/ScipyPointClustering<br />/usr/share/qgis/python<br />/home/james/.qgis2/python<br />/home/james/.qgis2/python/plugins<br />/usr/share/qgis/python/plugins<br />/usr/lib/python2.7<br />/usr/lib/python2.7/plat-x86_64-linux-gnu<br />/usr/lib/python2.7/lib-tk<br />/usr/lib/python2.7/lib-old<br />/usr/lib/python2.7/lib-dynload<br />/usr/local/lib/python2.7/dist-packages<br />/usr/lib/python2.7/dist-packages<br />/usr/lib/python2.7/dist-packages/PILcompat<br />/usr/lib/python2.7/dist-packages/gtk-2.0<br />/usr/lib/python2.7/dist-packages/ubuntu-sso-client<br />/usr/lib/python2.7/dist-packages/wx-3.0-gtk2<br />/home/james/.qgis2//python<br />/home/james/.qgis2/python/plugins/mmqgis/forms<br />/usr/share/qgis/python/plugins/fTools/tools<br />/home/james/testing/model</p> QGIS Application - Bug report #14719: GRASS 7 algorithms does not work in the graphical modeller (python error)https://issues.qgis.org/issues/14719?journal_id=719862016-07-25T07:20:56ZBernd Vogelgesang
<ul></ul><p>Same effect here on a model with Linux Mint I created and successfully ran with 2.14. After upgrading to 2.16, it shows the same errors as above.</p> QGIS Application - Bug report #14719: GRASS 7 algorithms does not work in the graphical modeller (python error)https://issues.qgis.org/issues/14719?journal_id=778432017-04-30T23:05:47ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Easy fix?</strong> set to <i>No</i></li><li><strong>Regression?</strong> set to <i>No</i></li></ul> QGIS Application - Bug report #14719: GRASS 7 algorithms does not work in the graphical modeller (python error)https://issues.qgis.org/issues/14719?journal_id=842152017-11-09T12:57:45ZEmilio Gomez
<ul></ul><p>The same problem with a model created and executed in QGIS 2.16 in Kubuntu 16.04 Xenial. <br />It works well from processing toolbox but produces this error if the model is executed from modeler dialog.</p>
<p>If the GRASS 7 algorithm (v.clean) is removed from the model, the error does not occur.</p> QGIS Application - Bug report #14719: GRASS 7 algorithms does not work in the graphical modeller (python error)https://issues.qgis.org/issues/14719?journal_id=843122017-11-13T10:27:10ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Description</strong> updated (<a href="/journals/diff/84312?detail_id=73004" title="View differences">diff</a>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Emilio Gomez wrote:</p>
<blockquote>
<p>The same problem with a model created and executed in QGIS 2.16 in Kubuntu 16.04 Xenial. <br />It works well from processing toolbox but produces this error if the model is executed from modeler dialog.</p>
<p>If the GRASS 7 algorithm (v.clean) is removed from the model, the error does not occur.</p>
</blockquote>
<p>please try again with 2.81.14 (be also sure to not have any "processing" folder in ~/.qgis2/python/plugins) then report back. Thanks!</p> QGIS Application - Bug report #14719: GRASS 7 algorithms does not work in the graphical modeller (python error)https://issues.qgis.org/issues/14719?journal_id=864672018-02-02T08:07:18ZAlexander Bruy
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>Closed for the lack of feedback. Please reopen if necessary.</p> QGIS Application - Bug report #14719: GRASS 7 algorithms does not work in the graphical modeller (python error)https://issues.qgis.org/issues/14719?journal_id=870652018-02-22T08:16:35ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>not reproducable</i></li></ul>