Skip to content
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

locale.Error: unsupported locale setting (on windows 7) #201

Open
GoogleCodeExporter opened this issue May 4, 2015 · 3 comments
Open

locale.Error: unsupported locale setting (on windows 7) #201

GoogleCodeExporter opened this issue May 4, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.installing python 2.7 (32 bits)
2.Installing pygtk all in one 2.24 (32 bits)
3.Lauching jbrout (3.340 source tgz)

Traceback (most recent call last):
  File ".\jbrout.py", line 43, in <module>
    locale.setlocale(locale.LC_ALL, '.'.join(locale.getdefaultlocale()))
  File "c:\usr\python27\lib\locale.py", line 531, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting


python
import locale
print locale.getdefaultlocale()
('fr_FR', 'cp1252')


Original issue reported on code.google.com by [email protected] on 2 May 2012 at 6:26

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 12 Aug 2013 at 10:34

  • Added labels: OpSys-Windows, Priority-Medium, Type-Defect

@GoogleCodeExporter
Copy link
Author

What does

locale.setlocale(locale.LC_ALL)

gives you (which is the current state of jbrout.py after r350)?

Original comment by [email protected] on 28 Aug 2013 at 1:56

@GoogleCodeExporter
Copy link
Author

And it is most likely a duplicate of #214 (which is probably duplicate of 
something else as well).

Original comment by [email protected] on 28 Aug 2013 at 1:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant