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

no handler found error

By
hanhoe
on 2/24/14, 5:07 PM 3,013 views

Hello!

After an inccorect web.base.url I get "No handler found" My log file after starting:

2014-02-24 21:03:49,543 2563 INFO ? openerp: OpenERP version 8.0dev-20140201-000101
2014-02-24 21:03:49,543 2563 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2014-02-24 21:03:49,543 2563 INFO ? openerp: database hostname: localhost
2014-02-24 21:03:49,543 2563 INFO ? openerp: database port: 5432
2014-02-24 21:03:49,543 2563 INFO ? openerp: database user: openerp
2014-02-24 21:03:49,649 2563 INFO ? openerp.http: HTTP Configuring static files
2014-02-24 21:03:50,196 2563 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-02-24 21:03:50,196 2563 CRITICAL ? openerp.modules.module: No module named osv
2014-02-24 21:03:50,196 2563 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 "/opt/openerp/server/openerp/service/server.py", line 792, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/server/openerp/modules/module.py", line 357, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/server/openerp/http.py", line 1142, in wsgi_postload
    root = Root()
  File "/opt/openerp/server/openerp/http.py", line 922, in __init__
    self.load_addons()
  File "/opt/openerp/server/openerp/http.py", line 947, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/openerp/server/openerp/modules/module.py", line 83, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/opt/openerp/server/openerp/addons/trp_report_background/__init__.py", line 1, in <module>
    import model
  File "/opt/openerp/server/openerp/addons/trp_report_background/model/__init__.py", line 1, in <module>
    import report_background
  File "/opt/openerp/server/openerp/addons/trp_report_background/model/report_background.py", line 22, in <module>
    from osv import fields, osv
ImportError: No module named osv
2014-02-24 21:03:50,206 2563 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

The folder /addons/web exists.

Has Anybody an Idea to fix this problem? Thank you!

0
Bart Criel
On 2/25/14, 4:02 AM

I've had the same issue once too. If I remember well, I installed a second instance of OpenERP, and copied the correct version of the bad module of that second install to the original OpenERP install.

Bart

I made this in the meantime. Now I get 2014-02-25 08:55:29,309 2186 CRITICAL ? openerp.modules.module: No module named tools.translate Now I install the .deb package for version 8 and it install in a new folder. Here I get as log: 2014-02-25 08:49:48,730 2115 INFO ? openerp.http: HTTP Configuring static files 2014-02-25 08:49:49,170 2115 INFO ? openerp.http: Generating nondb routing what mean "nondb routing" ?

hanhoe
on 2/25/14, 5:06 AM

I'm not sure, but it looks as if the http-part is not working as expected. I don't know much about that area, but you can find some information on https://doc.openerp.com/trunk/server/_modules/openerp/http/

Bart Criel
on 2/25/14, 6:36 AM

Well, did you know if I can made a backup of the database and reimport after a new fresh install?

hanhoe
on 2/25/14, 8:04 AM

If you have still access to the OpenERP login page, you can click on 'Manage Databases' below the login box, and create a backup from there. If not, you'll have to use a tool like PGAdmin to manage your PostgreSQL databases, including making backups.

Bart Criel
on 2/25/14, 8:32 AM

I have no access to the login! But with PGAdmin I can made a export ... so I install the v8 new, and reimport the database?

hanhoe
on 2/25/14, 8:36 AM

I guess that would be the way to go. If the bad configuration is only a module, this should work; if data is involved, the bad configuration will be in your backup, and restoring a bad backup won't solve anything.

Bart Criel
on 2/25/14, 8:38 AM

Ok, I try it ... can made Snapshots on my Hyper-V.

hanhoe
on 2/25/14, 10:17 AM

Any progress?

Bart Criel
on 3/5/14, 4:20 PM

Any progress on this issue, Hannes?

Bart Criel
on 3/5/14, 4:43 PM

Hello! I install it New. Restoring the database was not successfully. Thanks for your help.

hanhoe
on 3/6/14, 2:28 PM

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: 2/24/14, 5:07 PM
Seen: 3013 times
Last updated: 3/16/15, 8:10 AM