running openerp 6.1-1 - missing openerp-web project

Asked by Jaf Faizal

I am currently running OpenERP 6.1-1 on ubuntu.

Prior to this there was no error but since Feb 2nd 2014. I got a "No handler found." message.

My openerp-server.log have this message:

2014-02-04 08:43:47,153 3328 INFO ? openerp: OpenERP server is running, waiting for connections...
2014-02-04 08:43:55,481 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:43:55] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:43:57,841 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:43:57] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:43:58,392 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:43:58] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:43:58,697 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:43:58] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:43:58,904 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:43:58] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:43:59,321 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:43:59] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:43:59,728 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:43:59] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:44:00,345 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:44:00] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:55:52,338 3328 INFO ? werkzeug: 210.186.139.21 - - [04/Feb/2014 08:55:52] "GET /web/webclient/home HTTP/1.1" 404 -
2014-02-04 08:56:50,186 3328 INFO ? openerp.netsvc: Stopping 1 services
2014-02-04 08:56:50,402 3328 INFO ? openerp.service: Initiating shutdown
2014-02-04 08:56:50,402 3328 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.
2014-02-04 08:59:46,644 1161 INFO ? openerp: OpenERP version 6.1-1
2014-02-04 08:59:46,656 1161 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2014-02-04 08:59:46,656 1161 INFO ? openerp: database hostname: 192.168.0.20
2014-02-04 08:59:46,656 1161 INFO ? openerp: database port: 5432
2014-02-04 08:59:46,656 1161 INFO ? openerp: database user: openerp
2014-02-04 08:59:46,656 1161 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2014-02-04 08:59:46,657 1161 INFO ? openerp.netsvc: Starting 1 services
2014-02-04 08:59:46,738 1161 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-02-04 08:59:47,157 1161 INFO ? openerp.addons.web: embedded mode
2014-02-04 08:59:47,294 1161 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-02-04 08:59:47,294 1161 CRITICAL ? openerp.modules.module: invalid syntax (purchase.py, line 272)
2014-02-04 08:59:47,294 1161 ERROR ? openerp: 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-server", line 252, in <module>
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/server/openerp/modules/module.py", line 419, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/server/openerp/addons/web/__init__.py", line 29, in wsgi_postload
    app = common.http.Root(o)
  File "/opt/openerp/server/openerp/addons/web/common/http.py", line 453, in __init__
    static_dirs = self._load_addons(openerp_addons_namespace)
  File "/opt/openerp/server/openerp/addons/web/common/http.py", line 523, in _load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/openerp/server/openerp/modules/module.py", line 139, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)

=======================================================================

Have not found a solution after googling on the internet that works for me.

And, my current installation does not have "openerp-web" module in the addons.
My installation only have this directory:

addons/web

Please help....

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Jaf Faizal
Solved:
Last query:
Last reply:
Revision history for this message
Jaf Faizal (jaffaizal) said :
#1

Guys,

After going thru the log again, realise the following line:

2014-02-04 08:59:47,294 1161 CRITICAL ? openerp.modules.module: invalid syntax (purchase.py, line 272)

I opened the files and found a syntax error.

This seem to solved the problem.
During one of the long nights in front of the monitor, I must have accidentally introduced the wrong syntax.

Corrected it and problem solved.

Thank you.