Bug report #10813

Multiline StringParameter in the new modeler

Added by Etienne Trimaille over 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Victor Olaya
Category:Processing/Core
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 #:19189

Description

Hi dev, while importing my alg with a multiline string parameter, I have :

Traceback (most recent call last):
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/ModelerDialog.py", line 401, in addAlgorithm
    self._addAlgorithm(alg.getCopy())
  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__
    self.setupUi()
  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 323, in getWidgetFromParameter
    item = MultilineTextPanel(strings, self.model)
  File "/home/etienne/.qgis2/python/plugins/processing/modeler/MultilineTextPanel.py", line 45, in __init__
    self.combo.addItem(option.name(), option)
TypeError: 'unicode' object is not callable

Thanks !

History

#1 Updated by Giovanni Manghi over 6 years ago

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

fixed here

#4df7b3464a8a1e1e40e199fad6994e98a2e7b825

#2 Updated by Giovanni Manghi over 5 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF