-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The plugin worked fine in 3.40.10 Bratislava prior to the 10/12/2025 plugin update. Now, 3 dependencies need to be manually installed. Even after manually installing those dependencies using the command line code, "Couldn't load plugin 'spatial_analysis' due to an error when calling its classFactory() method" error is returned. I contacted enterprise IT at my employer and they also could not install the plugin successfully. Tested on 3 different Windows 11 machines.
Traceback (most recent call last):
File "C:\PROGRA1/QGIS341.10/apps/qgis-ltr/./python\qgis\utils.py", line 478, in startPlugin
plugins[packageName] = package.classFactory(iface)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/redacted/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatial_analysis_init.py", line 35, in classFactory
from .spatial_analyzer import SpatialAnalyzer
File "C:\PROGRA1/QGIS341.10/apps/qgis-ltr/./python\qgis\utils.py", line 1100, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/redacted/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatial_analysis\spatial_analyzer.py", line 24, in
from spatial_analysis.spatial_provider import SpatialProvider
File "C:\PROGRA1/QGIS341.10/apps/qgis-ltr/./python\qgis\utils.py", line 1100, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/redacted/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatial_analysis\spatial_provider.py", line 39, in
from .algs import (
File "C:\PROGRA1/QGIS341.10/apps/qgis-ltr/./python\qgis\utils.py", line 1100, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/redacted/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatial_analysis\algs\Dbscan.py", line 33, in
from spatial_analysis.forms.DbscanDialog import ParameterControlDialog
File "C:\PROGRA1/QGIS341.10/apps/qgis-ltr/./python\qgis\utils.py", line 1100, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/redacted/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spatial_analysis\forms\DbscanDialog.py", line 59
^^
SyntaxError: invalid syntax