Error in decorrelation stretching

Issue #1012 closed
Agustin Lobo created an issue

2022-02-21T16:34:59 WARNING Traceback (most recent call last):
File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/dataviews/dockmanager.py", line 1550, in
action.triggered.connect(lambda: self.showDecorrelationStretchRendererDialog(lyr, canvas))
File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/dataviews/dockmanager.py", line 1643, in showDecorrelationStretchRendererDialog
widget = DecorrelationStretchRendererWidget(layer, canvas, parent=self.mDockTreeView)
File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/site-packages/typeguard/init.py", line 903, in wrapper
retval = func(*args, **kwargs)
File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapboxplugins/decorrelationstretchrenderer.py", line 128, in init
self.mRed.setLayer(1)
TypeError: QgsRasterBandComboBox.setLayer(): argument 1 has unexpected type 'int'

Version 3.10.20220201T092242.develop

Comments (1)

  1. Log in to comment