← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 703412] Re: Many tracebacks in openerp-web while using it

 

Hello, Somesh.

I re-executed the recipe described in my initial report, and the problem
does not show anymore.  However, since then, I re-installed both the
server from (what I think to be) the latest status of the trunk
development.  So the testing conditions are not the same.

As I presume there is no interest that I move back to genuine rc2 for
the sole purpose of reproducing the above problem, let me suggest we
close it.  I'll resubmit it afresh if it reappears.  Reasonable?

Keep happy.  François

-- 
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/703412

Title:
  Many tracebacks in openerp-web while using it

Status in OpenObject Web Client:
  Incomplete

Bug description:
  This is just after installing OpenERP Server and Web Client, 6 rc2, on
  Linux Maverick (Ubuntu 10.10)

  Launching the Server in one terminal, the Web Client in another, then
  directing a browser to localhost:8080 only once, gets the second
  terminal to display the following flurry of tracebacks.  The Web
  Client seems to work nevertheless, at least at first glance, as it
  displays a connection page.  Yet, these trackebacks are worrying.
  Here they are.  The LANG environment variable has fr_CA.UTF-8, if this
  matters.

  Thanks for your attention.


  [06/Jan/2011:17:17:18] INFO Loading module 'openerp'
  [06/Jan/2011:17:17:18]  Syntax error while loading translation for
  locale "sr" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:18]  Syntax error while loading translation for
  locale "sr@latin" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr@latin" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19] INFO Loading module 'view_calendar'
  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_calendar"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr@latin" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_calendar"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_calendar"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr@latin" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_calendar"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19] INFO Loading module 'view_graph'
  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_graph"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr@latin" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_graph"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19] INFO Loading module 'view_diagram'
  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_diagram"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr@latin" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_diagram"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_diagram"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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

  [06/Jan/2011:17:17:19]  Syntax error while loading translation for
  locale "sr@latin" from addon
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/view_diagram"
  Traceback (most recent call last):
    File
  "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-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_rc2-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





References