Skip to Content
Menu
This question has been flagged
2 Replies
27935 Views

Hi, 

I create a new Odoo 8 module, and I started the server using the following command: python odoo.py --addons openerp/addons
(my project is created in / home / othmane / Odoo / openerp / addons)

in the browser gives me this erreur : 

Not Found

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

and this is what gives me in the terminal: 

othmane@othmane-HP-Pavilion-dv6-Notebook-PC:~/odoo$ python odoo.py --addons openerp/addons
2015-01-18 17:12:08,548 13154 INFO ? openerp: OpenERP version 8.0
2015-01-18 17:12:08,548 13154 INFO ? openerp: addons paths: ['/home/othmane/.local/share/Odoo/addons/8.0', u'/home/othmane/odoo/openerp/addons']
2015-01-18 17:12:08,548 13154 INFO ? openerp: database hostname: localhost
2015-01-18 17:12:08,548 13154 INFO ? openerp: database port: 5432
2015-01-18 17:12:08,548 13154 INFO ? openerp: database user: othmane
2015-01-18 17:12:08,549 13154 WARNING ? openerp.modules.module: module web: module not found
2015-01-18 17:12:08,549 13154 CRITICAL ? openerp.modules.module: Couldn't load module web
2015-01-18 17:12:08,549 13154 CRITICAL ? openerp.modules.module: No module named web
2015-01-18 17:12:08,549 13154 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/othmane/odoo/openerp/service/server.py", line 850, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/home/othmane/odoo/openerp/modules/module.py", line 314, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/home/othmane/odoo/openerp/modules/module.py", line 78, in load_module
    f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named web
2015-01-18 17:12:08,549 13154 WARNING ? openerp.modules.module: module web_kanban: module not found
2015-01-18 17:12:08,549 13154 CRITICAL ? openerp.modules.module: Couldn't load module web_kanban
2015-01-18 17:12:08,550 13154 CRITICAL ? openerp.modules.module: No module named web_kanban
2015-01-18 17:12:08,550 13154 ERROR ? openerp.service.server: Failed to load server-wide module `web_kanban`.
Traceback (most recent call last):
  File "/home/othmane/odoo/openerp/service/server.py", line 850, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/home/othmane/odoo/openerp/modules/module.py", line 314, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/home/othmane/odoo/openerp/modules/module.py", line 78, in load_module
    f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named web_kanban
2015-01-18 17:12:08,550 13154 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2015-01-18 17:12:31,787 13154 INFO ? openerp.http: HTTP Configuring static files
2015-01-18 17:12:31,801 13154 INFO odoo openerp.modules.loading: loading 1 modules...
2015-01-18 17:12:31,976 13154 INFO odoo openerp.modules.loading: 1 modules loaded in 0.17s, 0 queries
2015-01-18 17:12:31,979 13154 WARNING odoo openerp.modules.module: module im_odoo_support: module not found
2015-01-18 17:12:31,979 13154 WARNING odoo openerp.modules.graph: module im_odoo_support: not installable, skipped
2015-01-18 17:12:31,979 13154 WARNING odoo openerp.modules.module: module web_tests: module not found

 

thank you for helpping :)

 

Avatar
Discard
Best Answer

Addons path is wrong.. 
try putting absolute paths to correct folders fro addons.. 
if you got the code from nightly build, then ../server/addons is only path you need,
if the code came from github, then at least two paths should be used:
../server/addons,../server/openerp/addons

IMPORTANT NOTE : no spaces between paths!

hope it helps

Avatar
Discard
Best Answer

log as odoo user and start server by folowing  commands

sudo su odoo

python /home/othmane/odoo/openerp-server --config=/etc/odoo-server.conf

such as your new module is in your specific addons (etc/odoo-server.conf)

hope it help you

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
87
0
Mar 24
280
1
Jul 23
2548
1
Dec 23
5775
1
Feb 22
6857