Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Error in sample model Multiply 2 layers #12

Open
pcav opened this issue Mar 10, 2015 · 3 comments
Open

Error in sample model Multiply 2 layers #12

pcav opened this issue Mar 10, 2015 · 3 comments

Comments

@pcav
Copy link
Member

pcav commented Mar 10, 2015

Traceback (most recent call last):
File
"/usr/share/qgis/python/plugins/processing/modeler/EditModelAction.py",
line 41, in execute
dlg = ModelerDialog(self.alg.getCopy())
File
"/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py",
line 190, in init
self.repaintModel()
File
"/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py",
line 350, in repaintModel
self.scene.paintModel(self.alg)
File
"/usr/share/qgis/python/plugins/processing/modeler/ModelerScene.py",
line 101, in paintModel
value = alg.params[parameter.name]
KeyError: 'GRIDS'

@borysiasty
Copy link
Member

Does this error occur in English localization, or in Italian only? I had a similar problem with the 'Models' branch in the Options dialog. The key is translatable, so there is a risk its both translations are not equal.

@pcav
Copy link
Member Author

pcav commented Mar 23, 2015

Confirmed both in IT and in EN. Thanks.

@pcav
Copy link
Member Author

pcav commented Apr 17, 2015

Rasterize and fill trhows a similar error when modifying it:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
File "/home/paolo/Scrivania/analisi/config/python/plugins/processing/modeler/EditModelAction.py", line 41, in execute
dlg = ModelerDialog(self.alg.getCopy())
File "/home/paolo/Scrivania/analisi/config/python/plugins/processing/modeler/ModelerDialog.py", line 190, in init
self.repaintModel()
File "/home/paolo/Scrivania/analisi/config/python/plugins/processing/modeler/ModelerDialog.py", line 350, in repaintModel
self.scene.paintModel(self.alg)
File "/home/paolo/Scrivania/analisi/config/python/plugins/processing/modeler/ModelerScene.py", line 101, in paintModel
value = alg.params[parameter.name]
KeyError: 'OUTPUT'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants