[Osgeo4w-trac] [osgeo4w] #742: qgis-dev-full: Couldn't load plugin 'processing' - Couldn't load plugin 'grassprovider'

OSGeo4W trac_osgeo4w at osgeo.org
Mon May 9 07:40:31 PDT 2022


#742: qgis-dev-full: Couldn't load plugin 'processing' - Couldn't load plugin
'grassprovider'
------------------------+---------------------------
Reporter:  andreaerdna  |      Owner:  osgeo4w-dev@…
    Type:  defect       |     Status:  new
Priority:  major        |  Component:  Package
 Version:               |   Keywords:
------------------------+---------------------------
 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().
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/742>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list