Odoo Help


Error importing datas form excel file using a wizard and base64

Alexei R. Acosta
on 11/18/14, 10:37 AM 1,163 views

I'm facing an error when importing data from an excel file using a wizard, but this error only occurs in allinone installation of openerp 6.1 The error is related with base64 and console shows "Padding error".

Since it doesn't occurs in development enviroment, I don't know what to do...

I get the excel file using a binary field in a wizard, then I try to decode it: decode_file = base64.b64decode(excel)

  and then is when  that error occurs

Like I said, in ubuntu and windows development enviroments there is no problem, but in allinone installation a padding error raices.

Any help thanks in advanced.




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

1 follower(s)


Asked: 11/18/14, 10:37 AM
Seen: 1163 times
Last updated: 3/16/15, 8:10 AM