I've created a brand new Virtual Box with Ubuntu 14.04 installed.
I install Odoo using:
http://www.schenkels.nl/2015/09/odoo-v9-install-script-ubuntu-14-04/
It works without any problems and i can start the Odoo server and point my browser to:
localhost:8069
the database creation screen appears and i enter the needed information. I avoid seeding the database with data sinde it gives me other problems.
The installation starts but stops shortly there after with this error:
Database creation error: "'module' object has no attribute 'register_save_all'" while parsing /opt/odoo/odoo-server/openerp/addons/base/base_data.xml:26, near <record id="main_partner" model="res.partner" context="{'default_is_company': True}"> <field name="name">My Company</field> <field name="company_id" eval="None"/> <field name="image" type="base64" file="base/static/img/main_partner-image.png"/> <field name="customer" eval="False"/> <field name="is_company" eval="True"/> <field name="street"/> <field name="city"/> <field name="zip"/> <field name="phone"/> <field name="email">info@yourcompany.com</field> <field name="website">www.yourcompany.com</field> </record>
In the Log i see:
.
.
.
File "/opt/odoo/odoo-server/openerp/tools/image.py", line 265, in image_resize_images
avoid_resize_big=True, avoid_resize_medium=False, avoid_resize_small=False))
File "/opt/odoo/odoo-server/openerp/tools/image.py", line 252, in image_get_resized_images
return_dict[big_name] = image_resize_image_big(base64_source, avoid_if_small=avoid_resize_big)
File "/opt/odoo/odoo-server/openerp/tools/image.py", line 136, in image_resize_image_big
return image_resize_image(base64_source, size, encoding, filetype, avoid_if_small)
File "/opt/odoo/odoo-server/openerp/tools/image.py", line 53, in image_resize_image
image = Image.open(image_stream)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2243, in open
Opens and identifies the given image file.
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 352, in preinit
File "/usr/local/lib/python2.7/dist-packages/PIL/GifImagePlugin.py", line 677, in <module>
Image.register_save_all(GifImageFile.format, _save_all)
ParseError: "'module' object has no attribute 'register_save_all'" while parsing /opt/odoo/odoo-server/openerp/addons/base/base_data.xml:26, near
<record id="main_partner" model="res.partner" context="{'default_is_company': True}">
<field name="name">My Company</field>
<field name="company_id" eval="None"/>
<field name="image" type="base64" file="base/static/img/main_partner-image.png"/>
<field name="customer" eval="False"/>
<field name="is_company" eval="True"/>
<field name="street"/>
<field name="city"/>
<field name="zip"/>
<field name="phone"/>
<field name="email">info@yourcompany.com</field>
<field name="website">www.yourcompany.com</field>
</record>
What's going on here?
I have done the (obviously) obligatory:
# uninstall PIL sudo pip uninstall PIL # install libjpeg-dev with apt sudo apt-get install libjpeg-dev # reinstall pillow pip install -I pillow
but the problem persists.
Any input welcome.
Best regards
Kim