error when dropping a raster (e.g. enmap_berlin.bsq) from Windows Explorer onto the grey area (i.e. no map views opened)

Issue #321 closed
Andreas Janz created an issue

An error has occurred while executing Python code:

KeyError: None

Traceback (most recent call last):
  File "C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\dockmanager.py", line 1233, in 
    dockArea.sigDropEvent.connect(lambda event: self.onDockAreaDragDropEvent(dockArea, event))
  File "C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\dockmanager.py", line 1268, in onDockAreaDragDropEvent
    speclibs = extractSpectralLibraries(mimeData)
  File "C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\mimedata.py", line 254, in extractSpectralLibraries
    slib = SpectralLibrary.readFromMimeData(mimeData)
  File "C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\speclib\spectrallibraries.py", line 925, in readFromMimeData
    return CSVSpectralLibraryIO.fromString(txt)
  File "C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\speclib\csvdata.py", line 221, in fromString
    columnVectors[k].append(v)
KeyError: None

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.10.0-A Coruña A Coruña, 6c816b4204

Python Path:

  • C:/OSGEO4~1/apps/qgis/./python
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
  • C:/OSGEO4~1/apps/qgis/./python/plugins
  • C:\OSGEO4~1\bin\python37.zip
  • C:\OSGEO4~1\apps\Python37\DLLs
  • C:\OSGEO4~1\apps\Python37\lib
  • C:\OSGEO4~1\bin
  • C:\Users\janzandr\AppData\Roaming\Python\Python37\site-packages
  • C:\OSGEO4~1\apps\Python37
  • C:\OSGEO4~1\apps\Python37\lib\site-packages
  • C:\OSGEO4~1\apps\Python37\lib\site-packages\win32
  • C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib
  • C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin
  • C:\Users\janzandr\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages
  • C:\Users\janzandr\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox
  • C:\Users\janzandr\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\coreapps
  • C:\Users\janzandr\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps

Comments (1)

  1. Log in to comment