← Back to team overview

openerp-india team mailing list archive

[Bug 1082684] Re: 2012-11-24 14:46:57, 297 4254 CRITICAL ? openerp.modules.module: Couldn't load module web

 

You did not install the correct dependencies,

do either of (depending on your platform, which you did not specify)
Ubuntu / Debian:
sudo apt-get install python-werkzeug

Others:
(make sure you have installed the python setuptools)
sudo easy_install werkzeug

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

-- 
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/1082684

Title:
  2012-11-24 14:46:57,297 4254 CRITICAL ? openerp.modules.module:
  Couldn't load module web

Status in OpenERP Server:
  Invalid

Bug description:
  openerp@OpenERP-desktop:~$ ./start 
  2012-11-24 15:22:12,070 4512 INFO ? openerp: OpenERP version 7.0alpha
  2012-11-24 15:22:12,070 4512 INFO ? openerp: addons paths: /opt/openerp/addons,/opt/openerp/web/addons
  2012-11-24 15:22:12,070 4512 INFO ? openerp: database hostname: localhost
  2012-11-24 15:22:12,070 4512 INFO ? openerp: database port: 5432
  2012-11-24 15:22:12,071 4512 INFO ? openerp: database user: openerp
  2012-11-24 15:22:12,284 4512 CRITICAL ? openerp.modules.module: Couldn't load module web
  2012-11-24 15:22:12,284 4512 CRITICAL ? openerp.modules.module: No module named wsgi
  2012-11-24 15:22:12,284 4512 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 54, in load_server_wide_modules
      openerp.modules.module.load_openerp_module(m)
    File "/opt/openerp/server/openerp/modules/module.py", line 404, in load_openerp_module
      __import__('openerp.addons.' + module_name)
    File "/opt/openerp/server/openerp/modules/module.py", line 133, in load_module
      mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
    File "/opt/openerp/web/addons/web/__init__.py", line 1, in <module>
      import http
    File "/opt/openerp/web/addons/web/http.py", line 32, in <module>
      import werkzeug.wsgi
  ImportError: No module named wsgi
  2012-11-24 15:22:12,287 4512 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:40070
  2012-11-24 15:22:12,288 4512 INFO ? openerp.netsvc: Starting 1 services
  2012-11-24 15:22:12,289 4512 INFO ? openerp: OpenERP server is running, waiting for connections...
  2012-11-24 15:22:12,291 4512 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:40069
  ^C2012-11-24 15:22:32,309 4512 INFO ? openerp.netsvc: Stopping 1 services
  2012-11-24 15:22:32,310 4512 WARNING ? openerp.service.netrpc_server: Netrpc: closing because of exception [Errno 22] Argumento inválido
  2012-11-24 15:22:32,349 4512 INFO ? openerp.service: Initiating shutdown
  2012-11-24 15:22:32,349 4512 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.
  openerp@OpenERP-desktop:~$ ./start 
  2012-11-24 15:33:31,471 4589 INFO ? openerp: OpenERP version 7.0alpha
  2012-11-24 15:33:31,472 4589 INFO ? openerp: addons paths: /opt/openerp/addons,/opt/openerp/web/addons
  2012-11-24 15:33:31,472 4589 INFO ? openerp: database hostname: localhost
  2012-11-24 15:33:31,472 4589 INFO ? openerp: database port: 5432
  2012-11-24 15:33:31,472 4589 INFO ? openerp: database user: openerp
  2012-11-24 15:33:31,714 4589 CRITICAL ? openerp.modules.module: Couldn't load module web
  2012-11-24 15:33:31,715 4589 CRITICAL ? openerp.modules.module: No module named wsgi
  2012-11-24 15:33:31,715 4589 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 54, in load_server_wide_modules
      openerp.modules.module.load_openerp_module(m)
    File "/opt/openerp/server/openerp/modules/module.py", line 404, in load_openerp_module
      __import__('openerp.addons.' + module_name)
    File "/opt/openerp/server/openerp/modules/module.py", line 133, in load_module
      mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
    File "/opt/openerp/web/addons/web/__init__.py", line 1, in <module>
      import http
    File "/opt/openerp/web/addons/web/http.py", line 32, in <module>
      import werkzeug.wsgi
  ImportError: No module named wsgi
  2012-11-24 15:33:31,718 4589 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:40070
  2012-11-24 15:33:31,719 4589 INFO ? openerp.netsvc: Starting 1 services
  2012-11-24 15:33:31,720 4589 INFO ? openerp: OpenERP server is running, waiting for connections...
  2012-11-24 15:33:31,721 4589 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:40069

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