Skip to Content
Menu
This question has been flagged
2672 Views

Hi,

When I import sales orders, the import operation fails.

This is the exception that I get:

2015-10-04 09:06:41,396 2739 ERROR jamalon8 openerp.addons.magentoerpconnect.unit.backend_adapter: api.call(sales_order.search, [{'imported': False, 'filters': {'created_at': {'to': '2015/10/01 07:03:00'}, 'store_id': {'in': [u'2']}, 'state': {'neq': 'canceled'}}}]) failed

2015-10-04 09:06:42,516 2739 ERROR jamalon8 openerp.addons.connector.queue.worker: Traceback (most recent call last):

File "/opt/odoo/.local/share/Odoo/addons/8.0/connector/queue/worker.py", line 124, in run_job

job.perform(session)

File "/opt/odoo/.local/share/Odoo/addons/8.0/connector/queue/job.py", line 467, in perform

self.result = self.func(session, *self.args, **self.kwargs)

File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/sale.py", line 1039, in sale_order_import_batch

importer.run(filters)

File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/sale.py", line 349, in run

magento_storeview_ids=magento_storeview_ids)

File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/sale.py", line 309, in search

return super(SaleOrderAdapter, self).search(arguments)

File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/unit/backend_adapter.py", line 211, in search

[filters] if filters else [{}])

File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/sale.py", line 277, in _call

return super(SaleOrderAdapter, self)._call(method, arguments)

File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/unit/backend_adapter.py", line 168, in _call

result = api.call(method, arguments)

File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line 159, in call

return self.client.call(self.session, resource_path, arguments)

File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__

return self.__send(self.__name, args)

File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request

verbose=self.__verbose

File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request

return self.single_request(host, handler, request_body, verbose)

File "/usr/lib/python2.7/xmlrpclib.py", line 1306, in single_request

return self.parse_response(response)

File "/usr/lib/python2.7/xmlrpclib.py", line 1480, in parse_response

p.close()

File "/usr/lib/python2.7/xmlrpclib.py", line 561, in close

self._parser.Parse("", 1) # end of data

ExpatError: no element found: line 1, column 0

 What is this problem?

Thank you very much for the help

Avatar
Discard
Related Posts Replies Views Activity
0
Oct 15
3016
1
Aug 24
351
3
Aug 24
1818
1
Feb 24
1121
3
Oct 23
9063