[Qgis-developer] Sample models broken

Victor Olaya volayaf at gmail.com
Mon Sep 28 03:01:32 PDT 2015


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 <cavallini at faunalia.it>:
> 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list