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

[8.0RC1] ParseError: "decoder jpeg not available" while parsing

By
Fabian Tribrunner
on 9/16/14, 10:07 AM 3,092 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

2
Fabian Tribrunner
On 9/16/14, 10:44 AM

I might get it done:

pip uninstall PIL

pip install pillow

0
youta
On 4/19/16, 11:57 AM

Or upgrade pillow
$ sudo pip install pillow --upgrade

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: 9/16/14, 10:07 AM
Seen: 3092 times
Last updated: 4/19/16, 11:57 AM