← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 728521] Re: Import Product failed

 

Yes, please create a branch. No guarantee it will be merged but at least it
will be visible.
If you don't know how to do that, at least attach your patch here please.
Thank you Kyle for helping the community, that's appreciated.

On Thu, Mar 3, 2011 at 2:19 PM, Guilleret Florian <728521@xxxxxxxxxxxxxxxxxx
> wrote:

> Yes Kyle I confirm this is because I have too many product ( more than
> 28000 )
>
> So I modify openerp synchro connexion to ask synchro by 100 product and
> ALL is FINE :D This is quite long but it's work perfecly
>
> I don't know how create branch are something like this. If someone is
> interest by my solution ask to me :)
>
> --
> You received this bug notification because you are subscribed to Magento
> Open ERP Connector.
> https://bugs.launchpad.net/bugs/728521
>
> Title:
>  Import Product failed
>
> Status in Magento Open ERP Connector:
>   Incomplete
>
> 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 ?
>

-- 
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:
  Incomplete

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 ?



References