OpenERP-web does not start: 'OpenERPSession' object has no attribute 'jsonp_requests'

Bug #906225 reported by Francois Degrave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Hi!

Here is what I get at startup since I last bzr-pulled openerp-web:

Traceback (most recent call last):
  File "/usr/share/pyshared/werkzeug/serving.py", line 153, in run_wsgi
    execute(app)
  File "/usr/share/pyshared/werkzeug/serving.py", line 140, in execute
    application_iter = app(environ, start_response)
  File "/home/fde/repository/openobject-server_trunk/openerp/wsgi.py", line 398, in application
    result = handler(environ, start_response)
  File "/home/fde/repository/openerp-web/addons/web/common/http.py", line 431, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 406, in __call__
    return self.app(environ, start_response)
  File "/home/fde/repository/openerp-web/addons/web/common/http.py", line 466, in dispatch
    response.set_cookie(self.session_cookie, session.sid)
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/home/fde/repository/openerp-web/addons/web/common/http.py", line 359, in session_context
    v.jsonp_requests.update(stored.jsonp_requests)
AttributeError: 'OpenERPSession' object has no attribute 'jsonp_requests'

I reverted to rev 1700 (chosen randomly) and it works fine. So my very clever guess would be that error was introduced somewhere between 1700 and 1763 :-)

Cheers!

Related branches

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Added a shim to try and avoid this issue, or you can just go remove the session files themselves

Changed in openerp-web:
status: New → Fix Released
Revision history for this message
Francois Degrave (fde-be) wrote :

Ok thanks Xavier! Everything's alright at GR? Say hi from me to everybody!

See you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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