I recently updated to QGIS version 2.2, and am now getting an error when running Processing scripts that worked previously (in version 2.0.1).
Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "C:/PROGRA~1/QGISVA~1/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 202, in execute
self.processAlgorithm(progress)
File "C:/PROGRA~1/QGISVA~1/apps/qgis/./python/plugins\processing\script\ScriptAlgorithm.py", line 252, in processAlgorithm
exec script in ns
File "<string>", line 25, in <module>
AttributeError: 'module' object has no attribute 'getobject'
I believe it's this line of code causing the error, but i'm not sure how to modify it to work with QGIS 2.2:
indivLayer = processing.getobject(Couche_compteurs_individuels)