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

ImportError: No module named magento ..need a help [Closed]

By
Odoo
on 8/4/14, 8:12 AM 1,692 views

The Question has been closed for reason: duplicate question

by
Odoo
on 08/04/2014 08:46:33

Error Log..................................................

 

2014-08-04 12:12:32,920 23671 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-08-04 12:12:32,920 23671 CRITICAL ? openerp.modules.module: No module named magento
2014-08-04 12:12:32,920 23671 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 60, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/server/openerp/modules/module.py", line 415, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 628, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/opt/openerp/server/openerp/addons/web/http.py", line 517, in __init__
    self.load_addons()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  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/server/openerp/addons/magentoerpconnect/__init__.py", line 7, in <module>
    import magento_model
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/magento_model.py", line 35, in <module>
    from .unit.backend_adapter import GenericAdapter
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/unit/__init__.py", line 8, in <module>
    import backend_adapter
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/unit/backend_adapter.py", line 26, in <module>
    import magento as magentolib
ImportError: No module named magento
2014-08-04 12:12:33,056 23671 INFO ? openerp: OpenERP server is running, waiting for connections...
2014-08-04 12:12:33,069 23671 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-08-04 12:12:33,292 23671 INFO testing_modules openerp.modules.loading: loading 1 modules...
2014-08-04 12:12:33,630 23671 INFO testing_modules openerp.modules.loading: loading 54 modules...
2014-08-04 12:12:33,642 23671 CRITICAL testing_modules openerp.modules.module: Couldn't load module web
2014-08-04 12:12:33,642 23671 CRITICAL testing_modules openerp.modules.module: No module named magento
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/opt/openerp/server/openerp/addons/connector/queue/worker.py", line 313, in run
    self.check_alive(db_name, worker)
  File "/opt/openerp/server/openerp/addons/connector/queue/worker.py", line 326, in check_alive
    self._notify_alive(session, worker)
  File "/opt/openerp/server/openerp/addons/connector/queue/worker.py", line 334, in _notify_alive
    dbworker_obj = session.pool.get('queue.worker')
  File "/opt/openerp/server/openerp/addons/connector/session.py", line 130, in pool
    self._pool = openerp.pooler.get_pool(self.cr.dbname)
  File "/opt/openerp/server/openerp/pooler.py", line 49, in get_pool
    return get_db_and_pool(db_name, force_demo, status, update_module)[1]
  File "/opt/openerp/server/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/opt/openerp/server/openerp/modules/registry.py", line 203, in get
    update_module)
  File "/opt/openerp/server/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/opt/openerp/server/openerp/modules/loading.py", line 350, in load_modules
    force, status, report, loaded_modules, update_module)
  File "/opt/openerp/server/openerp/modules/loading.py", line 256, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/openerp/server/openerp/modules/loading.py", line 159, in load_module_graph
    load_openerp_module(package.name)
  File "/opt/openerp/server/openerp/modules/module.py", line 415, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 628, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/opt/openerp/server/openerp/addons/web/http.py", line 517, in __init__
    self.load_addons()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  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/server/openerp/addons/magentoerpconnect/__init__.py", line 7, in <module>
    import magento_model
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/magento_model.py", line 35, in <module>
    from .unit.backend_adapter import GenericAdapter
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/unit/__init__.py", line 8, in <module>
    import backend_adapter
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/unit/backend_adapter.py", line 26, in <module>
    import magento as magentolib

ImportError: No module named magento

 

 

0

Odoo

--Odoo --
1328
| 5 2 5
kerala, India
--Odoo --

Working as a Odoo Functional and Technical Expert

Odoo
On 8/4/14, 8:38 AM

 

use this commands

sudo su

pip install magento

 

About This Community

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

Question tools

1 follower(s)

Stats

Asked: 8/4/14, 8:12 AM
Seen: 1692 times
Last updated: 3/16/15, 8:10 AM