← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 617905] Re: Product Import fails

 

Peter, Kyle,

BTW, we are aware that importing the first orders can be tricky is you have
many orders (like you have). So we are trying to provide a generic piece of
code where you could provide your initial oerder id, storeview by storeview
(because the numbering is per storeview) and then it would automatically
import by bits (like 250 orders pers 250 orders typically). This could help
the newcomers to get running faster. Thank you for your feedback!

Raphaël Valyi


On Sat, Nov 13, 2010 at 4:04 PM, Peter Glock <617905@xxxxxxxxxxxxxxxxxx>wrote:

> Kyle,
> Thanks for the comments about opentaps. I oo had investigated opentaps but
> found that the handling of VAT was a showstopper for our business. The one
> thing I did like about their magento integration is that the number of
> records imported in each pass is configurable, that's what I was suggesting
> for this module.
> Anyway, I've asked a specific question about which configrations work on
> the forum http://www.openerp.com/forum/post69215.html#p69215 . Could you
> post yours there please.
>
> --
> Product Import fails
> https://bugs.launchpad.net/bugs/617905
> You received this bug notification because you are subscribed to Magento
> Open ERP Connector.
>
> Status in Magento Open ERP Connector: Invalid
>
> Bug description:
> I'm using current stable (5.0.12) on an Amazon EC2 ubuntu 10.4 instance. I
> have installed and configured the openerpconnect module ok and the
> corresponding magento module.
>
> In OpenERP, clicking on the referential actions in turn (1 - Import
> Customer Groups through to 5 - Import Product Attributes) works fine but
> when I click on 6 - Import products I get the following error. We have
> approx 2000 products, is this a timeout problem, or something else?
>
> Traceback (most recent call last):
>  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py",
> line 247, in dispatch
>    result = LocalService(service_name)(method, *params)
>  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py",
> line 76, in __call__
>    return getattr(self, method)(*params)
>  File
> "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
> line 577, in execute
>    res = service.execute(db, uid, object, method, *args)
>  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py",
> line 58, in wrapper
>    return f(self, dbname, *args, **kwargs)
>  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py",
> line 119, in execute
>    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
>  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py",
> line 111, 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 137, 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()
>
>
>

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

Status in Magento Open ERP Connector: Invalid

Bug description:
I'm using current stable (5.0.12) on an Amazon EC2 ubuntu 10.4 instance. I have installed and configured the openerpconnect module ok and the corresponding magento module.

In OpenERP, clicking on the referential actions in turn (1 - Import Customer Groups through to 5 - Import Product Attributes) works fine but when I click on 6 - Import products I get the following error. We have approx 2000 products, is this a timeout problem, or something else?

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, 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 137, 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()





References