open Layer Properies crashes Python

Issue #1139 resolved
Andreas Rabe created an issue

Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 935, in createWidget
w = GDALMetadataModelConfigWidget(layer, canvas, parent=parent)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 688, in init
self.setLayer(layer)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 828, in setLayer
self.syncToLayer(layer)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 852, in syncToLayer
self.bandMetadataModel.setLayer(lyr)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 151, in setLayer
self.syncToLayer()
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\layerconfigwidgets\gdalmetadata.py", line 330, in syncToLayer
if not (a is None or b is None()) and math.isfinite(a) and math.isfinite(b):
TypeError: 'NoneType' object is not callable
Process finished with exit code -1073741819 (0xC0000005)

Comments (1)

  1. Log in to comment