我需要安装 openERP 7 但我只有 ubuntu 10.04 可用。我曾经deb http://ppa.launchpad.net/chris-lea/python-unittest2/ubuntu lucid main
在 ubuntu 10.04 上安装 python-unittest2 以获得 openerp 所需的所有依赖项。
我遵循了theopensourcerer.com教程,因此它获得了最新版本的 tarball。路径是 /opt/openerp/server。下面是我的配置
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = openerp
db_password = mypassword
logfile = /var/log/openerp/openerp-server.log
当我运行此命令时:/opt/openerp/server/openerp-server 我有错误:No handler found.
在 web 端,我在系统日志上有以下错误:
2014-03-06 19:35:54,372 14586 INFO ? openerp: OpenERP version 7.0-20140306-001044
2014-03-06 19:35:54,372 14586 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2014-03-06 19:35:54,372 14586 INFO ? openerp: database hostname: localhost
2014-03-06 19:35:54,372 14586 INFO ? openerp: database port: 5432
2014-03-06 19:35:54,372 14586 INFO ? openerp: database user: openerp
2014-03-06 19:35:54,427 14586 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-03-06 19:35:54,428 14586 CRITICAL ? openerp.modules.module: No module named wsgi
2014-03-06 19:35:54,428 14586 ERROR ? openerp.service: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
File "/opt/openerp/server/openerp/service/__init__.py", line 60, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/opt/openerp/server/openerp/modules/module.py", line 405, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/opt/openerp/server/openerp/modules/module.py", line 133, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/openerp/server/openerp/addons/web/__init__.py", line 1, in <module>
import http
File "/opt/openerp/server/openerp/addons/web/http.py", line 32, in <module>
import werkzeug.wsgi
ImportError: No module named wsgi
2014-03-06 19:35:54,437 14586 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-03-06 19:35:54,437 14586 INFO ? openerp: OpenERP server is running, waiting for connections...
当我检查时,/var/log/openerp/openerp-server.log
我读到:
2014-03-06 17:20:20,674 13160 INFO ? openerp: OpenERP version 7.0-20140306-001044
2014-03-06 17:20:20,674 13160 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.6/openerp/addons
//....
该消息与上述消息类似,但路径更改为/usr/lib/pymodules/python2.6/openerp/addons
所以我通过包含/usr/lib/pymodules/python2.6/openerp/addons
和编辑配置文件/opt/openerp/server/openerp/addons
并重新启动 openerp 但它没有帮助。
有没有人在 ubuntu 10.04 上成功安装过 openERP 7?帮助将不胜感激
谢谢