Comment 10 for bug 670228

Revision history for this message
Julian Robbins (joolsr) wrote : Re: Report generation crashes on web-client (64 Bit OS)

I've just started getting similar issues with a incorrect padding that seems to be related to use of the company logo.

Traceback (most recent call last):
  File "/usr/share/openerp-server/service/web_services.py", line 711, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/usr/share/openerp-server/report/report_sxw.py", line 399, in create
    fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
  File "/usr/share/openerp-server/report/report_sxw.py", line 462, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/usr/share/openerp-server/report/report_sxw.py", line 482, in create_single_pdf
    logo = base64.decodestring(rml_parser.logo)
  File "/usr/lib/python2.6/base64.py", line 321, in decodestring
    return binascii.a2b_base64(s)
Error: Incorrect padding

I'm also using 64 bit ubuntu 10.04 FWIW. Its a major annoyance if you cant change reports, so please fix