Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
5136 Zobrazení

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
Zrušit
Nejlepší odpověď

By upgrading werkzeug,I resoled this problem.

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


Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

I have the same issue.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 21
8150
3
lis 15
5910
6
úno 24
11950
0
pro 15
3975
3
kvě 18
11858