Opened 3 years ago
Closed 3 years ago
#742 closed defect (fixed)
qgis-dev-full: Couldn't load plugin 'processing' - Couldn't load plugin 'grassprovider'
Reported by: | andreaerdna | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | Keywords: | ||
Cc: |
Description
Launching QGIS Desktop 3.25.0 (Nigthly) (after installing qgis-dev-full 3.25.0-232-5e142c8933-1 with all the dependent packages) the Processing and the GRASS Provider plugins cannot work and the following errors are displayed and reported in the Log Messages Panel:
2022-05-09T15:20:43 WARNING Python error : Couldn't load plugin 'grassprovider' due to an error when calling its classFactory() method See message log (Python Error) for more details. 2022-05-09T15:20:45 WARNING Python error : Couldn't load plugin 'processing' See message log (Python Error) for more details. 2022-05-09T15:20:43 CRITICAL Traceback (most recent call last): File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 30, in swig_import_helper return importlib.import_module(mname) File "C:\OSA194~1\apps\Python39\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 666, in _load_unlocked File "", line 565, in module_from_spec File "", line 1173, in create_module File "", line 228, in _call_with_frames_removed ImportError: DLL load failed while importing _gdal: Impossibile trovare il modulo specificato. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\grassprovider\__init__.py", line 26, in classFactory from grassprovider.GrassProviderPlugin import GrassProviderPlugin File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\grassprovider\GrassProviderPlugin.py", line 28, in from grassprovider.Grass7AlgorithmProvider import Grass7AlgorithmProvider File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\grassprovider\Grass7AlgorithmProvider.py", line 33, in from processing.core.ProcessingConfig import (ProcessingConfig, Setting) File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\__init__.py", line 26, in from processing.tools.general import * # NOQA File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\tools\general.py", line 32, in from processing.core.Processing import Processing File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\core\Processing.py", line 58, in from processing.algs.qgis.QgisAlgorithmProvider import QgisAlgorithmProvider # NOQA File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\algs\qgis\QgisAlgorithmProvider.py", line 49, in from .HypsometricCurves import HypsometricCurves File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\algs\qgis\HypsometricCurves.py", line 27, in from osgeo import gdal, ogr, osr File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 46, in _gdal = swig_import_helper() File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 42, in swig_import_helper raise ImportError(traceback_string + '\n' + msg) ImportError: Traceback (most recent call last): File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 30, in swig_import_helper return importlib.import_module(mname) File "C:\OSA194~1\apps\Python39\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 666, in _load_unlocked File "", line 565, in module_from_spec File "", line 1173, in create_module File "", line 228, in _call_with_frames_removed ImportError: DLL load failed while importing _gdal: Impossibile trovare il modulo specificato. On Windows, with Python >= 3.8, DLLs are no longer imported from the PATH. If gdalXXX.dll is in the PATH, then set the USE_PATH_FOR_GDAL_PYTHON=YES environment variable to feed the PATH into os.add_dll_directory(). 2022-05-09T15:20:45 CRITICAL Traceback (most recent call last): File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 30, in swig_import_helper return importlib.import_module(mname) File "C:\OSA194~1\apps\Python39\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 666, in _load_unlocked File "", line 565, in module_from_spec File "", line 1173, in create_module File "", line 228, in _call_with_frames_removed ImportError: DLL load failed while importing _gdal: Impossibile trovare il modulo specificato. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 401, in loadPlugin __import__(packageName) File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\__init__.py", line 26, in from processing.tools.general import * # NOQA File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\tools\general.py", line 32, in from processing.core.Processing import Processing File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\core\Processing.py", line 58, in from processing.algs.qgis.QgisAlgorithmProvider import QgisAlgorithmProvider # NOQA File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\algs\qgis\QgisAlgorithmProvider.py", line 49, in from .HypsometricCurves import HypsometricCurves File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1/apps/qgis-dev/./python/plugins\processing\algs\qgis\HypsometricCurves.py", line 27, in from osgeo import gdal, ogr, osr File "C:\OSA194~1/apps/qgis-dev/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 46, in _gdal = swig_import_helper() File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 42, in swig_import_helper raise ImportError(traceback_string + '\n' + msg) ImportError: Traceback (most recent call last): File "C:\OSA194~1\apps\gdal-dev\lib\site-packages\osgeo\__init__.py", line 30, in swig_import_helper return importlib.import_module(mname) File "C:\OSA194~1\apps\Python39\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 666, in _load_unlocked File "", line 565, in module_from_spec File "", line 1173, in create_module File "", line 228, in _call_with_frames_removed ImportError: DLL load failed while importing _gdal: Impossibile trovare il modulo specificato. On Windows, with Python >= 3.8, DLLs are no longer imported from the PATH. If gdalXXX.dll is in the PATH, then set the USE_PATH_FOR_GDAL_PYTHON=YES environment variable to feed the PATH into os.add_dll_directory().
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in https://github.com/jef-n/OSGeo4W/commit/34d1b4e5eac21b9c733eda362b7303d54c3294af