Code Monkey home page Code Monkey logo

Comments (7)

guewen avatar guewen commented on September 19, 2024

Is the traceback complete? Do you have another error above?

from connector-magento.

 avatar commented on September 19, 2024

I had this same issue because I had not installed magento python extension (pip install magento or easy_install magento).

Try that and see if that is your issue too.

from connector-magento.

Stefano7777777 avatar Stefano7777777 commented on September 19, 2024

hi, have you resolved?
i've the same error when try to install magento connector can you help me?
i've dona easy_install magento e give this result:
sudo easy_install magento
Password:
Searching for magento
Best match: magento 1.0
Processing magento-1.0-py2.7.egg
magento 1.0 is already the active version in easy-install.pth

Using /Library/Python/2.7/site-packages/magento-1.0-py2.7.egg
Processing dependencies for magento
Finished processing dependencies for magento

this is the error:
Traceback (most recent call last):
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py", line 567, in dispatch
result = self._call_function(*_self.params)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py", line 300, in checked_call
return self.endpoint(_a, *_kw)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py", line 796, in call
return self.method(_args, *_kw)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py", line 396, in response_wrap
response = f(_args, *_kw)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/web/controllers/main.py", line 940, in call_button
action = self._call_kw(model, method, args, {})
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/web/controllers/main.py", line 928, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/base/module/module.py", line 722, in install_from_urls
self.update_list(cr, uid, context=context)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/base/module/module.py", line 654, in update_list
handler.load_addons()
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py", line 1298, in load_addons
m = import('openerp.addons.' + module)
File "/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/module.py", line 80, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/Applications/odoo-8.0-11/apps/odoo/data/addons/8.0/magentoerpconnect/init.py", line 2, in
from . import setting
ImportError: cannot import name setting

from connector-magento.

 avatar commented on September 19, 2024

Yes after I installed the magento python module I restarted odoo and it
worked.

On Mon, Sep 14, 2015 at 10:47 AM, Stefano7777777 [email protected]
wrote:

hi, have you resolved?
i've the same error when try to install magento connector can you help me?
i've dona easy_install magento e give this result:
sudo easy_install magento
Password:
Searching for magento
Best match: magento 1.0
Processing magento-1.0-py2.7.egg
magento 1.0 is already the active version in easy-install.pth

Using /Library/Python/2.7/site-packages/magento-1.0-py2.7.egg
Processing dependencies for magento
Finished processing dependencies for magento

this is the error:
Traceback (most recent call last):
File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py",
line 530, in

_handle_exception return super(JsonRequest,
self).handle_exception(exception) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py",
line 567, in dispatch result = self._call_function(_self.params) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py",
line 303, in _call_function return checked_call(self.db, _args, *kwargs)
File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/service/model.py",
line 113, in wrapper return f(dbname, args, *kwargs) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py",
line 300, in checked_call return self.endpoint(a, *kw) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py",
line 796, in _call
return self.method(_args, *_kw)
File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py",
line 396, in response_wrap
response = f(_args, *_kw)
File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/web/controllers/main.py",
line 940, in call_button
action = self.

_call_kw(model, method, args, {}) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/web/controllers/main.py",
line 928, in call_kw return getattr(request.registry.get(model),
method)(request.cr http://request.cr, request.uid, args, *kwargs) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py",
line 241, in wrapper return old_api(self, args, *kwargs) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/base/module/module.py",
line 722, in install_from_urls self.update_list(cr, uid, context=context)
File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/api.py",
line 241, in wrapper return old_api(self, args, *kwargs) File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/base/module/module.py",
line 654, in update_list handler.load_addons() File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/http.py",
line 1298, in load_addons m = _import('openerp.addons.' + module)
File
"/Applications/odoo-8.0-11/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/modules/module.py",
line 80, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File
"/Applications/odoo-8.0-11/apps/odoo/data/addons/8.0/magentoerpconnect/
init.py", line 2, in
from . import setting
ImportError: cannot import name setting


Reply to this email directly or view it on GitHub
#127 (comment)
.

Best Regards,
Mark Meadows
www.apptuate.com
636.678.9924

from connector-magento.

maxicooper avatar maxicooper commented on September 19, 2024

Stefano7777777, where you able to solve this? Me too have already installed the Magento python module and a similar error.

from connector-magento.

shaishab avatar shaishab commented on September 19, 2024

I have same error. how can I solve this issue ? can anyone describe me ?
N.B: Installed magento using (pip install magento) in windows 10

from connector-magento.

hbrunn avatar hbrunn commented on September 19, 2024

check that you have installed all dependencies of the connector module, which is specifically the python requests module (pip install requests)

from connector-magento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.