Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
5129 Tampilan

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
Buang
Jawaban Terbai

By upgrading werkzeug,I resoled this problem.

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


Avatar
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

I have the same issue.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 21
8144
3
Nov 15
5900
6
Feb 24
11946
0
Des 15
3970
3
Mei 18
11844