Skip to Content
Menu
This question has been flagged
1 Reply
14113 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!

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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" ?

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/

Author

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

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.

Author

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?

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.

Author

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

Any progress?

Any progress on this issue, Hannes?

Author

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

Related Posts Replies Views Activity
0
Mar 15
3352
9
Mar 15
6771
1
Mar 15
4311
0
Mar 15
7257
7
Nov 17
31744