[Qgis-user] Error: unsupported locale setting

Richard Duivenvoorde rdmailings at duif.net
Wed Jan 13 00:04:40 PST 2021

Hi Yury,

this seems (to me) a typical issue of the plugin itself, so you are probably better off to first call the creator of the plugin via:


I see that somebody else already  issued this problem?

Please add more information there, to make it easier for the developer(s) to see this issue themselves.

if this fails you can probably contact the writer, his github account shows his contacts:

If that still fails: it seems an easy fix, come back here and ask help from other devs.


Richard Duivenvoorde

On 1/13/21 7:17 AM, Yury wrote:
> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

More information about the Qgis-user mailing list