Closed GoogleCodeExporter closed 8 years ago
Hi, This bug is because of a fundamental issue with magento and a connector. If
you have more than 2000 products your import will automatically fail because
the connector tries to load all of the items into the memory at once. This bug
exists in this module and the others. You have to add a filter to specify small
increments.
Original comment by GadgetsC...@gmail.com
on 15 Nov 2010 at 3:15
How can you specify a filter?
Original comment by epikou...@gmail.com
on 22 Nov 2010 at 9:18
ids_or_filter = [{'store_id': {'eq': magento_storeview_id}, 'increment_id':
{'from': u'100000500', 'to': u'100000250'}}]
This is only an example. You have to know a little python to get that to work.
This is from the sale.py file but a different connector.
Original comment by GadgetsC...@gmail.com
on 23 Nov 2010 at 3:57
Hello,
Thanks for all the info. We will look at this as soon as possible to make a new
version of the connector.
Original comment by sneldev@gmail.com
on 24 Nov 2010 at 8:44
We have added some improvement in 0.7.6 (similar to what GadgetsCentralService
is suggesting).
It still need to be perfected, but we would really appreciate some feedback
from tests with this new version.
Nico
Original comment by sneldev@gmail.com
on 24 Nov 2010 at 11:12
Hi, I will test it this weekend.
Another developer in a different module used instead of the increment idea.
SALE_ORDER_MAPPING = {1: 100000001, 3: 300000001, 2: 200000001}
SALE_ORDER_IMPORT_STEP = 200
I may report several bugs if that is ok :)
I should note any code I post here is not my property and I didn't write it, im
only providing it as a suggestion.
Original comment by GadgetsC...@gmail.com
on 26 Nov 2010 at 1:16
Hello,
Do not hesitate to report all bugs you see :)
Regarding the increment. We are trying to find a clean solution hat will not
impact too much the performances of the connector. No finale decision taken yet.
Original comment by sneldev@gmail.com
on 26 Nov 2010 at 9:16
A solution was implemeted in 0.7.6. It should fix this issue.
Original comment by sneldev@gmail.com
on 18 Jan 2011 at 9:04
Original issue reported on code.google.com by
GadgetsC...@gmail.com
on 5 Nov 2010 at 3:47