← Back to team overview

openerp-india team mailing list archive

[Bug 917565] Re: Babel incorrectly packaged in the Windows installer

 

Looked into it, this turns out to be a packaging bug in the creation of
the Windows installer:

1. The Web Client uses Babel[0] to handle many locale-specific sets of information
2. Babel stores its locale data (generally extracted from the CLDR[1]) in .dat files stored in the package, it needs those data files to work correctly
3. The Windows Installer package failed to bundle these data files, and when Babel looks for them it blows up

You can verity that by going into the `openerp/server/babel` directory
and observing that there is no `global.dat` at the package root, nor is
there a `localedata` directory (which should hold a `.dat` file for each
supported locale).

[0] http://babel.edgewall.org/
[1] http://cldr.unicode.org/

** Project changed: openerp-web => openobject-server

** Changed in: openobject-server
   Importance: Undecided => High

** Changed in: openobject-server
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/917565

Title:
  Babel incorrectly packaged in the Windows installer

Status in OpenERP Server:
  Confirmed

Bug description:
  Your version of OpenERP is unsupported. Support & maintenance services
  are available here: OpenERP Entreprise.

  OpenERP WebClient Error

  Client Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\http.py", line 176, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\controllers\main.py", line 243, in translations
    File "babel\messages\catalog.pyo", line 522, in __iter__
    File "babel\messages\catalog.pyo", line 302, in _get_mime_headers
    File "babel\dates.pyo", line 501, in format_datetime
    File "babel\core.pyo", line 212, in parse
    File "babel\core.pyo", line 137, in __init__
  UnknownLocaleError: unknown locale 'en'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/917565/+subscriptions