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.

0

Error importing datas form excel file using a wizard and base64

By
Alexei R. Acosta
on 11/18/14, 10:37 AM 659 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.

 

 

 

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

1 follower(s)

Stats

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