This question has been flagged
2 Replies
7127 Views

I tried Install v 8.0 via
deb nightly auto install via apt-get OR
git clone manually.

install new DB without demodata in DE works
some warings: WARNING test_DB openerp.addons.base.ir.ir_translation: module web_tests: no translation for language de

login is possible
but i cant load jpg. only png.

If I try to build a new database with demodata in EN or DE this error comes:

.....

 File "/usr/local/lib/python2.7/dist-packages/Pillow-2.5.3-py2.7-linux-x86_64.egg/PIL/Image.py", line 413, in _getdecoder
    raise IOError("decoder %s not available" % decoder_name)
ParseError: "decoder jpeg not available" while parsing /opt/openerp/odoo/openerp/addons/base/base_demo.xml:32, near
<record id="user_demo" model="res.users">
            <field name="partner_id" ref="base.partner_demo"/>
            <field name="login">demo</field>
            <field name="password">demo</field>
            <field name="signature">--
Mr Demo</field>
            <field name="company_id" ref="main_company"/>
            <field name="groups_id" eval="[(6,0,[ref('base.group_user'), ref('base.group_partner_manager')])]"/>
            <field name="image" type="base64" file="base/static/img/user_demo-image.jpg"/>
        </record>
 

I tried 
https://github.com/odoo/odoo/issues/612
http://pythonadventures.wordpress.com/2013/05/19/problems-with-pil-use-pillow-instead/
http://stackoverflow.com/questions/18504835/pil-decoder-jpeg-not-available-on-ubuntu-x64

https://www.odoo.com/forum/help-1/question/ioerror-decoder-jpeg-not-available-38501

but nothing worked for me...some out there who can help me? Any ideas?
thx
fabian

Avatar
Discard
Author Best Answer

I might get it done:

pip uninstall PIL

pip install pillow

Avatar
Discard
Best Answer

Or upgrade pillow
$ sudo pip install pillow --upgrade

Avatar
Discard