barsi / odoo-rtl

Odoo (OpenERP) Right to left support for User Interface, report and frontend
GNU Affero General Public License v3.0
29 stars 37 forks source link

UnicodeDecodeError in Print Report #3

Closed borni-dhifi closed 10 years ago

borni-dhifi commented 10 years ago

Hi;

if i want to print a sale order , this error display :

.... ..... File "/home/borni/development/workspace_odoo/odoo-fork/addons/report/controllers/main.py", line 64, in report_routes pdf = report_obj.get_pdf(cr, uid, docids, reportname, data=options_data, context=context) File "/home/borni/development/workspace_odoo/odoo-fork/addons/report/models/report.py", line 245, in get_pdf paperformat, specific_paperformat_args, save_in_attachment File "/home/borni/development/workspace_odoo/odoo-rtl/report_rtl/models/report.py", line 163, in _run_wkhtmltopdf 'Message: %s') % (str(process.returncode), err)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 207: ordinal not in range(128)

Thanks.

barsi commented 10 years ago

sorry borni, yes, i checked it again on linux and still buggy. error msg needs to be decoded first. re-open it again.