Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

OpenERP Magento Connector - No module named connector

By
Carlos Marques
on 11/18/13, 7:58 AM 4,088 views

Hi, I followed the steps in the guide but to add branches to the path of addons, it gives the following error:

2013-11-17 10:08:03,258 9922 CRITICAL ? openerp.modules.module: Couldn't load module web
2013-11-17 10:08:03,258 9922 CRITICAL ? openerp.modules.module: No module named connector
2013-11-17 10:08:03,259 9922 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/openerp-connector-magento/magentoerpconnect/__init__.py", line 3, in <module>
    import connector
  File "/home/ubuntu/openerp/v7.0/addons/openerp-connector-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-17 10:08:03,260 9922 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2013-11-17 10:08:03,261 9922 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2013-11-17 10:08:03,261 9922 INFO ? openerp: OpenERP server is running, waiting for connections...

Someone had the same problem?

Thanks

1
Reinhard Schneidewind
On 11/18/13, 12:02 PM

Hi,

where did you install the connector module? I've created an extra path for custom modules (/opt/openerp-custom/addons/) and copied the connector module there: /opt/openerp-custom/addons/connector/ . Then I've added the addons path to /etc/openerp/openerp-server.conf .

My configuration looks like this:

addons_path = /usr/lib/pymodules/python2.7/openerp/addons,/opt/openerp-custom/addons,/opt/openerp-custom/magento-openerp-connector/e-commerce-addons,/opt/openerp-custom/magento-openerp-connector/magentoerpconnect,/opt/openerp-custom/magento-openerp-connector/openerp-product-attributes

Hope this helps.

Best regards,

schnere

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 11/18/13, 7:58 AM
Seen: 4088 times
Last updated: 3/16/15, 8:10 AM