跳至內容
選單
此問題已被標幟
1 回覆
4810 瀏覽次數

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...

頭像
捨棄
最佳答案

Looks like a missing dependency


Is it Python PIL?

頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
1
7月 18
7470
7
12月 23
25359
0
4月 17
5284
1
1月 17
17527
1
4月 16
6311