Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Error while exporting products in Magento. "not well-formed (invalid token)"

on 11/4/14, 10:25 AM 939 views


I am exporting products into Openerp using Magento Cofiguration. At that time I faced the following error.


ERROR test_odoo8 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/http.py", line 470, in dispatch
    result = self._call_function(**self.params)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/http.py", line 294, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/http.py", line 291, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/http.py", line 638, in __call__
    return self.method(*args, **kw)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/http.py", line 337, in response_wrap
    response = f(*args, **kw)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/addons/web/controllers/main.py", line 1246, in call_button
    action = self._call_kw(model, method, args, {})
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/addons/web/controllers/main.py", line 1234, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/addons/endo_magento_connector/wizard/magento_products_import.py", line 15, in do_products_import
    result=self.pool.get('magento.configuration').import_products(cr, uid)
  File "/home/endo/openerp-8.0dev-20140416-230101/openerp/addons/endo_magento_connector/product_configuration.py", line 456, in import_products
    all_products = server.call(session, 'product.list',[{'product_id': {'from': str(index), 'to': str(stop)}}])
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1467, in parse_response
  File "/usr/lib/python2.7/xmlrpclib.py", line 557, in feed
    self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 2, column 6205560


Please help me with a solution.


Thanks & Regards,


Just got the same Error. Different "column number" is all.

Landis Arnold
on 8/18/16, 9:19 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 11/4/14, 10:25 AM
Seen: 939 times
Last updated: 5/27/16, 5:29 AM