devendrapathi / sneldev-magento-openerp

Automatically exported from code.google.com/p/sneldev-magento-openerp
0 stars 1 forks source link

error category_ids #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.importing products return errors in log
2.importing orders and categories is working fine
3.

What is the expected output? What do you see instead?
 ===== Products import
2012-02-12 16:39:33 Logged in to Magento
2012-02-12 16:39:33 Products ID from 1 to 300
2012-02-12 16:39:34 Loading product chemisette_xz5865_pink-L (41-42)
2012-02-12 16:39:34 Error
Traceback (most recent call last):
  File "/home/erp_user/openerp/production/server/bin/addons/sneldev_magento.zip/sneldev_magento/sneldev_magento.py", line 597, in import_products
    if info_product['category_ids']:
KeyError: 'category_ids'
2012-02-12 16:39:34 Loading product chemisette_xz5865_pink-M (39-40)
2012-02-12 16:39:34 Error
Traceback (most recent call last):
  File "/home/erp_user/openerp/production/server/bin/addons/sneldev_magento.zip/sneldev_magento/sneldev_magento.py", line 597, in import_products
    if info_product['category_ids']:
KeyError: 'category_ids'
2012-02-12 16:39:34 Loading product chemisette_xz5865_pink-S (37-38)
2012-02-12 16:39:35 Error
Traceback (most recent call last):
  File "/home/erp_user/openerp/production/server/bin/addons/sneldev_magento.zip/sneldev_magento/sneldev_magento.py", line 597, in import_products
    if info_product['category_ids']:
KeyError: 'category_ids'

What version of the product are you using? On what operating system?

openerp6.0.3 and magento 1.6.1 on ubuntu 10.4
Please provide any additional information below.

Original issue reported on code.google.com by HOCTAVE2...@gmail.com on 12 Feb 2012 at 6:45

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The problem is solve; simple products was not assign to categories

Original comment by HOCTAVE2...@gmail.com on 14 Feb 2012 at 6:49

GoogleCodeExporter commented 8 years ago
Thanks for the confirmation.
We will make sure this is not a problem anymore in future versions

Original comment by sneldev@gmail.com on 14 Feb 2012 at 10:22

GoogleCodeExporter commented 8 years ago
Follow-up will be done in issue 25.

Original comment by sneldev@gmail.com on 5 Mar 2012 at 5:09