Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

The requested URL was not found on the server.

By
othmane
on 1/18/15, 12:16 PM 3,898 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 :)

 

1

Bole

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole
On 1/19/15, 2:40 AM

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

1
Ait-Mlouk Addi
On 1/19/15, 7:38 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/18/15, 12:16 PM
Seen: 3898 times
Last updated: 3/16/15, 8:10 AM