Odoo Help

Welcome!

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

0

Images in Odoo v9.0 are not shown

By
Hardik Patadia
on 9/30/15, 1:10 AM 749 views

I was evaluating Odoo v9.0 and found that it is having some problem in showing the images. It prompts up with an error "Could not display the selected Image". If you open the product form view or company form view it comes up with the error. Even if you try to save new image to a product, after saving the image again it comes with the same error and image is not displayed.

Does it require any configuration? Does anybody knows the reason for this?


0
fenshuajiang
On 10/14/15, 8:32 PM

By upgrading werkzeug,I resoled this problem.

For convenientI ,I made GreenOdoo9.0,it works very well.


0
Arjan Duijs
On 10/14/15, 12:07 PM

I am having the same issue.

On stackoverflow i found a similar issue which was resolved by up[grading werkzeug. (hopefully this helps for you too)

Unfortunately this didnt work for me and i am still stuck.

Noticed that it is for all images that have a "data-default-src"

<img class="oe_topbar_avatar" data-default-src="http://odoo.sapelli.pe/web/static/src/img/user_menu_avatar.png" src="http://odoo.sapelli.pe/web/image?model=res.users&amp;field=image_small&amp;id=1">

where actually the data-default-source is working, while the "src" isnt

below the same error but with the 9.0 install

mod_wsgi (pid=1998): Exception occurred processing WSGI script '/home/josesapelli/webapps/odoo/odoo/openerp-wsgi.py'.

Traceback (most recent call last):

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/service/wsgi_server.py", line 184, in application

return application_unproxied(environ, start_response)

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/service/wsgi_server.py", line 170, in application_unproxied

result = handler(environ, start_response)

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1416, in __call__

return self.dispatch(environ, start_response)

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1390, in __call__

return self.app(environ, start_wrapped)

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/werkzeug/wsgi.py", line 588, in __call__

return self.app(environ, start_response)

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1586, in dispatch

return response(environ, start_response)

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1207, in __call__

start_response(status, headers)

File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1389, in start_wrapped

start_response(status, new_headers)

ValueError: no space following status code

0
Dare Ojo-Bello
On 10/5/15, 7:14 PM

I have the same issue.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 9/30/15, 1:10 AM
Seen: 749 times
Last updated: 10/14/15, 8:32 PM