UnknownLocaleError: unknown locale 'en'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-babel (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Michael Bienia |
Bug Description
On two machines I've upgraded (one from precise another from saucy) the file /usr/share/
File "/usr/lib/
locale='en')))
File "/usr/lib/
locale = Locale.
File "/usr/lib/
raise UnknownLocaleEr
UnknownLocaleError: unknown locale 'en'
Version: 1.3+dfsg.1-2ubuntu1
> dpkg -L python-
/usr/share/
> file /usr/share/
/usr/share/
[Impact]
The python-babel package got split into python-babel and python-
[Test case]
- Install the python-babel package from either saucy or precise
- Run "pybabel --list-locales" and get a list of locales
- Upgrade python-babel to the version in trusty (will pull in python-
- Run "pybabel --list-locales" again and get the above error
- Upgrade to the fixed version
- Run "pybabel --list-locales" again and get a list of locales again
- Purge python-babel and python-
- Install the python-babel package from either saucy or precise again
- Run "pybabel --list-locales" and get a list of locales
- Upgrade directly to the fixed version
- Run "pybabel --list-locales" and get a list of locales
Related branches
Changed in python-babel (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.