Re: [Qgis-developer] Sample models broken
Il 28/09/2015 14:30, Anita Graser ha scritto: > Hi, > I'll put that on my list for the dev meeting in case this hasn't been > solved by then. Thanks, I can help if useful. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Sample models broken
Hi, I'll put that on my list for the dev meeting in case this hasn't been solved by then. Best wishes Anita On Sep 28, 2015 2:08 PM, "Paolo Cavallini" wrote: > Yes, exactly. > Thanks. > > Il 28 settembre 2015 12:01:32 CEST, Victor Olaya ha > scritto: >> >> When you say sample models you mean the ones in the online github >> collection? That repo needs a bit of love, i guess... Anita proposed >> separating them in folders indicating which version they work on. It's >> a good idea, but I have to find some time to implement it and curate >> the collection of scripts and models a bit... >> >> >> >> 2015-09-28 11:50 GMT+02:00 Paolo Cavallini : >> >>> Hi all, >>> with current qgis stable (2.10), sample Processing models fail wit the >>> error below. Should I open a ticket? >>> All the best. >>> === >>> Errore durante l'esecuzione di codice Python: >>> >>> >>> Traceback (most recent call last): >>>File >>> "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", >>> line 201, in >>> executeAlgorithm >>> alg = alg.getCopy() >>>File >>> "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", >>> line 169, in getCopy >>> newone.defineCharacteristics() >>>File >>> "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", >>> line 208, in defineCharacteristics >>> modelOutput = copy.deepcopy(alg.algorithm.getOutputFromName(out)) >>>File >>> "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", >>> line 110, in algorithm >>> self._algInstance = >>> ModelerUtils.getAlgorithm(self.consoleName).getCopy() >>> AttributeError: 'NoneType' object has no attribute 'getCopy' >>> -- >>> Paolo Cavallini - www.faunalia.eu >>> QGIS & PostGIS courses: http://www.faunalia.eu/training.html >>> -- >>> >>> Qgis-developer mailing list >>> Qgis-developer@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >>> >> > -- > Paolo Cavallini > http://www.faunalia.eu > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer > ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Sample models broken
Yes, exactly. Thanks. Il 28 settembre 2015 12:01:32 CEST, Victor Olaya ha scritto: >When you say sample models you mean the ones in the online github >collection? That repo needs a bit of love, i guess... Anita proposed >separating them in folders indicating which version they work on. It's >a good idea, but I have to find some time to implement it and curate >the collection of scripts and models a bit... > > > >2015-09-28 11:50 GMT+02:00 Paolo Cavallini : >> Hi all, >> with current qgis stable (2.10), sample Processing models fail wit >the >> error below. Should I open a ticket? >> All the best. >> === >> Errore durante l'esecuzione di codice Python: >> >> >> Traceback (most recent call last): >> File >> "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", >> line 201, in executeAlgorithm >> alg = alg.getCopy() >> File >> >"/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", >> line 169, in getCopy >> newone.defineCharacteristics() >> File >> >"/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", >> line 208, in defineCharacteristics >> modelOutput = copy.deepcopy(alg.algorithm.getOutputFromName(out)) >> File >> >"/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", >> line 110, in algorithm >> self._algInstance = >> ModelerUtils.getAlgorithm(self.consoleName).getCopy() >> AttributeError: 'NoneType' object has no attribute 'getCopy' >> -- >> Paolo Cavallini - www.faunalia.eu >> QGIS & PostGIS courses: http://www.faunalia.eu/training.html >> ___ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Paolo Cavallini http://www.faunalia.eu___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Sample models broken
When you say sample models you mean the ones in the online github collection? That repo needs a bit of love, i guess... Anita proposed separating them in folders indicating which version they work on. It's a good idea, but I have to find some time to implement it and curate the collection of scripts and models a bit... 2015-09-28 11:50 GMT+02:00 Paolo Cavallini : > Hi all, > with current qgis stable (2.10), sample Processing models fail wit the > error below. Should I open a ticket? > All the best. > === > Errore durante l'esecuzione di codice Python: > > > Traceback (most recent call last): > File > "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", > line 201, in executeAlgorithm > alg = alg.getCopy() > File > "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", > line 169, in getCopy > newone.defineCharacteristics() > File > "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", > line 208, in defineCharacteristics > modelOutput = copy.deepcopy(alg.algorithm.getOutputFromName(out)) > File > "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", > line 110, in algorithm > self._algInstance = > ModelerUtils.getAlgorithm(self.consoleName).getCopy() > AttributeError: 'NoneType' object has no attribute 'getCopy' > -- > Paolo Cavallini - www.faunalia.eu > QGIS & PostGIS courses: http://www.faunalia.eu/training.html > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Sample models broken
Hi all, with current qgis stable (2.10), sample Processing models fail wit the error below. Should I open a ticket? All the best. === Errore durante l'esecuzione di codice Python: Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 201, in executeAlgorithm alg = alg.getCopy() File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 169, in getCopy newone.defineCharacteristics() File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 208, in defineCharacteristics modelOutput = copy.deepcopy(alg.algorithm.getOutputFromName(out)) File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 110, in algorithm self._algInstance = ModelerUtils.getAlgorithm(self.consoleName).getCopy() AttributeError: 'NoneType' object has no attribute 'getCopy' -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer