This question has been flagged
1 Reply
7095 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
    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/web/addons/web/http.py", line 600, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/opt/openerp/web/addons/web/http.py", line 490, in __init__
    self.load_addons()
  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: 218.66.59.169 - - [28/Mar/2013 05:00:01] "GET / HTTP/1.1" 404 -
2013-03-28 05:00:03,301 1493 INFO ? werkzeug: 218.66.59.169 - - [28/Mar/2013 05:00:03] "GET /favicon.ico HTTP/1.1" 404 -
2013-03-28 05:00:16,161 1493 INFO ? werkzeug: 218.66.59.169 - - [28/Mar/2013 05:00:16] "GET / HTTP/1.1" 404 -
2013-03-28 05:00:16,285 1493 INFO ? werkzeug: 218.66.59.169 - - [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

Avatar
Discard
Author Best Answer

I do the code below. It resolved

cd addons
bzr revno
8562    
bzr revert 8545

It is the lasted addons contained some error?

Avatar
Discard