-
assigned issue to
EnMAP-Box broken in QGIS 3.22
Issue #1022
on hold
While #1021 is blocking development in QGIS 3.24, I switched back to QGIS 3.22.
Here I get an error when starting the EnMAP-Box:
Traceback (most recent call last):
File "C:\QGIS3.22\apps\Python39\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "<input>", line 1, in <module>
File "D:\pycharm\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 198, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "D:\pycharm\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/source/QGISPlugIns/enmap-box/scripts/start_enmapbox.py", line 2, in <module>
from enmapbox import EnMAPBox, initAll
File "D:\pycharm\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\__init__.py", line 400, in <module>
from enmapbox.gui.enmapboxgui import EnMAPBox
File "D:\pycharm\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\__init__.py", line 6, in <module>
from ..qgispluginsupport.qps.speclib.gui.spectrallibrarywidget import SpectralLibraryWidget
File "D:\pycharm\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\speclib\gui\spectrallibrarywidget.py", line 19, in <module>
from .spectralprocessingdialog import SpectralProcessingDialog
File "D:\pycharm\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\qgispluginsupport\qps\speclib\gui\spectralprocessingdialog.py", line 5, in <module>
from processing import createContext
ImportError: cannot import name 'createContext' from 'processing' (C:\QGIS3.22\apps\qgis-ltr\python\qgis\processing\__init__.py)
Comments (7)
-
reporter -
reporter @Benjamin Jakimow please avoid critical global imports and make them local. For now it is important, that QGIS 3.22 is still working.
-
QGIS 3.24 is the current QGIS release, so this should work now fine. Please check and close this issue if appropriate
-
reporter You mean, we don’t support QGIS 3.22, right? Or what should I check?
-
AFAIK a team decission on that is still waiting.
-
reporter Please check and close this issue if appropriate
I don’t get it. What should I check?
Should I check if the Box runs in QGIS 3.22, or what?
-
- changed status to on hold
on hold until time decission is made on support for QGIS 3.22
- Log in to comment