← Back to team overview

openerp-dev-web team mailing list archive

[Bug 693298] Re: [6.0-Rc1] Web client error on starting

 

My update to the latest available version doesn't solve this problem as
well.

$ bzr pull -v
Using saved parent location: bzr+ssh://bazaar.launchpad.net/~openerp/openobject-client-web/trunk/
 M  addons/openerp/controllers/templates/index.mako                            
 M  addons/openerp/static/css/screen.css
 M  addons/openerp/static/css/style-ie.css
 M  addons/view_calendar/static/javascript/calendar_gantt.js
All changes applied successfully.                                              
Now on revision 4180.
Added Revisions:
------------------------------------------------------------
revno: 4179
committer: niv-openerp <nicolas.vanhoren@xxxxxxxxxxx>
branch nick: client-web-trunk
timestamp: Mon 2010-12-27 11:13:07 +0100
message:
  [FIX] Improved fix regarding strange event handling in gantt view - set the
  same behavior for all browsers.
------------------------------------------------------------
revno: 4180 [merge]
committer: niv-openerp <nicolas.vanhoren@xxxxxxxxxxx>
branch nick: client-web-trunk
timestamp: Mon 2010-12-27 11:34:37 +0100
message:
  [merge] Lot of fixes for ie7.

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/693298

Title:
  [6.0-Rc1] Web client error on starting

Status in OpenObject Web Client:
  Fix Released

Bug description:
  Hello,
I just updated the web client with the last revision. When I start a new session, here's the error displayed in the server (nothing at client's side) .


[22/Dec/2010:09:26:53]  Syntax error while loading translation for locale "sr@latin" from addon "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/view_diagram"
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/i18n/_gettext.py", line 78, in _load_translations
    tr = _load_translation(path, locale, domain)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/i18n/_gettext.py", line 67, in _load_translation
    locale_path, [locale], domain)
  File "/usr/lib/pymodules/python2.6/babel/support.py", line 309, in load
    return cls(fileobj=open(filename, 'rb'), domain=domain)
  File "/usr/lib/pymodules/python2.6/babel/support.py", line 283, in __init__
    gettext.GNUTranslations.__init__(self, fp=fileobj)
  File "/usr/lib/python2.6/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.6/gettext.py", line 315, in _parse
    self.plural = c2py(plural)
  File "/usr/lib/python2.6/gettext.py", line 126, in c2py
    return eval('lambda n: int(%s)' % plural)
  File "<string>", line 1
    lambda n: int((test(n%10==1  and  n%100!=11 ,  0 , test( n%10>=2  and  n%10< =4  and  (n%100<10  or  n%100>=20) ,  1 ,  2))))
                                                                                 ^
SyntaxError: invalid syntax