Skip to Content
Menu
This question has been flagged
3 Replies
3421 Views

Please Friends!!!

I have tried to do this:

sudo su openerp

cd /opt/openerp/v7/server/

./openerp-server -c /etc/openerp-server.conf &

Here is my openerp_server.conf:

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = ubuntu
db_password = False
addons_path = /opt/openerp/v7/addons, /opt/openerp/v7/addons/web/addons, /opt/openerp/v7/addons/web/web_kanban

I got this error:  NO HANDLER FOUND.

and this:

2015-08-11 11:55:11,938 6641 INFO ? openerp: addons paths: /opt/openerp/v7/addons,/opt/openerp/v7/server/ /opt/openerp/v7/addons/web/addons,/opt/openerp/v7/server/ /opt/openerp/v7/addons/web/web_kanban
2015-08-11 11:55:11,938 6641 INFO ? openerp: database hostname: localhost
2015-08-11 11:55:11,938 6641 INFO ? openerp: database port: 5432
2015-08-11 11:55:11,939 6641 INFO ? openerp: database user: ubuntu
2015-08-11 11:55:11,939 6641 WARNING ? openerp.modules.module: module web: module not found
2015-08-11 11:55:11,940 6641 CRITICAL ? openerp.modules.module: Couldn't load module web
2015-08-11 11:55:11,940 6641 CRITICAL ? openerp.modules.module: No module named web
2015-08-11 11:55:11,940 6641 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/v7/server/openerp/service/__init__.py", line 60, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/v7/server/openerp/modules/module.py", line 405, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/opt/openerp/v7/server/openerp/modules/module.py", line 132, in load_module
    f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named web
2015-08-11 11:55:11,940 6641 WARNING ? openerp.modules.module: module web_kanban: module not found
2015-08-11 11:55:11,940 6641 CRITICAL ? openerp.modules.module: Couldn't load module web_kanban
2015-08-11 11:55:11,940 6641 CRITICAL ? openerp.modules.module: No module named web_kanban
2015-08-11 11:55:11,940 6641 ERROR ? openerp.service: Failed to load server-wide module `web_kanban`.

Help please..

Avatar
Discard
Author Best Answer

I found the solution Guys!!

Now everything work fine:

So i have deleted the addons and redownload them from https://www.odoo.com/fr_FR/page/download.

And my openerp_server.conf file is:

[options]

; This is the password that allows database operations:

; admin_passwd = admin

db_host = localhost

db_port = 5432

db_user = odoo

db_password = odoo

addons_path = /opt/openerp/v7/addons

Regards.

Avatar
Discard
Best Answer

check your addons path from config file..
if you took nightly build as tar.gz, and unpacked it into /opt/openerp/v7

then your addons_path should be:
/opt/openerp/v7/openerp/addons

or, if source is from github addons path should be:

opt/openerp/v7/addons,opt/openerp/v7/openerp/addons

note! : do not use spaces behind commas if you have more addon paths...


also, once the web module becomes accesible, you might experience database auth problem, 

user openerp, connecting to database with ubuntu username, and using no password smells like problem.. 
but first get the webserver working.. 

hope it helps : )


Avatar
Discard
Best Answer

There is problem here :

addons_path = /opt/openerp/v7/addons, /opt/openerp/v7/addons/web/addons, /opt/openerp/v7/addons/web/web_kanban

Last 2 paths are not proper. For example, Why to add web_kanban path if it's parent folder "web" is added already ? Same for 2nd path. 

Avatar
Discard
Related Posts Replies Views Activity
4
Jan 19
29512
2
May 22
31150
0
Feb 22
2476
0
Mar 19
2685
0
Jan 19
3632