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.
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
|Asked: 11/18/14, 10:37 AM|
|Seen: 659 times|
|Last updated: 3/16/15, 8:10 AM|