Не удалось загрузить модуль nextgis_connect из-за ошибки при вызове его метода classFactory()
TypeError: 'QPyNullVariant' object has no attribute 'getitem'
Traceback (most recent call last):
File "/Users/alexandertugunov/Applications/NextGIS/Library/Python/2.7/site-packages/qgis/utils.py", line 306, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python/plugins/nextgis_connect/init.py", line 43, in classFactory
return NGConnectPlugin(iface)
File "/Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python/plugins/nextgis_connect/ng_connect.py", line 63, in init
locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'QPyNullVariant' object has no attribute 'getitem'
Версия Python: 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
Версия: 2.14.16-Essen Essen, 17.11.0
Moved from: https://github.com/nextgis/nextgisqgis/issues/39
Не удалось загрузить модуль nextgis_connect из-за ошибки при вызове его метода classFactory()
TypeError: 'QPyNullVariant' object has no attribute 'getitem' Traceback (most recent call last): File "/Users/alexandertugunov/Applications/NextGIS/Library/Python/2.7/site-packages/qgis/utils.py", line 306, in startPlugin plugins[packageName] = package.classFactory(iface) File "/Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python/plugins/nextgis_connect/init.py", line 43, in classFactory return NGConnectPlugin(iface) File "/Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python/plugins/nextgis_connect/ng_connect.py", line 63, in init locale = QSettings().value('locale/userLocale')[0:2] TypeError: 'QPyNullVariant' object has no attribute 'getitem'
Версия Python: 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] Версия: 2.14.16-Essen Essen, 17.11.0
Расположение Python: /Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python/plugins/processing /Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python /Users/alexandertugunov/.config/NextGIS/qgis2/python /Users/alexandertugunov/.config/NextGIS/qgis2/python/plugins /Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python/plugins /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload /Users/alexandertugunov/Library/Python/2.7/lib/python/site-packages /Users/alexandertugunov/Applications/NextGIS/Library/Python/2.7/site-packages /Library/Python/2.7/site-packages /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC /Users/alexandertugunov/.config/NextGIS/qgis2/python /Users/alexandertugunov/Applications/NextGIS/Applications/ngqgis.app/Contents/Resources/python/plugins/fTools/tools /Users/alexandertugunov/dtp