← Back to team overview

openerp-connector-community team mailing list archive

Product import error

 

Hi all,

I'm getting this error on product import jobs with the latest version of
the connector (2.2), e-commerce connector (2.2) and Magento connector (2.4):












*Traceback (most recent call last):File
"/opt/openerp/v7/other-addons/connector/queue/worker.py", line 122, in
run_job job.perform(session)File
"/opt/openerp/v7/other-addons/connector/queue/job.py", line 485, in perform
self.result = self.func(session, *self.args, **self.kwargs)File
"/opt/openerp/v7/other-addons/magentoerpconnect/unit/import_synchronizer.py",
line 368, in import_record importer.run(magento_id, force=force)File
"/opt/openerp/v7/other-addons/magentoerpconnect/unit/import_synchronizer.py",
line 229, in run self._after_import(binding_id)File
"/opt/openerp/v7/other-addons/magentoerpconnect/product.py", line 400, in
_after_import translation_importer.run(self.magento_id, binding_id)File
"/opt/openerp/v7/other-addons/magentoerpconnect/unit/import_synchronizer.py",
line 323, in run map_record = self.mapper.map_record(lang_record)File
"/opt/openerp/v7/other-addons/connector/unit/synchronizer.py", line 115, in
mapper self._mapper = self.environment.get_connector_unit(ImportMapper)File
"/opt/openerp/v7/other-addons/connector/connector.py", line 261, in
get_connector_unit self.model_name)(self)File
"/opt/openerp/v7/other-addons/connector/backend.py", line 270, in get_class
(base_class, session, model_name, matching_classes))AssertionError: Several
classes found for <class
'openerp.addons.connector.unit.mapper.ImportMapper'> with session <Session
db_name: pruebas, uid: 1>, model name: magento.product.product. Found:
set([<class
'openerp.addons.magentoerpconnect.product.IsActiveProductImportMapper'>,
<class 'openerp.addons.magentoerpconnect.product.ProductImportMapper'>])*

Anyone can point me what is the problem?

Thanks in advance.

Regards.

Follow ups