Jonathan, I locally built your lucid python update, and the bug still
happens:
$ LANG=en_AG python -c "import locale ; print locale.getdefaultlocale()"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.6/locale.py", line 478, in getdefaultlocale
return _parse_localename(localename)
File "/usr/lib/python2.6/locale.py", line 410, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_AG
Seems it doesn't work?
(And yes, I did create the local before: sudo locale-gen en_AG)
** Changed in: python2.6 (Ubuntu)
Status: Fix Committed => Incomplete
--
locale._parse_localename fails when localename does not contain encoding
information (was: alacarte crashed with ValueError in _parse_localename() )
https://bugs.launchpad.net/bugs/223281
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs