OpenERP 7.0 Backup Issue TypeError: Expected bytes

Bug #1210542 reported by Давид
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Hello,

Traceback (most recent call last):
  File "/Users/opalam/OpenERP/web/addons/web/http.py", line 285, in dispatch
    r = method(self, **self.params)
  File "/Users/opalam/OpenERP/web/addons/web/controllers/main.py", line 815, in backup
    {'fileToken': int(token)}
  File "/Users/opalam/OpenERP/web/addons/web/http.py", line 332, in make_response
    response.set_cookie(k, v)
  File "/Library/Python/2.7/site-packages/werkzeug/wrappers.py", line 960, in set_cookie
    self.charset))
  File "/Library/Python/2.7/site-packages/werkzeug/http.py", line 905, in dump_cookie
    value = to_bytes(value, charset)
  File "/Library/Python/2.7/site-packages/werkzeug/_compat.py", line 106, in to_bytes
    raise TypeError('Expected bytes')
TypeError: Expected bytes

I am facing bug when I am going to export database or can say backup the database.

Please fill your idea or patch to resolve this issue.

Thanks,
Kettor

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.