Public bug reported:

On two machines I've upgraded (one from precise another from saucy) the
file /usr/share/python-babel-localedata/localedata/en.dat has somehow
been deleted.  Reinstalling the package resolves the problem.

  File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line 337, 
in _get_mime_headers
    locale='en')))
  File "/usr/lib/python2.7/dist-packages/babel/dates.py", line 609, in 
format_datetime
    locale = Locale.parse(locale)
  File "/usr/lib/python2.7/dist-packages/babel/core.py", line 313, in parse
    raise UnknownLocaleError(input_id)
UnknownLocaleError: unknown locale 'en'

Version: 1.3+dfsg.1-2ubuntu1

> dpkg -L python-babel-localedata  | grep en.dat
/usr/share/python-babel-localedata/localedata/en.dat
> file /usr/share/python-babel-localedata/localedata/en.dat
/usr/share/python-babel-localedata/localedata/en.dat: ERROR: cannot open 
`/usr/share/python-babel-localedata/localedata/en.dat' (No such file or 
directory)

** Affects: python-babel (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1299442

Title:
  UnknownLocaleError: unknown locale 'en'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-babel/+bug/1299442/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to