Odoo Help


Incorrect padding error

on 5/6/13, 2:43 AM 5,613 views

hi all!

    when i try tp print a report with image(lead report) in crm.lead, I get the following error

Incorrect padding (<class 'binascii.error'="">, Error('Incorrect padding',), <traceback object="" at="" 0xb46c48ec="">) The same image and same code works perfectly well in sale.order...whats the mistake i am doing.?? Am i committing any mistake in placing the code at correct position or whats the issue? Anyone plz help me...expecting your reply...plz

Dharmesh Rathod
On 5/6/13, 4:02 AM


Sometimes it occurs due to string corrupted and base64 lib can't decode it.

Email : info@acespritech.com
Skype : acespritech
Blog : acespritechblog.wordpress.com

hey hi!! thanks for the reply..but can you plz suggest me a solution for this issue...i wanted to print an image in report...It would be helpful if you could reply..any help would be appreciated...thanks...expecting a solution from you...

on 5/6/13, 5:01 AM

Naresh Soni (nch)

--Naresh Soni (nch)--
--Naresh Soni (nch)--

Team Lead, Odoo(Formerly OpenERP) Support & OPW

Naresh Soni (nch)
On 5/6/13, 7:29 AM

Hi Selva,

This was a bug reported and fixed a long time back. Incorrect Padding Bug

So I think you need to use the updated source.


Updated source means you are asking me to switch to higher versions of openerp like v6.01 or v7...I am new to openerp so can you plz help me...Expecting your reply..

on 5/6/13, 8:26 AM

No, I am not asking you to migrate from one version to another. I asked to update the stable source because bugfixes are regularly done on stable. visit http://nightly.openerp.com/

Naresh Soni (nch)
on 5/6/13, 9:51 AM

Guys, I am using Odoo V8, commit 792b737f3faa16b3c5dab8674d89fb5c3987ff80, and I have this error when exporting products from a database and reimporting them to another instance (same version)

Daniel Blanco
on 5/8/15, 11:03 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/6/13, 2:43 AM
Seen: 5613 times
Last updated: 12/8/15, 1:22 PM