← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 778894] Re: Problem with web client interface (GTK works)

 

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

** This bug has been marked a duplicate of bug 731098
   [6.0] Crashes on any view
 * You can subscribe to bug 731098 by following this link: https://bugs.launchpad.net/openobject-client-web/+bug/731098/+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/778894

Title:
  Problem with web client interface (GTK works)

Status in OpenERP Web Client:
  New

Bug description:
  Hi I have a new installation of Openerp on ubu 10.4 64 bit, downloaded from lp with the script in lp:openerp.
  When I use web client I still have errors, like in initial configuration wizard. If i use GTK I can see wizard and complete the creation on new DB, when I re-login with web and I click for ex. on administration / modules I still have cherry py error via web, on server log no error are writed, I forgot any dependencies? I do the populate.sh before run the web client...
  Thanks
  error example:

  
  <type 'exceptions.TypeError'>	Python 2.6.5: /usr/bin/python
  Sat May 7 08:49:49 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/administrator/lp/micronaet/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/administrator/lp/micronaet/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/administrator/lp/micronaet/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'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='}
   /home/administrator/lp/micronaet/web/openobject/tools/_expose.py in func_wrapper(*args=(<openobject.controllers._root.Root object>, 'openerp', 'execute'), **kw={'_': u'1304750805868', 'payload': u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='})
    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/administrator/lp/micronaet/web/openobject/controllers/templates/base.mako', func = <function default>, args = (<openobject.controllers._root.Root object>, 'openerp', 'execute'), kw = {'_': u'1304750805868', 'payload': u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='}
   /home/administrator/lp/micronaet/web/openobject/controllers/_root.py in default(self=<openobject.controllers._root.Root object>, *args=('openerp', 'execute'), **kw={'_': u'1304750805868', 'payload': u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='})
     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/administrator/lp/micronaet/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'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='}
   /home/administrator/lp/micronaet/web/addons/openerp/controllers/utils.py in wrapper(*args=(), **kw={'payload': u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='})
    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'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='}
   /home/administrator/lp/micronaet/web/openobject/tools/_expose.py in func_wrapper(*args=(<openerp.controllers.execute.Execute object>,), **kw={'payload': u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='})
    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/administrator/lp/micronaet/web/openobject/controllers/templates/base.mako', func = <function index>, args = (<openerp.controllers.execute.Execute object>,), kw = {'payload': u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='}
   /home/administrator/lp/micronaet/web/addons/openerp/controllers/execute.py in index(self=<openerp.controllers.execute.Execute object>, payload=u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc=')
     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'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='
   /usr/lib/python2.6/base64.py in urlsafe_b64decode(s=u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc=')
    110     The alphabet uses '-' instead of '+' and '_' instead of '/'.
    111     """
    112     return b64decode(s, '-_')
    113 
    114 
  global b64decode = <function b64decode>, s = u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc='
   /usr/lib/python2.6/base64.py in b64decode(s=u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc=', 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'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc=', global _translate = <function _translate>, altchars = '-_'
   /usr/lib/python2.6/base64.py in _translate(s=u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc=', altchars={'-': '+', '_': '/'})
     34     for k, v in altchars.items():
     35         translation[ord(k)] = v
     36     return s.translate(''.join(translation))
     37 
     38 
  s = u'eJxtU01r3DAQ_SvDXpSAMQk00OTWQws9lJYmOZQSjCKNvaL6...hlH82opielYtlAnf3bW_4tSxLJqIe5_vm3d39y_H4F12LQZc=', 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