- changed status to resolved
Error opening reclassify tool when layers are loaded in Data Sources
Issue #404
resolved
An error has occurred while executing Python code:
TypeError: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "C:\Users\ThinkPad\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps\reclassifyapp\enmapboxintegration.py", line 56, in startGUI
uiDialog = ui.ReclassifyDialog(self.enmapbox.ui)
File "C:\Users\ThinkPad\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps\reclassifyapp\reclassifydialog.py", line 45, in __init__
self.updateExceptedLayerList()
File "C:\Users\ThinkPad\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps\reclassifyapp\reclassifydialog.py", line 101, in updateExceptedLayerList
if len(cs) == 0:
TypeError: object of type 'NoneType' has no len()
## different variant
An error has occurred while executing Python code:
TypeError: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "C:\Users\ThinkPad\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps\reclassifyapp\reclassifydialog.py", line 101, in updateExceptedLayerList
if len(cs) == 0:
TypeError: object of type 'NoneType' has no len()
## different variant
An error has occurred while executing Python code:
TypeError: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "C:\Users\ThinkPad\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps\reclassifyapp\enmapboxintegration.py", line 56, in startGUI
uiDialog = ui.ReclassifyDialog(self.enmapbox.ui)
File "C:\Users\ThinkPad\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps\reclassifyapp\reclassifydialog.py", line 45, in __init__
self.updateExceptedLayerList()
File "C:\Users\ThinkPad\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps\reclassifyapp\reclassifydialog.py", line 101, in updateExceptedLayerList
if len(cs) == 0:
TypeError: object of type 'NoneType' has no len()
Version 3.6.20200402T180442.develop
Comments (2)
-
-
fixes
#404→ <<cset 415f334968a9>>
- Log in to comment
fixes
#404→ <<cset 415f334968a9>>