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 while importing base 64 images

By
E.M.
on 12/8/15, 11:25 AM 1,279 views

I am trying to import an image and I am getting the following error:

 

Unknown error during import: <class 'binascii.Error'>: Incorrect padding


I have read that this bug has been there in the past, I am running

Versión 8.0-20150726


 The base64 coded image is as follows (it can be checked easily in

http://codebeautify.org/base64-to-image-converter ,
it seems to be a valid base64 encoding):

iVBORw0KGgoAAAANSUhEUgAAALAAAADqCAAAAAAnyZATAAA8zElEQVR42u29W69tW3YW9n2t9THGnOuyL+dSl1P38qViDBiDrJgQEiQgECJyEQ8RQoqSPES85CmJFOUf5C2XFx4SiQiRhAeCYsEDDsGBiGBjG2NjsKuwXeVyVZ2qOre997rMOcfovX156L2POdfal1NlF0oeWDpHW3vttebss4/W2+X7vtY6he/llygQAsX1r2Hr378HX9T3Yo0A658Ugb441W+K/Tvfi2Xze7TDWteq9TXbd76X+wskfA93mBAE08la237re7bD35MFBwmESShhDlCCAKEEaQIjjAD//7HDgOoWg3ukgRJVCAGQOyQRxnoG62P452vDL7DBu65AjEKAICGCkYuN7V8AMArp3zsj/p0furAAQxAtRElm/emL9Z+IIAmCPPF36z58V+fyO9xh4ORF7++wwBAh1mNHovQfZHVtRSABAyzsudfnPwcbrq50Pfn3N5kwgMyFBpUF2+jbIZGx8DyOvvl0h0WK37sdbrtLQDiuuDqp7nAViMVIKJQc/qL3Vd6bEc76wfRCF47+FF+9+u/AJKqHIpvDVbVQiRGQ3XlE+Z0nMyJzlCiJZZw45+3lxYP+E0UBGtktmWEIq6ZUl/4hW/3hOxxhFpAEJxEQbZkxuMkA4PDO7c03r6/yfLtw3j27mkNLTKAbYDMTisbtxUPbXD56/fXNZ8/bK8+Am6kk7G2oRldodbtfucMfasM1WEUIDBIhRRnOAeyfvfP0vffe/eY7u8Pb7185D2UTGoztebi5E6WEqCg7s+Hy0etnn3vt4uHl4488fn0CUO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xhxd60IjhtLkJ3Qx9ms9/RoM4XqKUk3RQL2LL30bRkmc1pkzM0cAGz0mC2zwhx2TOGm+KWVzmo3EJ57soDM7NSr2cR8D0wiRcEPnAeYuaI4H7ycCC09+QsCFPeYG/JsmvGwPCD0fcTausTodA8JCknQ/Vj7Wpj/1AT+O3scIMGxiiW5sLbkYjb6z08eTocHObO3U5mV5yXxELPoyDQ6/z8KHIbLGcbrIvuyvsGmuf4bnf4OzSJRqxNCcEBAmBWh0Rooe3KYDZhbxTSiIDyYNruY1VzLIu5U6W1vILTFqW8DMx41Vf6TsymJXCGW04qQwaHAZGX8NnHXAqARAtuysBbjkDaDdeXYmuqqXNMrNQb3ymK+frR3rmkpO/SIr57o///+svwLxb8LxZ85+v/BelmsGx87g3RAAAAAElFTkSuQmCC

how are you trying to import it?

Axel Mendoza
on 12/8/15, 1:03 PM

it is part of "image" column in a CSV. It works perfectly with other images. I am trying to guess that it might be related to image size or to number of records or something like that.

E.M.
on 12/8/15, 1:10 PM

I strongly suspect that this is due to image size, which is the maximum image size you can upload via CSV? Is it possible to increase it?

E.M.
on 12/10/15, 5:25 PM
1

Axel Mendoza

--Axel Mendoza--
10238
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 12/8/15, 2:07 PM

The thing is using csv you don't have the option to specify the field node type="base64" that will encode your image data using base64, better do it using xml to load the data.


Take an example

<record id="ax" model="res.country">
<field name="name">Åland Islands</field>
<field name="code">ax</field>
<field name="image" type="base64" file="base/static/img/country_flags/ax.png"></field>
<field name="currency_id" ref="EUR"/>
</record>

Or put directly the base64 data

<record id="ax" model="res.country">

<field name="name">Åland Islands</field>

<field name="code">ax</field>

<field name="image" type="base64">iVBORw0KGgoAAAANSUhEUgAAAH4AAABmCAIAAACCxLIpAABAa0lEQVR4nO29d7SlV3EnWrXDF0++

OXVO6lZo5dBIAsmASCILY5KxwWDjsf0A28PMcg7MPAYPg+3BAwaDkUAIBAKBAkq0cg6tTupudbp9

870nf3GHen+cVlsw0nqjVkN7vUetXr3uueuec/b+fbVr1676VW0kIvilnAxhJ3sA//+VX0J/0uSX</field>

<field name="currency_id" ref="EUR"/>

</record>

To load this kind of xml data just define it in an xml file defined in the data key of the __openerp__.py dict, like you do for views, actions and menus, it's the same, just records fields tuples that you are inserting in the record model

Where can I find an example for importing via XML?

E.M.
on 12/23/15, 4:26 AM

I put an example in the answer update since I cannot put it in comments

Axel Mendoza
on 12/23/15, 4:44 AM

Is it possible to include the whole base64 stream/string directly rather than pointing to an external file? And how do I import that XML file (never tried it)?

E.M.
on 12/23/15, 5:45 AM

Check the answer again since I update it with another example and how to load it

Axel Mendoza
on 12/23/15, 6:12 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

1 follower(s)

Stats

Asked: 12/8/15, 11:25 AM
Seen: 1279 times
Last updated: 12/30/15, 5:14 PM