← Back to team overview

openerp-connector-community team mailing list archive

Error:No module named connector

 

Hi,

 

I followed the steps in the guide
http://openerp-magento-connector.com/guides/installation_guide.html but to
add branches to the path of addons, it gives the following error, when
server start:

 

2013-11-18 23:33:18,671 11800 CRITICAL ? openerp.modules.module: Couldn't
load module web

2013-11-18 23:33:18,672 11800 CRITICAL ? openerp.modules.module: No module
named connector

2013-11-18 23:33:18,672 11800 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/v7.0/server/openerp/service/__init__.py", line 59, in
load_server_wide_modules

    openerp.modules.module.load_openerp_module(m)

  File "/opt/openerp/v7.0/server/openerp/modules/module.py", line 415, in
load_openerp_module

    getattr(sys.modules['openerp.addons.' + module_name],
info['post_load'])()

  File "/home/ubuntu/openerp/v7.0/web/addons/web/http.py", line 593, in
wsgi_postload

    openerp.wsgi.register_wsgi_handler(Root())

  File "/home/ubuntu/openerp/v7.0/web/addons/web/http.py", line 483, in
__init__

    self.load_addons()

  File "/home/ubuntu/openerp/v7.0/web/addons/web/http.py", line 546, in
load_addons

    m = __import__('openerp.addons.' + module)

  File "/opt/openerp/v7.0/server/openerp/modules/module.py", line 133, in
load_module

    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)

  File
"/home/ubuntu/openerp/v7.0/addons/magento/magentoerpconnect/__init__.py",
line 3, in <module>

    import connector

  File
"/home/ubuntu/openerp/v7.0/addons/magento/magentoerpconnect/connector.py",
line 23, in <module>

    from openerp.addons.connector.connector import (Environment,

  File "/opt/openerp/v7.0/server/openerp/modules/module.py", line 132, in
load_module

    f, path, descr = imp.find_module(module_part, ad_paths)

ImportError: No module named connector

2013-11-18 23:33:18,673 11800 INFO ? openerp.service.netrpc_server: starting
NET-RPC service on 0.0.0.0:8070

2013-11-18 23:33:18,674 11800 INFO ? openerp.service.wsgi_server: HTTP
service (werkzeug) running on 0.0.0.0:8069

2013-11-18 23:33:18,674 11800 INFO ? openerp: OpenERP server is running,
waiting for connections...

 

What did I do wrong?

 

 


Follow ups