Skip to Content
Menu
This question has been flagged
3 Replies
4275 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?


Avatar
Discard
Best Answer

By upgrading werkzeug,I resoled this problem.

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


Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

I have the same issue.

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 21
6804
3
Nov 15
5104
6
Feb 24
10819
0
Dec 15
3073
3
May 18
10670