- changed version to 3.9
Problems when importing spectral library from folder (3.9 RC1)
Issue #733
resolved
Importing spectral library from folder does not work. Spectra are not shown in library viewer
AttributeError: 'QgsExpressionContext' object has no attribute 'setFeedback'
Traceback (most recent call last):
File "C:/Users/PC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\speclib\gui\spectrallibrarywidget.py", line 467, in onImportProfiles
SpectralLibraryImportDialog.importProfiles(self.speclib(), parent=self)
File "C:/Users/PC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\speclib\core\spectrallibraryio.py", line 342, in importProfiles
context.setFeedback(feedback)
AttributeError: 'QgsExpressionContext' object has no attribute 'setFeedback'
Python-Version: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 15:37:01) [MSC v.1916 64 bit (AMD64)]
QGIS-Version: 3.18.2-Zürich Zürich, exported
Comments (11)
-
-
-
assigned issue to
-
assigned issue to
-
@Henkrike how did you do the import? E.g. by drag and drop, other menu option?
-
reporter Menu option via “importing spectral profiles” → didn’t work for both, geopackage & Envi spectral library
-
Henrike, can you please share a screenshot. I also don’t understand what you did.
-
Got it! Issue confirmed on the current dev version.
-
reporter - edited description
-
reporter Jep, sorry for the confusion.
-
setFeedback became available with 3.20
https://qgis.org/pyqgis/master/core/QgsExpressionContext.html#qgis.core.QgsExpressionContext.setFeedback
for 3.18 I need to remove it -
- changed status to resolved
resolves
#733→ <<cset dde76921e05f>>
-
resolves
#733→ <<cset dde76921e05f>>
- Log in to comment