Error trying to run Importphotos
Opened this issue · 0 comments
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