[新手求助]openerp 安装运行时错误 web不能运行
-
配置为:
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = openerp
db_password = 123456
addons_path = e:\openerp\openerp\addons
但总是出错运行;win7 环境下源代码运行,7.0 8.0都同样的问题。
是啥原因,怎么解决呢?
日志如下(openerp7.0):
2014-10-28 21:05:32,339 2512 INFO ? openerp: OpenERP version 7.0-20140804-231303
2014-10-28 21:05:32,341 2512 INFO ? openerp: addons paths: e:\openerp\openerp\addons
2014-10-28 21:05:32,341 2512 INFO ? openerp: database hostname: localhost
2014-10-28 21:05:32,342 2512 INFO ? openerp: database port: 5432
2014-10-28 21:05:32,342 2512 INFO ? openerp: database user: openerp
2014-10-28 21:05:32,569 2512 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-10-28 21:05:32,569 2512 CRITICAL ? openerp.modules.module: [Error 3] : 'e:\openerp\openerp\addons/.'
2014-10-28 21:05:32,581 2512 ERROR ? openerp.service: Failed to load server-wide moduleweb
.
Theweb
module is provided by the addons found in theopenerp-web
project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
File "E:/openerp/openerp\openerp\service_init_.py", line 60, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "E:/openerp/openerp\openerp\modules\module.py", line 415, in load_openerp_module
getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
File "E:\openerp\openerp\openerp\addons\web\http.py", line 628, in wsgi_postload
openerp.wsgi.register_wsgi_handler(Root())
File "E:\openerp\openerp\openerp\addons\web\http.py", line 517, in init
self.load_addons()
File "E:\openerp\openerp\openerp\addons\web\http.py", line 571, in load_addons
for module in sorted(os.listdir(str(addons_path))):
WindowsError: [Error 3] : 'e:\openerp\openerp\addons/.'
2014-10-28 21:05:32,608 2512 INFO ? openerp: OpenERP server is running, waiting for connections...
2014-10-28 21:05:32,609 2512 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069