-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'max_digits' must be great or equal to 'decimal_places' on OpenBSD #330
Comments
That issue actually came up for me (on a fresh install on a brand-spanking-new Ubuntu 18.04 system). It seems to be a locale issue. Please see: Since my locale is "LANG=C.UTF-8", it seems to have triggered this problem. I got around this by doing SHOP_CURRENCY_LOCALE = 'en_US.UTF-8' in local_settings.py Never the less, it sounds like something that should be sorted in the installation process. |
I'm getting the same issue on fresh installation on Ubuntu 20.04
When I tried to generate locales and set the currency locale to
I got:
Full error
For some reason my system had locale as
I've played with multiple django based software installation but never seen this type of error. I guess it's something that should be handled by the installation process as @peterkmurphy suggested. |
If you want to use a locale in Cartridge it has to be installed in the system. |
I didn't want to specify any local, I mean I just want it to get Cartridge to run but the default configurations didn't work for me. |
As I recall locale C doesn't work for some reason. But I need to research for the exact issue. |
Python 3.6.5
Django 1.11.15
Mezzanine 4.3.0
Cartridge 0.13.0
I've seen this issues on other platforms but haven't been able to find the issue on OpenBSD. Local (LC_ALL) is set to en_US.UTF-8 (this was listed as a possible culprit in some situations).
Here's the full error when I run './manage.py createdb':
Please advise.
The text was updated successfully, but these errors were encountered: