Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
8 Replies
33459 Tampilan

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'
Avatar
Buang

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.

Jawaban Terbai

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?

Avatar
Buang
Penulis

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"

Penulis

But the same error arises

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

Penulis

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

Jawaban Terbai

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


Avatar
Buang
Jawaban Terbai

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

it will work.


Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Jawaban Terbai

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

...

Avatar
Buang
Jawaban Terbai

this happens also to me!

Avatar
Buang
Jawaban Terbai

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 ?

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jul 24
1951
1
Jun 24
4488
1
Okt 23
10094
1
Okt 23
98
1
Agu 23
2193