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

Error trying to run Importphotos #104

Open
OzDirtMiner opened this issue Mar 5, 2023 · 0 comments
Open

Error trying to run Importphotos #104

OzDirtMiner opened this issue Mar 5, 2023 · 0 comments

Comments

@OzDirtMiner
Copy link

I have just installed Importphotos and when I try to run it I get this error

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

TypeError: 'QVariant' object is not subscriptable
Traceback (most recent call last):
File "C:\PROGRA1/QGIS321.0/apps/qgis/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/Main/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ImportPhotos_init
.py", line 33, in classFactory
return ImportPhotos(iface)
File "C:\Users/Main/AppData/Roaming/QGIS/QGIS3\profiles\default/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.26.0-Buenos Aires Buenos Aires, 0aece2818e

Regards

Jeff

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