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

Cannot install ORS Tools #271

Closed
anitagraser opened this issue Jul 26, 2024 · 1 comment · Fixed by #273
Closed

Cannot install ORS Tools #271

anitagraser opened this issue Jul 26, 2024 · 1 comment · Fixed by #273

Comments

@anitagraser
Copy link

When trying to install the plugin in a non-default user profile, I get the following error:

Konnte Erweiterung 'ORStools' nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode 

TypeError: 'NoneType' object is not subscriptable 
Traceback (most recent call last):
  File "C:\Users/GraserA/AppData/Local/miniconda3/envs/qgis/Library/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/GraserA/AppData/Roaming/QGIS/QGIS3\profiles\DE/python/plugins\ORStools\__init__.py", line 45, in classFactory
    return ORStools(iface)
  File "C:\Users/GraserA/AppData/Roaming/QGIS/QGIS3\profiles\DE/python/plugins\ORStools\ORStoolsPlugin.py", line 59, in __init__
    locale = QgsSettings().value("locale/userLocale")[0:2]
TypeError: 'NoneType' object is not subscriptable
@merydian
Copy link
Collaborator

Hi, thanks for your input. We merged a fix -- as seen above -- that should resolve the issue with the next release.

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

Successfully merging a pull request may close this issue.

2 participants