Closed irenedelatorre closed 3 years ago
Same bug in QGIS 3.4.1 Windows 10 64 bits Fresh install
Impossible de charger l'extension 'quick_map_services' provoque une erreur lors de l'appel à sa méthode classFactory()
TypeError: 'QVariant' object is not subscriptable
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 335, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/AVIGNACQ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\__init__.py", line 35, in classFactory
return QuickMapServices(iface)
File "C:/Users/AVIGNACQ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\quick_map_services.py", line 72, in __init__
self.locale = Locale.get_locale()
File "C:/Users/AVIGNACQ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\plugin_locale.py", line 30, in get_locale
return QSettings().value('locale/userLocale')[0:2]
TypeError: 'QVariant' object is not subscriptable
Version de Python : 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
Version de QGIS : 3.4.1-Madeira Madeira, 383851c597
Chemin Python :
C:/OSGEO4~1/apps/qgis/./python
C:/Users/AVIGNACQ/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/AVIGNACQ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGEO4~1/apps/qgis/./python/plugins
C:\OSGeo4W64\bin\python37.zip
C:\OSGEO4~1\apps\Python37\DLLs
C:\OSGEO4~1\apps\Python37\lib
C:\OSGeo4W64\bin
C:\OSGEO4~1\apps\Python37
C:\OSGEO4~1\apps\Python37\lib\site-packages
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib
C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin
C:/Users/AVIGNACQ/AppData/Roaming/QGIS/QGIS3\profiles\default/python
I have the same problem, fresh install on Win10 64-bit, QGIS 3.4.2.
TypeError: 'QVariant' object is not subscriptable
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 335, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/fgoral/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\__init__.py", line 35, in classFactory
return QuickMapServices(iface)
File "C:/Users/fgoral/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\quick_map_services.py", line 72, in __init__
self.locale = Locale.get_locale()
File "C:/Users/fgoral/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\plugin_locale.py", line 30, in get_locale
return QSettings().value('locale/userLocale')[0:2]
TypeError: 'QVariant' object is not subscriptable
Python-Version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS-Version: 3.4.2-Madeira Madeira, 22034aa070
Python-Pfad:
C:/OSGEO4~1/apps/qgis/./python
C:/Users/fgoral/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/fgoral/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGEO4~1/apps/qgis/./python/plugins
C:\OSGeo4W64\bin\python37.zip
C:\OSGEO4~1\apps\Python37\DLLs
C:\OSGEO4~1\apps\Python37\lib
C:\OSGeo4W64\bin
C:\OSGEO4~1\apps\Python37
C:\OSGEO4~1\apps\Python37\lib\site-packages
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib
C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin
C:/Users/fgoral/AppData/Roaming/QGIS/QGIS3\profiles\default/python
Fixed in version 0.19.24. The fix will be available for download in the next release.
I'm a user of QGis, but this is the first time that I have it installed in a MAC (Sierra 10.12.6). I just installed the new version and I'm trying to install the plugins I usually use. QuickMapServices, gives me the following error when I try to activate it: