Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
If I whant to upload a picture in the website with using the button "Upload an image from your computer" I get the error message "IOError: encoder error -2 when writing image file".
The full log looks like follows:
2015-08-13 12:08:05,549 3867 ERROR feuerwehr openerp.addons.website.controllers.main: Failed to upload image to attachment
Traceback (most recent call last):
File "/usr/local/openerp/server/openerp/addons/website/controllers/main.py", line 342, in attach
image_data = image_save_for_web(image)
File "/usr/local/openerp/server/openerp/tools/image.py", line 141, in image_save_for_web
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1439, in save
save_handler(self, fp, filename)
File "/usr/lib/python2.7/dist-packages/PIL/JpegImagePlugin.py", line 471, in _save
ImageFile._save(im, fp, [("jpeg", (0,0)+im.size, 0, rawmode)])
File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 491, in _save
raise IOError("encoder error %d when writing image file" % s)
IOError: encoder error -2 when writing image file
The python pillow version 2.9.0 is installed.
What do I have to do to solve this issue?
Thanks a lot!
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/13/15, 9:03 AM|
|Seen: 833 times|
|Last updated: 8/13/15, 9:05 AM|