← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 692443] Re: Cannot open web-client

 

*** This bug is a duplicate of bug 691962 ***
    https://bugs.launchpad.net/bugs/691962

** This bug has been marked a duplicate of bug 691962
   client-web crashes on startup
 * You can subscribe to bug 691962 by following this link: https://bugs.launchpad.net/openobject-client-web/+bug/691962/+subscribe

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/692443

Title:
  Cannot open web-client

Status in OpenObject Web Client:
  New

Bug description:
  Hello,

I have updated my web-client today morning. Its revison number is 4138.

As and when I tried to start the client in my browser I got the following error.

 HTTP Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/local/lib/python2.6/dist-packages/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/tools/_expose.py", line 191, in func_wrapper
    res = func(*args, **kw)
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/controllers/_root.py", line 63, in default
    obj = pooler.get_pool().get_controller("/openerp/modules")
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/pooler.py", line 93, in get_pool
    addons.load_addons(db_name, config)
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/addons.py", line 206, in load_addons
    load_module_graph(db_name, graph, config)
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/addons.py", line 183, in load_module_graph
    i18n.load_translations(addon_path)
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/i18n/_gettext.py", line 91, in load_translations
    _load_translations(path, locales, domain)
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/i18n/_gettext.py", line 72, in _load_translations
    tr = _load_translation(path, locale, domain)
  File "/home/uco/workspace/e-tiny/trunk/openobject-client-web/openobject/i18n/_gettext.py", line 62, 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





References