error response["result"] = method(self, **self.params)

June 25, 2014 1.3k views

je cherche a faire connecter mon installation openerp avec un site magento , ca marche avec un site de test mais quand j'ai tester avec mon site j'ai eu cette erreur:

OpenERP Server Error
Client Traceback (most recent call last):
  File "/opt/openerp/v7/openerp/addons/web/", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/opt/openerp/v7/openerp/addons/web/controllers/", line 1132, in call_button
    action = self._call_kw(req, model, method, args, {})
  File "/opt/openerp/v7/openerp/addons/web/controllers/", line 1120, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/opt/openerp/v7/openerp/addons/web/", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/opt/openerp/v7/openerp/addons/web/", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/opt/openerp/v7/openerp/addons/web/", line 103, in send
    raise xmlrpclib.Fault(, formatted_info)

Server Traceback (most recent call last):
  File "/opt/openerp/v7/openerp/addons/web/", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/v7/openerp/", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/v7/openerp/service/", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/v7/openerp/osv/", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/v7/openerp/osv/", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/v7/openerp/osv/", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/v7/openerp/osv/", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/v7/addons_others/magento_integration/wizard/", line 36, in import_catalog
    product_ids = self.import_products(cursor, user, website, context)
  File "/opt/openerp/v7/addons_others/magento_integration/wizard/", line 93, in import_products
  File "/usr/lib/python2.6/site-packages/magento-0.4-py2.6.egg/magento/", line 253, in list
    return'catalog_product.list', [filters, store_view])
  File "/usr/lib/python2.6/site-packages/magento-0.4-py2.6.egg/magento/", line 161, in call
    return, resource_path, arguments)
  File "/usr/lib64/python2.6/", line 1199, in call
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/", line 1489, in __request
  File "/usr/lib64/python2.6/", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.6/", line 1392, in _parse_response
    return u.close()
  File "/usr/lib64/python2.6/", line 836, in close
    raise ResponseError()
ResponseError: ResponseError()

j'ai essayer avec un autre site avec la même installation d'openerp et ça marche!!

1 Answer

There seems to be some kind of problem with Magento and OpenERP connecting. That's a fairly generic error so it's hard to say exactly what the issue might be. The first thing I'd check is that the Magento is reachable over what ever port you're using from the server hosting OpenERP. Next, I'd look for further information in your OpenERP log file:

tail /var/log/openerp-server.log
Have another answer? Share your knowledge.