Odoo Help


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.


cannot identify image file <cStringIO.StringI object at > in python virtual enviroment

DRC SYstems India Pvt. Ltd.
on 2/25/16, 10:52 AM 378 views

Hello All,

Here is the issues that I am facing cannot identify image file <cStringIO.StringI object at some memory location>.
When I try to install odoo 9 with demo data it gives that error. Below is log of my PIL Imaging Library inside virtual environment.




Python modules loaded from ./PIL

Binary modules loaded from ./PIL


--- PIL CORE support ok

*** TKINTER support not installed

--- JPEG support ok

--- ZLIB (PNG/ZIP) support ok

--- FREETYPE2 support ok

*** LITTLECMS support not installed


Running selftest:

--- 57 tests passed

It says this file image is not in acceptable format and other module images after that :-

 while parsing openerp/addons/base/base_data.xml:99, near

<record id="public_user" model="res.users">

<field name="name">Public user</field>

<field name="login">public</field>

<field name="password"/>

<!-- Avoid auto-including this demo user in any default group -->

<field name="groups_id" eval="[(6,0,[])]"/>

<field name="image" type="base64" file="base/static/img/public_user-image.png"/>

<field name="partner_id" ref="public_partner"/>

<field name="active" eval="False"/>

Would like to know what is the possible solution to this the server has got multiple versions of odoo installed and all are working in virtualenviroment.

 Versions in odoo 8 works well for me I can upload png images but it creates issue in case of default odoo images that are installed in demo data.

Though I have tried a lot of stuff but seems like things are not working on it. Though I know I can wipe out and install if from scratch but that won't be feasible in my case and other cases too.

Would request if any one has a solution to it can help me out for the same.

Thanks and Regards

Chand Prakash Singh Rawat

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)


Asked: 2/25/16, 10:52 AM
Seen: 378 times
Last updated: 2/25/16, 11:05 AM