-
Notifications
You must be signed in to change notification settings - Fork 6
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
getdefaultlocale returns None.... #6
Comments
I have the same problem with tkcolorpicker-2.1.3.
LC_ALL=C python -W ignore -m tkcolorpicker.colorpicker
(.scipion3) maestro-builder:~ > LC_ALL=foo python -W ignore -m tkcolorpicker.colorpicker
|
I think the source of the problem resides on a bad locale configuration in the system, but it would be nice to make this tolerant to it, if possible. |
Hi!
Thanks for having this, is much better than default tk color picker in ubuntu!
Nevertheless, we have this specific issue:
File "/home/coss/scipion3/.scipion3env/lib/python3.6/site-packages/tkcolorpicker/colorpicker.py", line 43, in
if getdefaultlocale()[0][:2] == 'fr':
TypeError: 'NoneType' object is not subscriptable
Error at main: 'NoneType' object is not subscriptable
I believe in this case it should fallback to English.
The text was updated successfully, but these errors were encountered: