← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701550] [NEW] Internal server/local error with Firefox

 

Public bug reported:

Loading the web-client 6.0rc2 (Ubuntu 10.04) in a Firefox 3.6.13 (Ubuntu
Maverick) it crashes, probably due to some locale problems. The client
works fine with Chome.

500 Internal Server Error

The server encountered an unexpected condition which prevented it from
fulfilling the request.

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/tools/_expose.py", line 191, in func_wrapper
    res = func(*args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/controllers/_root.py", line 63, in default
    obj = pooler.get_pool().get_controller("/openerp/modules")
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/pooler.py", line 97, in get_pool
    addons.load_addons(db_name, config)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 210, in load_addons
    load_module_graph(db_name, graph, config)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 178, in load_module_graph
    imp_module(package.name)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 158, in imp_module
    return imp.load_module(name, fp, pathname, description)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/__init__.py", line 1, in <module>
    import utils
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/__init__.py", line 3, in <module>
    import rpc
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/rpc.py", line 35, in <module>
    import common
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/common.py", line 43, in <module>
    class TinyError(TinyException):
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/common.py", line 45, in TinyError
    def __init__(self, message, title=_("Error")):
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/_gettext.py", line 175, in gettext2
    value = gettext(key, locale, domain)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/_gettext.py", line 171, in gettext
    return _gettext(key, locale, domain)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/_gettext.py", line 118, in _gettext
    locale = get_locale()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/utils.py", line 86, in get_locale
    return babel.core.Locale.parse(accept_languages[0])
  File "/usr/local/lib/python2.6/dist-packages/Babel-0.9.5-py2.6.egg/babel/core.py", line 212, in parse
    return cls(*parse_locale(identifier, sep=sep))
  File "/usr/local/lib/python2.6/dist-packages/Babel-0.9.5-py2.6.egg/babel/core.py", line 137, in __init__
    raise UnknownLocaleError(identifier)
UnknownLocaleError: unknown locale 'ch_OME://GLOBAL/LOCALE/INTL'

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

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

Title:
  Internal server/local error with Firefox

Status in OpenObject Web Client:
  New

Bug description:
  Loading the web-client 6.0rc2 (Ubuntu 10.04) in a Firefox 3.6.13
  (Ubuntu Maverick) it crashes, probably due to some locale problems.
  The client works fine with Chome.

  500 Internal Server Error

  The server encountered an unexpected condition which prevented it from
  fulfilling the request.

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/tools/_expose.py", line 191, in func_wrapper
      res = func(*args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/controllers/_root.py", line 63, in default
      obj = pooler.get_pool().get_controller("/openerp/modules")
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/pooler.py", line 97, in get_pool
      addons.load_addons(db_name, config)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 210, in load_addons
      load_module_graph(db_name, graph, config)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 178, in load_module_graph
      imp_module(package.name)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 158, in imp_module
      return imp.load_module(name, fp, pathname, description)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/__init__.py", line 1, in <module>
      import utils
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/__init__.py", line 3, in <module>
      import rpc
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/rpc.py", line 35, in <module>
      import common
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/common.py", line 43, in <module>
      class TinyError(TinyException):
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/common.py", line 45, in TinyError
      def __init__(self, message, title=_("Error")):
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/_gettext.py", line 175, in gettext2
      value = gettext(key, locale, domain)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/_gettext.py", line 171, in gettext
      return _gettext(key, locale, domain)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/_gettext.py", line 118, in _gettext
      locale = get_locale()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/i18n/utils.py", line 86, in get_locale
      return babel.core.Locale.parse(accept_languages[0])
    File "/usr/local/lib/python2.6/dist-packages/Babel-0.9.5-py2.6.egg/babel/core.py", line 212, in parse
      return cls(*parse_locale(identifier, sep=sep))
    File "/usr/local/lib/python2.6/dist-packages/Babel-0.9.5-py2.6.egg/babel/core.py", line 137, in __init__
      raise UnknownLocaleError(identifier)
  UnknownLocaleError: unknown locale 'ch_OME://GLOBAL/LOCALE/INTL'





Follow ups

References