Bug report #10792

Add an alg in the new modeler with a ParameterFile

Added by Etienne Trimaille almost 10 years ago. Updated almost 9 years ago.

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


In the new modeler, I can't add an algo with a ParameterFile :

Traceback (most recent call last):
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/ModelerDialog.py", line 87, in _dropEvent
    self._addAlgorithm(alg.getCopy(), event.pos())
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/ModelerDialog.py", line 406, in _addAlgorithm
    dlg = ModelerParametersDialog(alg, self.alg)
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/ModelerParametersDialog.py", line 81, in __init__
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/ModelerParametersDialog.py", line 135, in setupUi
    widget = self.getWidgetFromParameter(param)
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/ModelerParametersDialog.py", line 359, in getWidgetFromParameter
    files = self.getFiles()
AttributeError: 'ModelerParametersDialog' object has no attribute 'getFiles'


#1 Updated by Giovanni Manghi almost 10 years ago

  • Priority changed from Normal to Severe/Regression

#2 Updated by Giovanni Manghi almost 10 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

fixed here


#3 Updated by Giovanni Manghi almost 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF