Bug report #13587

Processing: `Geoalgorithms/modeler/modeler-tools/calculator` fails

Added by Paolo Cavallini over 8 years ago. Updated over 8 years ago.

Assignee:Victor Olaya
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21629


KeyError: None
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py", line 409, in addAlgorithm
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py", line 412, in _addAlgorithm
dlg = alg.getCustomModelerParametersDialog(self.alg)
File "/usr/share/qgis/python/plugins/processing/modeler/CalculatorModelerAlgorithm.py", line 75, in getCustomModelerParametersDialog
return CalculatorModelerParametersDialog(self, modelAlg, algName)
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerParametersDialog.py", line 62, in init
File "/usr/share/qgis/python/plugins/processing/modeler/CalculatorModelerAlgorithm.py", line 104, in setupUi
alg = self.model.algs[self._algName]
KeyError: None

Versione Python: 2.7.10+ (default, Oct 10 2015, 09:11:24) [GCC 5.2.1 20151003]
Versione di QGIS: 2.11.0-Master Master, exported

Associated revisions

Revision c87646a9
Added by Victor Olaya over 8 years ago

[processing] fixed modeler calcualtor when opening dialog for the first time

fixes #13587


#1 Updated by Paolo Cavallini over 8 years ago

Just activating the tool by double click triggers the issue.

#2 Updated by Victor Olaya over 8 years ago

  • Status changed from Open to Closed

#3 Updated by Paolo Cavallini over 8 years ago

Confirmed, it works, thanks!

Also available in: Atom PDF