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

Problem installing TomBio 3.4.1 under QGIS 3.24 from the QGIS plugin manager #61

Open
martinrand opened this issue May 23, 2022 · 1 comment

Comments

@martinrand
Copy link

The installation fails with the following backtrace:

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

TypeError: 'QVariant' object is not subscriptable
Traceback (most recent call last):
File "C:\PROGRA1/QGIS321.3/apps/qgis/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\TomBio_init
.py", line 27, in classFactory
return TomBio(iface)
File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\TomBio\tombio.py", line 68, in init
locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'QVariant' object is not subscriptable

Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS version: 3.24.3-Tisler Tisler, cf22b74e

Python Path:
C:/PROGRA1/QGIS321.3/apps/qgis/./python
C:/Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA1/QGIS321.3/apps/qgis/./python/plugins
C:\Program Files\QGIS 3.24.3\bin\python39.zip
C:\PROGRA1\QGIS321.3\apps\Python39\DLLs
C:\PROGRA1\QGIS321.3\apps\Python39\lib
C:\Program Files\QGIS 3.24.3\bin
C:\PROGRA1\QGIS321.3\apps\Python39
C:\PROGRA1\QGIS321.3\apps\Python39\lib\site-packages
C:\PROGRA1\QGIS321.3\apps\Python39\lib\site-packages\GDAL-3.4.3-py3.9-win-amd64.egg
C:\PROGRA1\QGIS321.3\apps\Python39\lib\site-packages\win32
C:\PROGRA1\QGIS321.3\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA1\QGIS321.3\apps\Python39\lib\site-packages\Pythonwin
C:/Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python

@burkmarr
Copy link
Collaborator

Hi Martin. Is this under Windows or another OS?

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