Hi,
 
Can you help me out on this error please?
 
Thx


From: Olivier Van Kerrebroeck [mailto:olivier.vankerrebroeck@telenet.be]
Sent: woensdag 28 oktober 2009 7:32
To: michal@logix.cz
Cc: VAN KERREBROECK Olivier (MCS/NIT)
Subject: s3cmd

Hi Michael,

 

Can you help me out ?

I get the following error :

 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    An unexpected error has occurred.

  Please report the following lines to:

   s3tools-bugs@lists.sourceforge.net

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

Problem: ExpatError: reference to invalid character number: line 2, column 296506

S3cmd:   0.9.9

Python:  2.5.4 (r254:67916, Jun  2 2009, 02:24:37)  [GCC 3.4.3 20041021 (prerelease)]

 

Traceback (most recent call last):

  File "s3cmd", line 1562, in <module>

    main()

  File "s3cmd", line 1542, in main

    cmd_func(args)

  File "s3cmd", line 1018, in cmd_sync

    return cmd_sync_local2remote(args)

  File "s3cmd", line 919, in cmd_sync_local2remote

    remote_list = fetch_remote_list(destination_base, recursive = True, require_attribs = True)

  File "s3cmd", line 239, in fetch_remote_list

    objectlist = _get_filelist_remote(uri)

  File "s3cmd", line 630, in _get_filelist_remote

    response = s3.bucket_list(remote_uri.bucket(), prefix = remote_uri.object(), recursive = recursive)

  File "/volume1/Olivier/s3/s3cmd-0.9.9/S3/S3.py", line 140, in bucket_list

  File "/volume1/Olivier/s3/s3cmd-0.9.9/S3/S3.py", line 120, in _get_contents

  File "/volume1/Olivier/s3/s3cmd-0.9.9/S3/Utils.py", line 63, in getListFromXml

  File "/volume1/Olivier/s3/s3cmd-0.9.9/S3/Utils.py", line 57, in getTreeFromXml

  File "/opt/lib/python2.5/xml/etree/ElementTree.py", line 963, in XML

    parser.feed(text)

  File "/opt/lib/python2.5/xml/etree/ElementTree.py", line 1245, in feed

    self._parser.Parse(data, 0)

ExpatError: reference to invalid character number: line 2, column 296506

 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    An unexpected error has occurred.

    Please report the above lines to:

   s3tools-bugs@lists.sourceforge.net

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

This is the debug info :

 

DEBUG: Response: {'status': 200, 'headers': {'x-amz-id-2': '4CRuec5EEMMqYtTqNewo6J25E7DGDwWF5P2AD4Lxus2Y8HYtk85CDuq8xZVH01Jw', 'server': 'AmazonS3', 'transfer-encoding': 'chunked', 'x-amz-request-id': '8B6B7774AE5A8C5E', 'date': 'Wed, 28 Oct 2009 06:27:06 GMT', 'content-type': 'application/xml'}, 'reason': 'OK', 'data': '<?xml version="1.0" encoding="UTF-8"?>\n<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>devecopackaging</Name><Prefix>Christelle/</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>false</IsTruncated><CommonPrefixes><Prefix>Christelle/Christelle/</Prefix></CommonPrefixes></ListBucketResult>'}

                       DIR   s3://devecopackaging/Christelle/Christelle/

 

 

What file is causing this?

 

Thx

**** DISCLAIMER****
http://www.proximus.be/maildisclaimer