FieldStudiesCouncil / QGIS-Biological-Recording-Tools

QGIS plugin for biological recorders. Created with the FSC Tomorrow's Biodiversity project.
GNU General Public License v3.0
10 stars 4 forks source link

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

Open martinrand opened 2 years ago

martinrand commented 2 years ago

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:\PROGRA~1/QGIS32~1.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:/PROGRA~1/QGIS32~1.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:/PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins C:\Program Files\QGIS 3.24.3\bin\python39.zip C:\PROGRA~1\QGIS32~1.3\apps\Python39\DLLs C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib C:\Program Files\QGIS 3.24.3\bin C:\PROGRA~1\QGIS32~1.3\apps\Python39 C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\GDAL-3.4.3-py3.9-win-amd64.egg C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\win32 C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\win32\lib C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\Pythonwin C:/Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python

burkmarr commented 2 years ago

Hi Martin. Is this under Windows or another OS?