← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 728521] [NEW] Import Product failed

 

Public bug reported:

I run magento 1.4.1.1 and openerp6. So I'm able to do step 1 to 5 but on
step 6 I have little issue :

[2011-03-03 17:01:52,605][new_new_erp] INFO:Magento Connection:Attempting connection with Settings:http://girod.new/index.php/api/xmlrpc/,openerp,123456789
[2011-03-03 17:01:54,570][new_new_erp] INFO:Magento Connection:Login Successful
[2011-03-03 17:01:54,570][new_new_erp] INFO:Magento Connection:Calling Method:catalog_product.list,Arguments:[]
[2011-03-03 17:01:58,182][new_new_erp] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect/magerp_core.py", line 153, in sync_products
    list_prods = attr_conn.call('catalog_product.list')
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect/magerp_osv.py", line 53, in call
    res = self.ser.call(self.session, method, arguments)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 836, in close
    raise ResponseError()
ResponseError: ResponseError()


I try to know if it's timeout issue as many had but I think no because . On magento side I put this in the function called items : 

IN Openlabs_OpenERPConnector_Model_Olcatalog_Products

    public function items($filters = null, $store = null)
    {
        Mage::log("ok LIST PRODUCT");
...


But nothing shown on var/log/system.log in magento. So openerp's request is never ask to magento api...

Can anyone have this kind of issue ?

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/728521

Title:
  Import Product failed

Status in Magento Open ERP Connector:
  New

Bug description:
  I run magento 1.4.1.1 and openerp6. So I'm able to do step 1 to 5 but
  on step 6 I have little issue :

  [2011-03-03 17:01:52,605][new_new_erp] INFO:Magento Connection:Attempting connection with Settings:http://girod.new/index.php/api/xmlrpc/,openerp,123456789
  [2011-03-03 17:01:54,570][new_new_erp] INFO:Magento Connection:Login Successful
  [2011-03-03 17:01:54,570][new_new_erp] INFO:Magento Connection:Calling Method:catalog_product.list,Arguments:[]
  [2011-03-03 17:01:58,182][new_new_erp] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect/magerp_core.py", line 153, in sync_products
      list_prods = attr_conn.call('catalog_product.list')
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect/magerp_osv.py", line 53, in call
      res = self.ser.call(self.session, method, arguments)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 836, in close
      raise ResponseError()
  ResponseError: ResponseError()

  
  I try to know if it's timeout issue as many had but I think no because . On magento side I put this in the function called items : 

  IN Openlabs_OpenERPConnector_Model_Olcatalog_Products

      public function items($filters = null, $store = null)
      {
          Mage::log("ok LIST PRODUCT");
  ...

  
  But nothing shown on var/log/system.log in magento. So openerp's request is never ask to magento api...

  Can anyone have this kind of issue ?



Follow ups

References