← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 753657] Re: [6.0] Web client crashes with a CherryPy error

 

** Also affects: openobject-client-web/6.0
   Importance: Undecided
       Status: New

** Also affects: openobject-client-web/trunk
   Importance: High
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
       Status: Fix Committed

** Changed in: openobject-client-web/6.0
       Status: New => Fix Committed

** Changed in: openobject-client-web/6.0
   Importance: Undecided => High

** Changed in: openobject-client-web/trunk
       Status: Fix Committed => Fix Released

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

** Changed in: openobject-client-web/6.0
     Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)

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

Title:
  [6.0] Web client crashes with a CherryPy error

Status in OpenERP Web Client:
  Fix Released
Status in OpenERP Web Client 6.0 series:
  Fix Committed
Status in OpenERP Web Client trunk series:
  Fix Released

Bug description:
  1) Installing a new database, OpenERP 6.0.2, Postgres 8.4, Python 2.6 in Ubuntu 10.04, 
  2) then accesing the installed modules when you click in one you get a window with a parse error in cherrypy. After a while the error is not ease to reproduce /home/jplevy/baazar-projects/openerp60/web-client/openobject/tools/ast.py in parse(expr=u'0080331923549', filename='<unknown>', mode='eval')
     11         Equivalent to compile(expr, filename, mode, PyCF_ONLY_AST).
     12         """
     13         return compile(expr, filename, mode, PyCF_ONLY_AST)
     14 
     15     def literal_eval(node_or_string):
  builtin compile = <built-in function compile>, expr = u'0080331923549', filename = '<unknown>', mode = 'eval', global PyCF_ONLY_AST = 1024

  
  <type 'exceptions.SyntaxError'>: invalid token (<unknown>, line 1) 
        args = ('invalid token', ('<unknown>', 1, 13, '0080331923549')) 
        filename = '<unknown>' 
        lineno = 1 
        message = '' 
        msg = 'invalid token' 
        offset = 13 
        print_file_and_line = None 
        text = '0080331923549'

  
  3) Normal behaviour
  4) The error shows in Firefox 3.6.16, Opera 11.01 and Google Chrome 10.0.648.204

  5) OpenERP 6.0.2 mature Server revno: 3394, Web Client: 4568



References