[Bug 223281] Re: locale._parse_localename fails when localename does not contain encoding information (was: alacarte crashed with ValueError in _parse_localename() )

Jonathan Marsden jmarsden at fastmail.fm
Mon Dec 7 21:48:09 GMT 2009


Added karmic-proposed repository per instructions, sudo apt-get
upgraded, tested.

Seems to work fine for me on Ubuntu 9.10 Karmic amd64.

Specifics:

dpkg -l python2.6 show3s it installed:
ii  python2.6                   2.6.4-0ubuntu3              An interactive high-level object-oriented language (version 2.6)

for i in $(locale -a) ; do echo $i ; LANG=$i python -c "import locale;
print locale.getdefaultlocale()" || break ; done

runs to completion, on a machine with all available language packs
installed (so LOTS of locales).  So does

for i in $(locale -a) ; do echo $i ; LANG=$i python -c "import locale;
locale.setlocale(locale.LC_ALL, "")" || break ; done

Running software-center works as expected.

No issues observed (in admittedly fairly minimal testing).

-- 
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
Sponsors for main, which is a direct subscriber.



More information about the Ubuntu-main-sponsors mailing list