ImportPhotos
ImportPhotos copied to clipboard
Issue installing ImportPhotos
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