ERROR in unit/import_synchronizer.py in method _import_attribute_set "IndexError: list index out of range"

Bug #1285430 reported by codati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector
New
Undecided
Unassigned

Bug Description

Bug with import "IndexError: list index out of range"

I'm blocked on import with the connector form prestashop 1.5.6.2 and openerp 7.0-20140223-002825.

Task :
openerp.addons.prestashoperpconnect.unit.import_synchronizer.import_record('prestashop.product.product', 1, 609)

I can provide exchanges with the api (wireshark)
with module installed :

prestashoperpconnect
   product_images
      product_sequence

   product_m2mcategories
   product_custom_attributes
      base_custom_attributes

   connector_ecommerce
      sale_automatic_workflow
         sale_payment_method
      sale_exceptions
bug :
Traceback (most recent call last):
  File "***/openerp/addons/connector/queue/worker.py", line 122, in run_job
    job.perform(session)
  File "***/openerp/addons/connector/queue/job.py", line 472, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "***/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 795, in import_record
    importer.run(prestashop_id)
  File "***/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 596, in run
    super(ProductRecordImport, self).run(prestashop_id)
  File "***/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 503, in run
    self._import_dependencies()
  File "***/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 653, in _import_dependencies
    self._import_attribute_set()
  File "***/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 667, in _import_attribute_set
    name = splitted_record.values()[0]['name']
IndexError: list index out of range

codati (codatitiss)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.