[Qgis-user] Error: unsupported locale setting

Yury yury.zammit at gmail.com
Tue Jan 12 22:17:48 PST 2021


Hello,

I am not sure when this happened but I am getting this error for the HCMGIS
plugin.  I am running QGS 3.10.8 on Windows 7.

Here is the python message

2021-01-13T07:11:05     WARNING    Traceback (most recent call last):
              File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 334, in
_startPlugin
              plugins[packageName] = package.classFactory(iface)
              File
"C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\__init__.py",
line 11, in classFactory
              from .hcmgis_menu import hcmgis_menu
              File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 743, in
_import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File
"C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\hcmgis_menu.py",
line 11, in
              from .hcmgis_dialogs import *
              File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 743, in
_import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File
"C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\hcmgis_dialogs.py",
line 908, in
              class hcmgis_microsoft_dialog(hcmgis_dialog,
Ui_hcmgis_microsoft_form):
              File
"C:/Users/yury/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HCMGIS\hcmgis_dialogs.py",
line 928, in hcmgis_microsoft_dialog
              locale.setlocale(locale.LC_ALL, 'en_US')
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\locale.py",
line 604, in setlocale
              return _setlocale(category, locale)
             locale.Error: unsupported locale setting


Regards,


Yury
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210113/eaefd61e/attachment.html>


More information about the Qgis-user mailing list