Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin fails to load in recent nightly builds #2

Open
AlisterH opened this issue Jan 16, 2024 · 1 comment
Open

Plugin fails to load in recent nightly builds #2

AlisterH opened this issue Jan 16, 2024 · 1 comment

Comments

@AlisterH
Copy link

Couldn't load plugin 'scpplugin' due to an error when calling its classFactory() method 

ImportError: cannot import name 'home_plugin_path' from 'qgis.utils' (D:\OSGeo4W/apps/qgis-dev/./python\qgis\utils.py) 
Traceback (most recent call last):
  File "D:\OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 426, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/alister/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\scpplugin\__init__.py", line 27, in classFactory
    from .scpplugin import ScpPlugin
  File "D:\OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 910, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/alister/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\scpplugin\scpplugin.py", line 27, in 
    from qgis.utils import home_plugin_path
ImportError: cannot import name 'home_plugin_path' from 'qgis.utils' (D:\OSGeo4W/apps/qgis-dev/./python\qgis\utils.py)

HOME_PLUGIN_PATH will need to be used in future.
See qgis/QGIS@98c19b3

@HusseinKabbout
Copy link

Thanks for reporting this! I assume this will land in 3.36.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants