[6.0] Web client crashes with a CherryPy error

Bug #753657 reported by Juan Pablo Levy
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
High
OpenERP R&D Web Team
6.0
Won't Fix
High
OpenERP R&D Web Team
Trunk
Fix Released
High
OpenERP R&D Web Team

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

Related branches

Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Thanks for reporting.

Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
importance: Undecided → High
status: New → Confirmed
Changed in openobject-client-web:
status: Confirmed → In Progress
summary: - Web client crashes with a CherryPy error
+ [6.0] Web client crashes with a CherryPy error
Revision history for this message
Jiten (OpenERP) (jiten-openerp) wrote :

Hello Juan Pablo Levy,

Thanks for reporting this,

It has been fixed in branch lp:~openerp-dev/openobject-client-web/6.0-bug-753657-jra.

Revision Info:
4569 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.