Skip to content

Instantly share code, notes, and snippets.

@florentx
Created July 11, 2013 08:28
Show Gist options
  • Select an option

  • Save florentx/5973595 to your computer and use it in GitHub Desktop.

Select an option

Save florentx/5973595 to your computer and use it in GitHub Desktop.
OpenERP 6.1 with Werkzeug 0.9.1
2013-07-11 08:06:29,372 20378 ERROR ? openerp.addons.web.common.http.HttpRequest.dispatch: An error occurred while handling a json request
Traceback (most recent call last):
File "/srv/openerp/instances/openerp/src/web/addons/web/common/http.py", line 260, in dispatch
r = method(controller, self, **self.params)
File "/srv/openerp/instances/openerp/src/web/addons/web/controllers/main.py", line 1876, in index
cookies={'fileToken': int(token)})
File "/srv/openerp/instances/openerp/src/web/addons/web/common/http.py", line 307, in make_response
response.set_cookie(k, v)
File "/srv/openerp/.buildout/eggs/Werkzeug-0.9.1-py2.6.egg/werkzeug/wrappers.py", line 960, in set_cookie
self.charset))
File "/srv/openerp/.buildout/eggs/Werkzeug-0.9.1-py2.6.egg/werkzeug/http.py", line 905, in dump_cookie
value = to_bytes(value, charset)
File "/srv/openerp/.buildout/eggs/Werkzeug-0.9.1-py2.6.egg/werkzeug/_compat.py", line 106, in to_bytes
raise TypeError('Expected bytes')
TypeError: Expected bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment