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

Issue installing ImportPhotos #108

Open
HnsKrlLntD opened this issue Oct 20, 2023 · 0 comments
Open

Issue installing ImportPhotos #108

HnsKrlLntD opened this issue Oct 20, 2023 · 0 comments

Comments

@HnsKrlLntD
Copy link

I'm trying to install your plugin in QGIS-LTR (on Windows 10 Version 2009), but unfortunately I get this error message:

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

TypeError: 'QVariant' object is not subscriptable 
Traceback (most recent call last):
  File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/zyx/AppData/Roaming/QGIS/QGIS3\profiles\ComSof/python/plugins\ImportPhotos\__init__.py", line 33, in classFactory
    return ImportPhotos(iface)
  File "C:\Users/zyx/AppData/Roaming/QGIS/QGIS3\profiles\ComSof/python/plugins\ImportPhotos\ImportPhotos.py", line 111, 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.28.11-Firenze Firenze, b02458a196 

Python-Pfad:
C:/OSGeo4W/apps/qgis-ltr/./python
C:/Users/xyz/AppData/Roaming/QGIS/QGIS3\profiles\zyx/python
C:/Users/xyz/AppData/Roaming/QGIS/QGIS3\profiles\zyx/python/plugins
C:/OSGeo4W/apps/qgis-ltr/./python/plugins
C:\OSGeo4W\apps\grass\grass83\etc\python
C:\OSGeo4W\bin\python39.zip
C:\OSGeo4W\apps\Python39\DLLs
C:\OSGeo4W\apps\Python39\lib
C:\OSGeo4W\bin
C:\OSGeo4W\apps\Python39
C:\OSGeo4W\apps\Python39\lib\site-packages
C:\OSGeo4W\apps\Python39\lib\site-packages\win32
C:\OSGeo4W\apps\Python39\lib\site-packages\win32\lib
C:\OSGeo4W\apps\Python39\lib\site-packages\Pythonwin
C:/Users/xyz/AppData/Roaming/QGIS/QGIS3\profiles\zyx/python
C:\Users\xyz\AppData\Roaming\QGIS\QGIS3\profiles\zyx\python\plugins\kmltools\libs
C:\Users\xyz\AppData\Roaming\QGIS\QGIS3\profiles\zyx\python\plugins\mmqgis/forms
C:\Users/xyz/AppData/Roaming/QGIS/QGIS3\profiles\zyx/python/plugins\qgis_resource_sharing
C:\Users\xyz\AppData\Roaming\QGIS\QGIS3\profiles\zyx\python\plugins\qgis_resource_sharing
C:\Users\xyz\AppData\Roaming\QGIS\QGIS3\profiles\zyx\python\plugins\qgis_resource_sharing\ext_libs
C:/Users/xyz/AppData/Roaming/QGIS/QGIS3/profiles/zyx
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

1 participant