Odoo 8错误:werkzeug:请求时出错:

时间:2015-04-04 20:17:47

标签: python-2.7 odoo werkzeug odoo-8

当我启动odoo服务器时,它正确启动,显示OK消息:

root@des [/opt/odoo/addons/web]# /etc/init.d/odoo start
Starting Odoo Server Daemon (odoo-server):                 [  OK  ]
root@des [/opt/odoo/addons/web]#

当我看到日志文件时,我看到了:

root@des [/opt/odoo/addons/web]# tail -50 /var/log/odoo/odoo-server.log
2015-04-04 19:46:33,637 21486 INFO ? openerp: OpenERP version 8.0
2015-04-04 19:46:33,637 21486 INFO ? openerp: addons paths: ['/home/odoo/.local/share/Odoo/addons/8.0', u'/opt/odoo/addons', '/opt/odoo/openerp/addons']
2015-04-04 19:46:33,637 21486 INFO ? openerp: database hostname: localhost
2015-04-04 19:46:33,637 21486 INFO ? openerp: database port: 5432
2015-04-04 19:46:33,637 21486 INFO ? openerp: database user: odoo
2015-04-04 19:46:33,931 21486 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
root@des [/opt/odoo/addons/web]#

我第一次连接到该站点时,出现内部服务器错误网页,并在日志中出现此错误:

2015-04-04 20:08:31,283 25128 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
2015-04-04 20:08:31,961 25128 INFO ? openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2015-04-04 20:08:31,981 25128 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
  File "/home/odoo/odoo/lib/python2.7/site-packages/werkzeug/serving.py", line 180, in run_wsgi
    execute(self.server.app)
  File "/home/odoo/odoo/lib/python2.7/site-packages/werkzeug/serving.py", line 168, in execute
    application_iter = app(environ, start_response)
  File "/opt/odoo/openerp/service/server.py", line 281, in app
    return self.app(e, s)
  File "/opt/odoo/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/opt/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/opt/odoo/openerp/http.py", line 1279, in __call__
    self.load_addons()
  File "/opt/odoo/openerp/http.py", line 1298, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/odoo/openerp/modules/module.py", line 80, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/opt/odoo/addons/report/__init__.py", line 2, in <module>
    import models
  File "/opt/odoo/addons/report/models/__init__.py", line 1, in <module>
    import report
  File "/opt/odoo/addons/report/models/report.py", line 71, in <module>
    version = re.search('([0-9.]+)', out).group(0)
AttributeError: 'NoneType' object has no attribute 'group'

如何解决该错误?

由于 海梅

0 个答案:

没有答案