Odoo Help


Couldn't load module web

Peter Seng
on 3/28/13, 2:27 AM 2,405 views

Hi everyone! As before I bzr-ed pull as follows:

sudo /etc/init.d/openerp-server stop 
cd server  
bzr pull
cd web
bzr pull
cd addons
bzr pull
sudo /etc/init.d/openerp-server start

Then I have the error "no handler found" in my browser. The strange thing is that previously the above could always end up getting the server to run well immediately.

My v7 server's log is below:

2013-03-28 04:59:42,867 4683 CRITICAL ? openerp.modules.module: Couldn't load module web
2013-03-28 04:59:42,867 4683 CRITICAL ? openerp.modules.module: invalid syntax (share_wizard.py, line 617)
2013-03-28 04:59:42,867 4683 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/server/openerp/service/__init__.py", line 62, in load_server_wide_modules
  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/web/addons/web/http.py", line 600, in wsgi_postload
  File "/opt/openerp/web/addons/web/http.py", line 490, in __init__
  File "/opt/openerp/web/addons/web/http.py", line 553, 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/addons/share/__init__.py", line 24, in <module>
    import wizard
  File "/opt/openerp/addons/share/wizard/__init__.py", line 22, in <module>
    import share_wizard
  File "/opt/openerp/addons/share/wizard/share_wizard.py", line 617
    <<<<<<< TREE
SyntaxError: invalid syntax
2013-03-28 05:00:01,827 1493 INFO ? werkzeug: - - [28/Mar/2013 05:00:01] "GET / HTTP/1.1" 404 -
2013-03-28 05:00:03,301 1493 INFO ? werkzeug: - - [28/Mar/2013 05:00:03] "GET /favicon.ico HTTP/1.1" 404 -
2013-03-28 05:00:16,161 1493 INFO ? werkzeug: - - [28/Mar/2013 05:00:16] "GET / HTTP/1.1" 404 -
2013-03-28 05:00:16,285 1493 INFO ? werkzeug: - - [28/Mar/2013 05:00:16] "GET /favicon.ico HTTP/1.1" 404 -

Can anyone point out what the log is telling and what is the way out? Many thanks!


Peter Seng
On 3/28/13, 5:02 AM

I do the code below. It resolved

cd addons
bzr revno
bzr revert 8545

It is the lasted addons contained some error?

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/28/13, 2:27 AM
Seen: 2405 times
Last updated: 3/16/15, 8:10 AM