← Back to team overview

openerp-india team mailing list archive

[Bug 944573] Re: ERROR ? openerp: Failed to load server-wide module `web`.

 

Hello,

You need to give a web addons path at server side like  ./openerp-server
--addons=../addons/,../openerp-web/addons/.

Because in latest OpenERP 6.1 and on, our 'web' module of web-addons is loaded as a base. So we must give a web addons 
path on server side.
This is not a bug, So I am closing it.

Hope this will help you.

Thanks for understanding!

** Changed in: openobject-server
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-server/+question/189411

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/944573

Title:
  ERROR ? openerp: Failed to load server-wide module `web`.

Status in OpenERP Server:
  Invalid

Bug description:
  1.this is how i start my server for version 6.1
  navaneethk@DT01-015:/home1/navaneethk/6.1/server$ ./openerp-server --addons ../addons/
  2.error while running the server is 
  2012-03-02 05:46:14,466 14741 INFO ? openerp: OpenERP version 6.1
  2012-03-02 05:46:14,467 14741 INFO ? openerp: addons paths: /home1/navaneethk/6.1/addons
  2012-03-02 05:46:14,467 14741 INFO ? openerp: database hostname: localhost
  2012-03-02 05:46:14,467 14741 INFO ? openerp: database port: 5432
  2012-03-02 05:46:14,467 14741 INFO ? openerp: database user: navaneethk
  2012-03-02 05:46:14,468 14741 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
  2012-03-02 05:46:14,469 14741 INFO ? openerp.netsvc: Starting 1 services
  2012-03-02 05:46:14,476 14741 WARNING ? openerp.modules.module: module web: module not found
  2012-03-02 05:46:14,476 14741 CRITICAL ? openerp.modules.module: Couldn't load module web
  2012-03-02 05:46:14,477 14741 CRITICAL ? openerp.modules.module: unsupported operand type(s) for +: 'bool' and 'str'
  2012-03-02 05:46:14,492 14741 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 "./openerp-server", line 252, in <module>
      openerp.modules.module.load_openerp_module(m)
    File "/home1/navaneethk/6.1/server/openerp/modules/module.py", line 407, in load_openerp_module
      zip_mod_path = mod_path + '.zip'
  TypeError: unsupported operand type(s) for +: 'bool' and 'str'
  2012-03-02 05:46:14,503 14741 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069
  2012-03-02 05:46:14,508 14741 INFO ? openerp: OpenERP server is running, waiting for connections...
  2012-03-02 05:52:13,793 14741 INFO ? werkzeug: 192.109.209.176 - - [02/Mar/2012 05:52:13] "GET /web/webclient/home HTTP/1.0" 404 -
  2012-03-02 05:52:13,861 14741 INFO ? werkzeug: 192.109.209.176 - - [02/Mar/2012 05:52:13] "GET /favicon.ico HTTP/1.0" 404 -
  ^C2012-03-02 05:55:13,816 14741 INFO ? openerp.netsvc: Stopping 1 services
  2012-03-02 05:55:13,816 14741 WARNING ? openerp.service.netrpc_server: Netrpc: closing because of exception [Errno 9] Bad file descriptor
  2012-03-02 05:55:14,077 14741 INFO ? openerp.service: Initiating shutdown
  2012-03-02 05:55:14,077 14741 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/944573/+subscriptions


References