openerp-connector-community team mailing list archive
-
openerp-connector-community team
-
Mailing list archive
-
Message #00455
Re: Product import error
Thanks for the reference, Guewen. It's working fine with the fix. Sorry for
not seeing before the MP.
Regards.
2014-06-14 22:35 GMT+02:00 Guewen Baconnier <guewen.baconnier@xxxxxxxxxxxxxx
>:
> Hi Pedro,
>
> Can you test with this fix?
>
>
> https://code.launchpad.net/~camptocamp/openerp-connector-magento/7.0-import-product-translations-1330116/+merge/223160
>
> -- Guewen
>
>
> On Sat, Jun 14, 2014 at 1:24 PM, Pedro Manuel Baeza Romero
> <pedro.baeza@xxxxxxxxx> wrote:
> > 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.
> >
> > --
> > Mailing list: https://launchpad.net/~openerp-connector-community
> > Post to : openerp-connector-community@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openerp-connector-community
> > More help : https://help.launchpad.net/ListHelp
> >
>
Follow ups
References