Odoo Help

Welcome!

This community 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.

1

Incorrect padding error

By
selva
on 5/6/13, 2:43 AM 4,121 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

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

Hi,

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...

selva
on 5/6/13, 5:01 AM
0

Naresh Soni (nch)

--Naresh Soni (nch)--
Tiny ERP Pvt Ltd
http://www.odoo.com
1281
| 2 2 4
India
--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.

Thanks,

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..

selva
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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