Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
8 Відповіді
33938 Переглядів

Odoo configuration file: /etc/odoo11.conf

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = aristo-it-1
db_password = False
logfile = /var/log/odoo11/odoo-server.log
addons_path = /opt/odoo/odoo11/addons,/opt/odoo/odoo11/odoo/addons

Server Log:

2017-10-30 06:25:50,393 3939 CRITICAL ? odoo.modules.module: Couldn't load module web 2017-10-30 06:25:50,393 3939 CRITICAL ? odoo.modules.module: No module named 'web'
2017-10-30 06:25:50,393 3939 ERROR ? odoo.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 "/opt/odoo/odoo-11.0/odoo/service/server.py", line 869, in load_server_wide_modules
    odoo.modules.module.load_openerp_module(m)
  File "/opt/odoo/odoo-11.0/odoo/modules/module.py", line 368, in load_openerp_module
    __import__('odoo.addons.' + module_name)
  File "/opt/odoo/odoo-11.0/odoo/modules/module.py", line 61, in load_module
    f, path, (_suffix, _mode, type_) = imp.find_module(addon_name, ad_paths)
  File "/usr/lib/python3.5/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'web'
2017-10-30 06:25:50,418 3939 CRITICAL ? odoo.modules.module: Couldn't load module web_kanban 2017-10-30 06:25:50,418 3939 CRITICAL ? odoo.modules.module: No module named 'web_kanban'
2017-10-30 06:25:50,418 3939 ERROR ? odoo.service.server: Failed to load server-wide module `web_kanban`.
Traceback (most recent call last):
  File "/opt/odoo/odoo-11.0/odoo/service/server.py", line 869, in load_server_wide_modules
    odoo.modules.module.load_openerp_module(m)
  File "/opt/odoo/odoo-11.0/odoo/modules/module.py", line 368, in load_openerp_module
    __import__('odoo.addons.' + module_name)
  File "/opt/odoo/odoo-11.0/odoo/modules/module.py", line 61, in load_module
    f, path, (_suffix, _mode, type_) = imp.find_module(addon_name, ad_paths)
  File "/usr/lib/python3.5/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'web_kanban'
Аватар
Відмінити

I am also having this same error, but Odoo is running without issues, only "ImportError: No module named 'web_kanban' " error is shown in the terminal.

Найкраща відповідь

Did you double check the location of your addons modules? Did you double check the paths in the .conf file? Did you double check the folder/file permissions on your addon folders?

Аватар
Відмінити
Автор

my odoo11 located at /opt/odoo/odoo-11.0/

There was a mistake in /etc/odoo.conf file

addons_path = /opt/odoo/odoo-11.0/addons,/opt/odoo/odoo-11.0/odoo/addons

I started server using ./odoo-bin --addons-path="addons,odoo/addons"

Автор

But the same error arises

Did you try to start Odoo with the full paths and/or the conf-file parameter instead?

Автор

I tried in two different ways

1. ./odoo-bin --addons-path="addons,odoo/addons"

2. ./odoo-bin -c /etc/odoo11.conf

Odoo running but web_kanban error still showing

Найкраща відповідь

It's actually a bug inside Jinja2. Update it to version 2.11.2


This solved my issue, you can check the requirement.txt and install the specified version


Thanks


Аватар
Відмінити
Найкраща відповідь

When you switch to another odoo version then Simply just delete your ".odoorc" file from the home directory. 

it will work.


Аватар
Відмінити
Найкраща відповідь

When you switch to another odoo version then Simply just delete your ".odoorc" file from the home directory.

Аватар
Відмінити
Найкраща відповідь

I resolve the issue adding in the .conf file in /etc/odoo/ the addons folder inside odoo's core folder:

...

addons_path = /usr/lib/python3/dist-packages/odoo/addons,/opt/odoo-dev/11.0/addons,/opt/odoo-dev/custom-addons11

...

Аватар
Відмінити
Найкраща відповідь

this happens also to me!

Аватар
Відмінити
Найкраща відповідь

I am also facing this issue in odoo 11, everything is ok in conf file and server works though it shows :

ImportError: No module named 'web_kanban'

can someone give me some idea to track the exact issue of this error ?

Аватар
Відмінити
Найкраща відповідь

This error might occur when installing newer versions of Odoo on same machine.when a .openerp_serverrc file already exists with old addons configuration. Edit the .openerp_serverrc file with newer configuration and it will work.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
лип. 24
3132
1
черв. 24
5517
1
жовт. 23
11399
1
жовт. 23
98
1
серп. 23
2194