Import profiles from Vector + Raster: 'dict_keys' object is not reversible
Issue #465
closed
When using import profiles from raster + vector it ends with a python error. Nonetheless the extract seems to work fine.
The shapefile used in this case also had points outside of the raster area (in case that matters).
An error has occurred while executing Python code:
TypeError: 'dict_keys' object is not reversible
Traceback (most recent call last):
File "C:/Users/thielf54/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\speclib\gui.py", line 2211, in
d.finished.connect(lambda *args, d=d: self.onIODialogFinished(d))
File "C:/Users/thielf54/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\speclib\gui.py", line 2223, in onIODialogFinished
self.mSpeclib.addProfiles(profiles, addMissingFields=w.allAttributes())
File "C:/Users/thielf54/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\speclib\core.py", line 2391, in addProfiles
fids_inserted = [MAP[k].id() for k in reversed(MAP.keys()) if k not in keysBefore]
TypeError: 'dict_keys' object is not reversible
Version 3.6.1.20200615T110448.TEST
Comments (6)
-
-
reporter No, 3.7
-
Ok, my fault. I used 3.8 when implementing this https://docs.python.org/3/whatsnew/3.8.html
-
-
-
- changed status to closed
- Log in to comment
You are using python 3.6, right?