TypeError: argument 2 to map() must support iteration

Bug #1318582 reported by Atul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
New
Undecided
Unassigned

Bug Description

Traceback (most recent call last): File "/opt/openerp_7.0/openerp-connector/connector/queue/worker.py", line 122, in run_job job.perform(session) File "/opt/openerp_7.0/openerp-connector/connector/queue/job.py", line 472, in perform self.result = self.func(session, *self.args, **self.kwargs) File "/opt/openerp_7.0/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 332, in import_record importer.run(magento_id, force=force) File "/opt/openerp_7.0/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 181, in run self._import_dependencies() File "/opt/openerp_7.0/openerp-connector-magento/magentoerpconnect/sale.py", line 662, in _import_dependencies self._import_addresses() File "/opt/openerp_7.0/openerp-connector-magento/magentoerpconnect/sale.py", line 585, in _import_addresses partner_bind_id, ['openerp_id'])['openerp_id'][0] File "/opt/openerp_7.0/openerp-connector/connector/session.py", line 171, in read return self.pool[model].read(self.cr, self.uid, ids, fields, context=self.context) File "/opt/openerp_7.0/server/openerp/osv/orm.py", line 3622, in read select = map(lambda x: isinstance(x, dict) and x['id'] or x, select)
TypeError: argument 2 to map() must support iteration

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

Can you give more information about the context in which this error happens? What was you doing?
What are the revisions of the branches?

Revision history for this message
Atul (jain-atul43) wrote :

i have downloaded all branched from launchpad
and this error shown around 30 jobs

Revision history for this message
Atul (jain-atul43) wrote :

when i am going to import sales order that time failed the job with above mentioned Exception

Revision history for this message
Atul (jain-atul43) wrote :

hello

can you please solve this bug
why i am getting this error
why i can't import some order bcz of this exception

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions