Bug report #15734
processing: graphical modeler broken under master
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Victor Olaya | ||
Category: | Processing/Core | ||
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 #: | 23656 |
Description
When trying to add any parameter to a new model, processing throws the following error:
TypeError: QGraphicsItem(parent: QGraphicsItem = None): too many arguments Traceback (most recent call last): File "/home/webmaster/dev/cpp/QGIS/bm-qt5/output/python/plugins/processing/modeler/ModelerDialog.py", line 385, in addInput self.addInputOfType(paramType) File "/home/webmaster/dev/cpp/QGIS/bm-qt5/output/python/plugins/processing/modeler/ModelerDialog.py", line 397, in addInputOfType self.repaintModel() File "/home/webmaster/dev/cpp/QGIS/bm-qt5/output/python/plugins/processing/modeler/ModelerDialog.py", line 379, in repaintModel self.scene.paintModel(self.alg) File "/home/webmaster/dev/cpp/QGIS/bm-qt5/output/python/plugins/processing/modeler/ModelerScene.py", line 85, in paintModel item = ModelerGraphicItem(inp, model) File "/home/webmaster/dev/cpp/QGIS/bm-qt5/output/python/plugins/processing/modeler/ModelerGraphicItem.py", line 46, in __init__ super(ModelerGraphicItem, self).__init__(None, None) TypeError: QGraphicsItem(parent: QGraphicsItem = None): too many arguments
History
#1 Updated by Mathieu Pellerin - nIRV almost 8 years ago
- Target version set to Version 3.0
#2 Updated by Mathieu Pellerin - nIRV almost 8 years ago
PR submitted (https://github.com/qgis/QGIS/pull/3651).
#3 Updated by Victor Olaya almost 8 years ago
- Status changed from Open to Closed
Fixed in changeset 81e86accc395b8fb93a73e666d9ac772bcdced7c.