Skip to Content
Menu
This question has been flagged
1 Reply
3837 Views

I get this error when I'm creating in Odoo9 a new database with demodata:

Database creation error: "decoder jpeg not available" while parsing
 /opt/odoo/odoo-server/openerp/addons/base/base_demo.xml:38, 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>



How can I fix that? I used the latest nightly build odoo9...

Avatar
Discard
Best Answer

Looks like a missing dependency


Is it Python PIL?

Avatar
Discard
Author

I fixed it with installing those packs: sudo apt-get install python-imaging, sudo apt-get install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev, pip install Pillow

Related Posts Replies Views Activity
1
Jul 18
6107
7
Dec 23
23462
0
Apr 17
4401
1
Jan 17
15837
1
Apr 16
5308