无法启动odoo服务器importerror web_kanban未找到

时间:2017-02-10 14:08:09

标签: odoo-8

创建odoo模块后,我尝试启动Odoo v8服务器但是当我使用此命令运行服务器时出现错误

./openerp-server --addons=openerp/addons,/home/user/Desktop/odoo_test  --xmlrpc-port 8888 -d demo_db -u demo

我收到的错误如下:

2017-02-10 14:00:32,046 29614 INFO ? openerp: OpenERP version 8.0
2017-02-10 14:00:32,046 29614 INFO ? openerp: addons paths: ['/home/software/.local/share/Odoo/addons/8.0', u'/home/software/odoo_8/openerp/addons', u'/home/software/Desktop/odoo_test']
2017-02-10 14:00:32,046 29614 INFO ? openerp: database hostname: localhost
2017-02-10 14:00:32,046 29614 INFO ? openerp: database port: 5432
2017-02-10 14:00:32,046 29614 INFO ? openerp: database user: software
2017-02-10 14:00:32,047 29614 WARNING ? openerp.modules.module: module web: module not found
2017-02-10 14:00:32,047 29614 CRITICAL ? openerp.modules.module: Couldn't load module web
2017-02-10 14:00:32,047 29614 CRITICAL ? openerp.modules.module: No module named web
2017-02-10 14:00:32,047 29614 ERROR ? openerp.service.server: 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 "/home/software/odoo_8/openerp/service/server.py", line 878, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/home/software/odoo_8/openerp/modules/module.py", line 315, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/home/software/odoo_8/openerp/modules/module.py", line 79, in load_module
    f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named web
2017-02-10 14:00:32,068 29614 WARNING ? openerp.modules.module: module web_kanban: module not found
2017-02-10 14:00:32,068 29614 CRITICAL ? openerp.modules.module: Couldn't load module web_kanban
2017-02-10 14:00:32,069 29614 CRITICAL ? openerp.modules.module: No module named web_kanban
2017-02-10 14:00:32,069 29614 ERROR ? openerp.service.server: Failed to load server-wide module `web_kanban`.
Traceback (most recent call last):
  File "/home/software/odoo_8/openerp/service/server.py", line 878, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/home/software/odoo_8/openerp/modules/module.py", line 315, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/home/software/odoo_8/openerp/modules/module.py", line 79, in load_module
    f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named web_kanban

1 个答案:

答案 0 :(得分:2)

此错误仅由于路径错误而发生,请检查您运行此命令的插件路径和路径,或者您也可以尝试使用 -

./ openerp-server --addons = addons