Skip to Content
Menu
This question has been flagged
4081 Views

Hi,

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
    verbose=self.__verbose
  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
    p.feed(data)
  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,

Emon

Avatar
Discard

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