Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
5132 Widoki

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?


Awatar
Odrzuć
Najlepsza odpowiedź

By upgrading werkzeug,I resoled this problem.

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


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

I have the same issue.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 21
8145
3
lis 15
5904
6
lut 24
11947
0
gru 15
3971
3
maj 18
11851