qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.5k stars 2.99k forks source link

Adding TIN Interpolation to new Processing Modeler causes error #29467

Closed qgib closed 5 years ago

qgib commented 5 years ago

Author Name: Roy Kittrell (Roy Kittrell) Original Redmine Issue: 21651 Affected QGIS version: 3.6.0 Redmine category:processing/modeller


When I drag TIN Interpolation into a new Processing Modeler window; I get the following error every time:

An error has occurred while executing Python code:

NameError: name 'QgsDoubleSpinBox' is not defined Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\modeler\ModelerDialog.py", line 331, in _dropEvent self._addAlgorithm(alg, event.pos()) File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\modeler\ModelerDialog.py", line 798, in _addAlgorithm dlg = ModelerParametersDialog(alg, self.model) File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\modeler\ModelerParametersDialog.py", line 97, in init self.setupUi() File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\modeler\ModelerParametersDialog.py", line 173, in setupUi wrapper = WidgetWrapperFactory.create_wrapper(param, self) File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\wrappers.py", line 1837, in create_wrapper return WidgetWrapperFactory.create_wrapper_from_metadata(param, dialog, row, col) File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\wrappers.py", line 1871, in create_wrapper_from_metadata wrapper = wrapper(param, dialog, row, col, params) File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\algs\qgis\ui\InterpolationWidgets.py", line 356, in init super().init(param, dialog, row, col, kwargs) File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\wrappers.py", line 165, in init self.widget = self.createWidget(**kwargs) File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\algs\qgis\ui\InterpolationWidgets.py", line 366, in createWidget w = QgsDoubleSpinBox() NameError: name 'QgsDoubleSpinBox' is not defined

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] QGIS version: 3.6.0-Noosa Noosa, 58734527ab

Python Path: C:/Users/rkittrell/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python C:/Users/rkittrell/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/rkittrell/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins c:\bgitools\lib c:\bgitools\bin C:\Program Files\QGIS 3.6\bin\python37.zip C:\PROGRA~1\QGIS3~1.6\apps\Python37\DLLs C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib C:\Program Files\QGIS 3.6\bin C:\PROGRA~1\QGIS3~1.6\apps\Python37 C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib\site-packages C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib\site-packages\win32 C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib\site-packages\win32\lib C:\PROGRA~1\QGIS3~1.6\apps\Python37\lib\site-packages\Pythonwin C:/Users/rkittrell/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:\Users\rkittrell\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms C:\Users\rkittrell\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins . C:/Users/rkittrell/Dropbox/Bell Geospace/GIS/Timor Leste

qgib commented 5 years ago

Author Name: Nyall Dawson (@nyalldawson)


Fixed in master already