← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 780514] [NEW] product import fails with: junk after document element: line 2, column 0

 

Public bug reported:

There are several configurable products in the Magento database.  All
other import features work, but Step 6, Product Import, fails producing
the following error...  Magento 1.5


Environment Information : 
System : Linux-2.6.38-9-generic-i686-with-Ubuntu-11.04-natty
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 11.04
Release:	11.04
Codename:	natty
Operating System Release : 2.6.38-9-generic
Operating System Version : #43-Ubuntu SMP Thu Apr 28 15:25:15 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : en_GB.UTF8
Python Version : 2.7.1+
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/share/pyshared/openerp-server/addons/magentoerpconnectv6-c2c/magerp_core.py", line 143, in sync_products
    list_prods = attr_conn.call('catalog_product.list')
  File "/usr/share/pyshared/openerp-server/addons/magentoerpconnectv6-c2c/magerp_osv.py", line 53, in call
    res = self.ser.call(self.session, method, arguments)
  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 1575, 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: junk after document element: line 2, column 0

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/780514

Title:
  product import fails with:  junk after document element: line 2,
  column 0

Status in Magento Open ERP Connector:
  New

Bug description:
  There are several configurable products in the Magento database.  All
  other import features work, but Step 6, Product Import, fails
  producing the following error...  Magento 1.5

  
  Environment Information : 
  System : Linux-2.6.38-9-generic-i686-with-Ubuntu-11.04-natty
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 11.04
  Release:	11.04
  Codename:	natty
  Operating System Release : 2.6.38-9-generic
  Operating System Version : #43-Ubuntu SMP Thu Apr 28 15:25:15 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : en_GB.UTF8
  Python Version : 2.7.1+
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/share/pyshared/openerp-server/addons/magentoerpconnectv6-c2c/magerp_core.py", line 143, in sync_products
      list_prods = attr_conn.call('catalog_product.list')
    File "/usr/share/pyshared/openerp-server/addons/magentoerpconnectv6-c2c/magerp_osv.py", line 53, in call
      res = self.ser.call(self.session, method, arguments)
    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 1575, 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: junk after document element: line 2, column 0


Follow ups

References