图像未显示在Odoo v9.0 / python 2.7中

时间:2015-10-14 13:03:24

标签: python odoo werkzeug

在新安装的Odoo 9(https://github.com/odoo/odoo)中,联系人和产品图片不会显示。 我也无法更改它们,生成通知"图像无法显示"

在另一个类似的案例中,我发现是升级werkzeug的解决方案

werkzeug已经是最新版了。

pip install --upgrade werkzeug
Requirement already up-to-date: werkzeug in ./lib/python2.7
下面的

是日志的孤立部分

 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 个答案:

没有答案