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

Odoo 9.0 on Ubuntu 15.10


Only when ticking the "Load demonstration data" do I get this error.

Without this option everything works great.

Some of the errors in the log file:

.
.
.
  File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 417, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
ParseError: "decoder jpeg not available" while parsing /opt/odoo/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>
2016-02-11 05:21:21,350 7667 ERROR ademo openerp.service.db: CREATE DATABASE failed:
.
.
.
OperationalError: Unable to use a closed cursor.
.
.
.


Avatar
Discard
Author Best Answer

 Sorry,

I just dug further and solved the problem by:

apt-get libjpeg-dev libjpeg62 libjpeg62-dev zlib1g-dev libfreetype6 libfreetype6-dev -y
pip install Pillow --upgrade


Avatar
Discard
Related Posts Replies Views Activity
2
Mar 22
11161
2
Jan 18
7398
3
Sep 16
4099
0
Mar 16
2185
2
Apr 15
10567