Can't print: raise TypeError('Expected bytes') in the logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Web Team | ||
OpenERP Community Backports (Web) |
Fix Released
|
High
|
Ronald Portier (Therp) | ||
6.1 |
New
|
Undecided
|
Unassigned |
Bug Description
We have openerp v7 installation. When I'm trying to print any page with the aid of "Print" submenu I obtain following in UI:
Uncaught SyntaxError: Unexpected end of input
http://
And following in the logs:
2013-06-22 07:12:50,987 24036 ERROR openerp openerp.
Traceback (most recent call last):
File "/usr/openerp/
r = method(self, **self.params)
File "/usr/openerp/
cookies=
File "/usr/openerp/
response.
File "/usr/lib64/
self.charset))
File "/usr/lib64/
value = to_bytes(value, charset)
File "/usr/lib64/
raise TypeError('Expected bytes')
TypeError: Expected bytes
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 38 lines (+4/-4)1 file modifiedaddons/web/controllers/main.py (+4/-4)
- Holger Brunn (Therp): Approve (code review)
-
Diff: 38 lines (+4/-4)1 file modifiedaddons/web/controllers/main.py (+4/-4)
- Cristian Salamea (community): Approve
- Guewen Baconnier @ Camptocamp: Approve
- Stefan Rijnhart (Opener): Approve
-
Diff: 20 lines (+2/-2)1 file modifiedaddons/web/common/http.py (+2/-2)
affects: | openobject-addons → openerp-web |
Changed in openerp-web: | |
status: | Fix Committed → Fix Released |
no longer affects: | ocb-web/7.0 |
Hello Ilia Naryzhny,
Currently, I have checked your issue with latest trunk as well as with 7.0, But I am not able to reproduce this issue. Its working fine at all. So, Would you please check it again with and notify us if you still have any issue.
Thanks & waiting for your answer.