Bug report #13587

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

Added by Paolo Cavallini about 9 years ago. Updated about 9 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/SAGA
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

Description

KeyError: None
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py", line 409, in addAlgorithm
self._addAlgorithm(alg.getCopy())
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
self.setupUi()
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 about 9 years ago

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

fixes #13587

History

#1 Updated by Paolo Cavallini about 9 years ago

Just activating the tool by double click triggers the issue.

#2 Updated by Victor Olaya about 9 years ago

  • Status changed from Open to Closed

#3 Updated by Paolo Cavallini about 9 years ago

Confirmed, it works, thanks!

Also available in: Atom PDF