← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 731098] Re: [6.0] Crashes on any view

 

Closing the bug as per the comment #9.
Thanks.

** Changed in: openobject-client-web
       Status: In Progress => Fix Released

** Changed in: openobject-client-web
    Milestone: None => 6.0.3

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

Title:
  [6.0] Crashes on any view

Status in OpenERP Web Client:
  Fix Released

Bug description:
  On 6.0 mature branch, I have created a new DB but when the
  configuration wizard should appear, the web client crashes. Same issue
  when I open the Purchase/Purchase Requisition view.

  Traceback :
   <type 'exceptions.TypeError'>	Python 2.6.5: /usr/bin/python
  Tue Mar 8 08:40:04 2011

  A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/lib/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object>, path_info='/openerp/execute')
    643                     if self.handler:
    644                         self.stage = 'handler'
    645                         response.body = self.handler()
    646                     
    647                     # Finalize
  response = <cherrypy._cprequest.Response object>, response.body = [], self = <cherrypy._cprequest.Request object>, self.handler = <cherrypy._cpdispatch.LateParamPageHandler object>
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/lib/cherrypy/lib/encoding.py in __call__(self=<cherrypy.lib.encoding.ResponseEncoder instance>, *args=(), **kwargs={})
    186     def __call__(self, *args, **kwargs):
    187         response = cherrypy.serving.response
    188         self.body = self.oldhandler(*args, **kwargs)
    189         
    190         if isinstance(self.body, basestring):
  self = <cherrypy.lib.encoding.ResponseEncoder instance>, self.body undefined, self.oldhandler = <cherrypy._cpdispatch.LateParamPageHandler object>, args = (), kwargs = {}
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/lib/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
     27     def __call__(self):
     28         try:
     29             return self.callable(*self.args, **self.kwargs)
     30         except TypeError:
     31             x = sys.exc_info()[1]
  self = <cherrypy._cpdispatch.LateParamPageHandler object>, self.callable = <bound method Root.default of <openobject.controllers._root.Root object>>, self.args = ('openerp', 'execute'), self.kwargs = {'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='}
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/openobject/tools/_expose.py in func_wrapper(*args=(<openobject.controllers._root.Root object>, 'openerp', 'execute'), **kw={'_': u'1299570004699', 'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='})
    180                 raise cherrypy.HTTPError(405)
    181 
    182             res = func(*args, **kw)
    183             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
    184                 cherrypy.response.headers['Content-Type'] = 'text/javascript'
  global res = '/home/quentin/Developpement/Tempo_Projects/Unifi...ld-web/openobject/admin/i18n/mapping/messages.cfg', func = <function default>, args = (<openobject.controllers._root.Root object>, 'openerp', 'execute'), kw = {'_': u'1299570004699', 'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='}
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/openobject/controllers/_root.py in default(self=<openobject.controllers._root.Root object>, *args=('openerp', 'execute'), **kw={'_': u'1299570004699', 'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='})
     85             request.handler = cherrypy.NotFound()
     86 
     87         return request.handler()
     88 
     89     def find_handler(self):
  request = <cherrypy._ThreadLocalProxy object>, request.handler = <cherrypy._cpdispatch.LateParamPageHandler object>
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/lib/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
     27     def __call__(self):
     28         try:
     29             return self.callable(*self.args, **self.kwargs)
     30         except TypeError:
     31             x = sys.exc_info()[1]
  self = <cherrypy._cpdispatch.LateParamPageHandler object>, self.callable = <function index>, self.args = (), self.kwargs = {'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='}
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/addons/openerp/controllers/utils.py in wrapper(*args=(), **kw={'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='})
    110             # User is logged in; allow access
    111             clear_login_fields(kw)
    112             return fn(*args, **kw)
    113         else:
    114             action = kw.get('login_action', '')
  fn = <bound method Execute.index of <openerp.controllers.execute.Execute object>>, args = (), kw = {'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='}
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/openobject/tools/_expose.py in func_wrapper(*args=(<openerp.controllers.execute.Execute object>,), **kw={'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='})
    180                 raise cherrypy.HTTPError(405)
    181 
    182             res = func(*args, **kw)
    183             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
    184                 cherrypy.response.headers['Content-Type'] = 'text/javascript'
  global res = '/home/quentin/Developpement/Tempo_Projects/Unifi...ld-web/openobject/admin/i18n/mapping/messages.cfg', func = <function index>, args = (<openerp.controllers.execute.Execute object>,), kw = {'payload': u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='}
   /home/quentin/Developpement/Tempo_Projects/Unifield/unifield-web/addons/openerp/controllers/execute.py in index(self=<openerp.controllers.execute.Execute object>, payload=u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q==')
     16         decoded_payload = ast.literal_eval(
     17             zlib.decompress(
     18                 base64.urlsafe_b64decode(payload)))
     19         action, data = decoded_payload['action'], decoded_payload['data']
     20         cherrypy.request.params.update(decoded_payload)
  global base64 = <module 'base64' from '/usr/lib/python2.6/base64.pyc'>, base64.urlsafe_b64decode = <function urlsafe_b64decode>, payload = u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='
   /usr/lib/python2.6/base64.py in urlsafe_b64decode(s=u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q==')
    110     The alphabet uses '-' instead of '+' and '_' instead of '/'.
    111     """
    112     return b64decode(s, '-_')
    113 
    114 
  global b64decode = <function b64decode>, s = u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q=='
   /usr/lib/python2.6/base64.py in b64decode(s=u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q==', altchars='-_')
     69     """
     70     if altchars is not None:
     71         s = _translate(s, {altchars[0]: '+', altchars[1]: '/'})
     72     try:
     73         return binascii.a2b_base64(s)
  s = u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q==', global _translate = <function _translate>, altchars = '-_'
   /usr/lib/python2.6/base64.py in _translate(s=u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q==', altchars={'-': '+', '_': '/'})
     34     for k, v in altchars.items():
     35         translation[ord(k)] = v
     36     return s.translate(''.join(translation))
     37 
     38 
  s = u'eJxdUslOwzAQ_ZXeDFIVsSgCekackYATqqxpPEktObblhVCi...lZCChKKuin0d_Vz_l9bDGhbJLzIp2BuRJJch-mn4BY2bY5Q==', s.translate = <built-in method translate of unicode object>, ''.join undefined, translation = ['\x00', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07', '\x08', '\t', '\n', '\x0b', '\x0c', '\r', '\x0e', '\x0f', '\x10', '\x11', '\x12', '\x13', ...]

  <type 'exceptions.TypeError'>: character mapping must return integer, None or unicode
        args = ('character mapping must return integer, None or unicode',)
        message = 'character mapping must return integer, None or unicode'


References