You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OpenBSD 5.5, it seems that LC_MONETARY only supports the values of "", "C" and "POSIX".
Therefore, in the file cartridge/shop/utils.py:
if setlocale(LC_MONETARY, currency_locale) == "C":
This raises an exception:
django.core.exceptions.ImproperlyConfigured: Invalid currency locale specified for SHOP_CURRENCY_LOCALE: 'en_GB.UTF-8'. You'll need to set the locale for your system, or configure the SHOP_CURRENCY_LOCALE setting in your settings module.
Hi,
In OpenBSD 5.5, it seems that LC_MONETARY only supports the values of "", "C" and "POSIX".
Therefore, in the file cartridge/shop/utils.py:
This raises an exception:
django.core.exceptions.ImproperlyConfigured: Invalid currency locale specified for SHOP_CURRENCY_LOCALE: 'en_GB.UTF-8'. You'll need to set the locale for your system, or configure the SHOP_CURRENCY_LOCALE setting in your settings module.
Here's an example:
(test)-bash-4.2# python2.7
Python 2.7.6 (default, Mar 4 2014, 10:29:45)
[GCC 4.2.1 20070719 ] on openbsd5
Type "help", "copyright", "credits" or "license" for more information.
'C/en_US.UTF-8/C/C/C/en_US.UTF-8'
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/locale.py", line 547, in setlocale
locale.Error: unsupported locale setting
The text was updated successfully, but these errors were encountered: