Problems when importing spectral library from folder (3.9 RC1)

Issue #733 resolved
Henrike Dierkes created an issue

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)

  1. Henrike Dierkes reporter

    Menu option via “importing spectral profiles” → didn’t work for both, geopackage & Envi spectral library

  2. Log in to comment