- changed status to resolved
problem with QPS LayerConfigWidget
Issue #1367
resolved
How to reproduce:
- open QGIS
- open EnMap_User_Products_20220223_L1B_L1C_L2A\L2A\ENMAP01-____L2A-DT0000098614_20170626T102025Z_002_V000500_20220222T134418Z-SPECTRAL_IMAGE.TIF testdata from SAN_Enmap
- open layer properties
- click “Apply”
An error has occurred while executing Python code:
TypeError: in method 'MajorObject_SetDescription', argument 2 of type 'char const *'
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 1167, in apply
self.bandMetadataModel.applyToLayer()
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 429, in applyToLayer
band.SetDescription(name)
File "C:\QGIS\apps\Python39\lib\site-packages\GDAL-3.4.3-py3.9-win-amd64.egg\osgeo\gdal.py", line 1860, in SetDescription
return _gdal.MajorObject_SetDescription(self, *args)
TypeError: in method 'MajorObject_SetDescription', argument 2 of type 'char const *'
Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS version: 3.24.2-Tisler Tisler, 13c1a02865
Python Path:
C:/QGIS/apps/qgis/./python
C:/Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python
D:\source\QGISPlugIns
C:/Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins
C:/QGIS/apps/qgis/./python/plugins
C:\QGIS\bin\python39.zip
C:\QGIS\apps\Python39\DLLs
C:\QGIS\apps\Python39\lib
C:\QGIS\bin
C:\Users\Andreas\AppData\Roaming\Python\Python39\site-packages
C:\QGIS\apps\Python39
C:\QGIS\apps\Python39\lib\site-packages
C:\QGIS\apps\Python39\lib\site-packages\GDAL-3.4.3-py3.9-win-amd64.egg
C:\QGIS\apps\Python39\lib\site-packages\win32
C:\QGIS\apps\Python39\lib\site-packages\win32\lib
C:\QGIS\apps\Python39\lib\site-packages\Pythonwin
C:/Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\ee_plugin\extlibs_windows
D:\source\QGISPlugIns\enmap-box\site-packages
D:\source\QGISPlugIns\enmap-box
D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\pyqtgraph
D:\source\QGISPlugIns\enmap-box\enmapbox\site-packages
D:\source\QGISPlugIns\enmap-box\enmapbox\apps
D:\source\QGISPlugIns\enmap-box\enmapbox\coreapps
.
C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\timeseriesviewerplugin
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin\eotimeseriesviewer
C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\vrtbuilderplugin
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\vrtbuilderplugin\vrtbuilder
Comments (1)
-
- Log in to comment
created doc/snippets to prepare screenshots resolves
#1367Signed-off-by: jakimowb benjamin.jakimow@geo.hu-berlin.de
→ <<cset 5be64f864e92>>