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. OpenStreetMap gives me the following error:
Couldn't load plugin 'openlayers_plugin' due to an error when calling
its classFactory() method
I've read that we should move to QuickMapServices, but when I activate that plugin, I have the same error:
Couldn't load plugin 'quick_map_services' due to an error when calling
its classFactory() method
TypeError: 'QVariant' object is not subscriptable Traceback (most
recent call last): File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/pytho/qgis/utils.py",
line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/Users/delati01/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/quick_map_services/__init__.py",
line 35, in classFactory
return QuickMapServices(iface) File "/Users/delati01/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/quick_map_services/quick_map_services.py",
line 72, in __init__
self.locale = Locale.get_locale() File "/Users/delati01/Library/Application
Support/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.6.6 (v3.6.6:4cf1f54eb7, Jun 26 2018, 19:50:54) [GCC
4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] QGIS version: 3.2.0-Bonn Bonn, exported
Python Path:
/Applications/QGIS3.app/Contents/MacOS/../Resources/python
/Users/delati01/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/delati01/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/delati01/Library/Application Support/QGIS/QGIS3/profiles/default/python
Is this a general error because QGIS has just been updated or is it from MacOS X?