- changed status to resolved
error in Decorrelation stretch renderer
Issue #967
resolved
Reported by @Agustin Lobo .
Version: 3.10.20220119T091443.develop
When I try (3.10.20220119T091443.develop), I get:
2022-02-01T18:04:24 WARNING Traceback (most recent call last):
File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/dataviews/dockmanager.py", line 1539, 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 1632, 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'
It happens if I have not “Multiband color” previously selected in Layer Properties/Band Rendering. It should be possible to
resolve this inconsistency just by selecting the bands in the DCS panel.
It happens if I have not “Multiband color” previously selected in Layer Properties/Band Rendering.
Comments (1)
-
reporter - Log in to comment
resolves
#967and#971→ <<cset 42a81f5f4439>>