Comment 7 for bug 670228

Revision history for this message
Christophe Combelles (ccomb) wrote : Re: Report generation crashes on web-client (64 Bit OS)

Also found this bug while trying to generate a sale order.
I've also added a logo, and I'm in a 64bit Debian Squeeze.

ERROR:web-services:[01]: Exception: Incorrect padding
ERROR:web-services:[02]: Traceback (most recent call last):
ERROR:web-services:[03]: File "/srv/openerp/sandbox/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 711, in go
ERROR:web-services:[04]: (result, format) = obj.create(cr, uid, ids, datas, context)
ERROR:web-services:[05]: File "/srv/openerp/sandbox/lib/python2.6/site-packages/openerp-server/report/report_sxw.py", line 399, in create
ERROR:web-services:[06]: fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
ERROR:web-services:[07]: File "/srv/openerp/sandbox/lib/python2.6/site-packages/openerp-server/report/report_sxw.py", line 462, in create_source_pdf
ERROR:web-services:[08]: return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
ERROR:web-services:[09]: File "/srv/openerp/sandbox/lib/python2.6/site-packages/openerp-server/report/report_sxw.py", line 482, in create_single_pdf
ERROR:web-services:[10]: logo = base64.decodestring(rml_parser.logo)
ERROR:web-services:[11]: File "/usr/lib/python2.6/base64.py", line 321, in decodestring
ERROR:web-services:[12]: return binascii.a2b_base64(s)
ERROR:web-services:[13]: Error: Incorrect padding