Category Archives: odoo

Odoo – OpenERP – Got ImportError: No Module Named Magento

When I installed CamptoCamp magento module on OpenERP 7, I have got following error

CRITICAL ? openerp.modules.module: Couldn’t load module web
2015-04-27 01:14:36,995 15180 CRITICAL ? openerp.modules.module: No module named connector
2015-04-27 01:14:36,995 15180 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/openerp7/openerp/service/__init__.py”, line 60, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File “/opt/openerp7/openerp/modules/module.py”, line 415, in load_openerp_module
getattr(sys.modules[‘openerp.addons.’ + module_name], info[‘post_load’])()
File “/opt/openerp7/openerp/addons/web/http.py”, line 628, in wsgi_postload
openerp.wsgi.register_wsgi_handler(Root())
File “/opt/openerp7/openerp/addons/web/http.py”, line 517, in __init__
self.load_addons()
File “/opt/openerp7/openerp/addons/web/http.py”, line 580, in load_addons
m = __import__(‘openerp.addons.’ + module)
File “/opt/openerp7/openerp/modules/module.py”, line 133, in load_module
mod = imp.load_module(‘openerp.addons.’ + module_part, f, path, descr)
File “/opt/openerp7/openerp/addons/magentoerpconnect/__init__.py”, line 3, in <module>
import connector
File “/opt/openerp7/openerp/addons/magentoerpconnect/connector.py”, line 23, in <module>
from openerp.addons.connector.connector import (Environment,
File “/opt/openerp7/openerp/modules/module.py”, line 132, in load_module
f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named connector

You need to install the magento Python package first, like following