← Back to team overview

openerp-india team mailing list archive

[Bug 919987] [NEW] Ambiguous import

 

Public bug reported:

[2012-01-22 13:04:15,808][?] WARNING:init:
Ambiguous import: the OpenERP module `web` is shadowed by another
module (available at /usr/lib/pymodules/python2.6/web).
To import it, use `import openerp.addons.<module>.`.
[2012-01-22 13:04:15,807][?] INFO:wsgi:HTTP service (werkzeug) running on 0.0.0.0:8069
[2012-01-22 13:04:15,845][?] ERROR:root: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 "/usr/bin/openerp-server", line 250, in <module>
    getattr(sys.modules[m], info['post_load'])()
AttributeError: 'module' object has no attribute 'wsgi_postload'
[2012-01-22 13:04:15,846][?] INFO:server:OpenERP server is running, waiting for connections...

There seems to be an issue when you run the web client in embedded mode...
Any ideas or solutions out there w/o code changes in the trunk?

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  Ambiguous import

Status in OpenERP Server:
  New

Bug description:
  [2012-01-22 13:04:15,808][?] WARNING:init:
  Ambiguous import: the OpenERP module `web` is shadowed by another
  module (available at /usr/lib/pymodules/python2.6/web).
  To import it, use `import openerp.addons.<module>.`.
  [2012-01-22 13:04:15,807][?] INFO:wsgi:HTTP service (werkzeug) running on 0.0.0.0:8069
  [2012-01-22 13:04:15,845][?] ERROR:root: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 "/usr/bin/openerp-server", line 250, in <module>
      getattr(sys.modules[m], info['post_load'])()
  AttributeError: 'module' object has no attribute 'wsgi_postload'
  [2012-01-22 13:04:15,846][?] INFO:server:OpenERP server is running, waiting for connections...

  There seems to be an issue when you run the web client in embedded mode...
  Any ideas or solutions out there w/o code changes in the trunk?

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


Follow ups

References