Bug report #21578
Model builder "TIN interpolation" python error NameError: name 'QgsDoubleSpinBox' is not defined
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Nyall Dawson | ||
Category: | Processing/Modeller | ||
Affected QGIS version: | 3.6.0 | Regression?: | No |
Operating System: | Linux Mint 19.1 Tessa | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 29394 |
Description
In the model builder, if I search for "tin interpolation" and double click on "Interpolation > TIN interpolation" I get the python error below:
2019-03-13T15:53:49 WARNING Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py", line 795, in addAlgorithm
self._addAlgorithm(alg)
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py", line 798, in addAlgorithm
dlg = ModelerParametersDialog(alg, self.model)
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerParametersDialog.py", line 97, in init
self.setupUi()
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerParametersDialog.py", line 173, in setupUi
wrapper = WidgetWrapperFactory.create_wrapper(param, self)
File "/usr/share/qgis/python/plugins/processing/gui/wrappers.py", line 1837, in create_wrapper
return WidgetWrapperFactory.create_wrapper_from_metadata(param, dialog, row, col)
File "/usr/share/qgis/python/plugins/processing/gui/wrappers.py", line 1871, in create_wrapper_from_metadata
wrapper = wrapper(param, dialog, row, col, *params)
File "/usr/share/qgis/python/plugins/processing/algs/qgis/ui/InterpolationWidgets.py", line 356, in init
super()._init__(param, dialog, row, col, **kwargs)
File "/usr/share/qgis/python/plugins/processing/gui/wrappers.py", line 165, in init
self.widget = self.createWidget(*kwargs)
File "/usr/share/qgis/python/plugins/processing/algs/qgis/ui/InterpolationWidgets.py", line 366, in createWidget
w = QgsDoubleSpinBox()
NameError: name 'QgsDoubleSpinBox' is not defined
Associated revisions
[processing] Fix exception in IDW interpolation
Fixes #21578
[processing] Fix exception in IDW interpolation
Fixes #21578
[processing] Fix exception in IDW interpolation
Fixes #21578
[processing] Fix exception in IDW interpolation
Fixes #21578
[processing] Fix exception in IDW interpolation
Fixes #21578
[processing] Fix exception in IDW interpolation
Fixes #21578
History
#1 Updated by Giovanni Manghi over 5 years ago
Confirmed here.
#2 Updated by Nyall Dawson over 5 years ago
- Assignee set to Nyall Dawson
- Status changed from Open to In Progress
#3 Updated by Nyall Dawson over 5 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
Applied in changeset qgis|c24f51ece807f832a2f86fddc9826df89888661f.