My bucket is corrupted and I am unable to delete the object which is
corrupted and lying inside it nor the whole bucket. I am getting the follow
error, please help.


dars...@darshan-laptop:~$ s3cmd sync —delete
s3://edu-cornell-cs-cs6464-nk358-test-meta
Compiling list of local files...
Retrieving list of remote files...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please report the following lines to:
  s3tools-general@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Traceback (most recent call last):
  File "/usr/bin/s3cmd", line 1040, in <module>
    main()
  File "/usr/bin/s3cmd", line 1020, in main
    cmd_func(args)
  File "/usr/bin/s3cmd", line 627, in cmd_sync
    return cmd_sync_local2remote(src, dst)
  File "/usr/bin/s3cmd", line 565, in cmd_sync_local2remote
    rem_list = _get_filelist_remote(dst_uri)
  File "/usr/bin/s3cmd", line 339, in _get_filelist_remote
    response = s3.bucket_list(remote_uri.bucket(), prefix =
remote_uri.object())
  File "/usr/lib/python2.5/site-packages/S3/S3.py", line 114, in bucket_list
    list = _get_contents(response["data"])
  File "/usr/lib/python2.5/site-packages/S3/S3.py", line 109, in
_get_contents
    return getListFromXml(data, "Contents")
  File "/usr/lib/python2.5/site-packages/S3/Utils.py", line 61, in
getListFromXml
    tree = ET.fromstring(xml)
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 963, in XML
    parser.feed(text)
  File "/usr/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 232


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
    Please report the above lines to:
  s3tools-general@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dars...@darshan-laptop:~$
------------------------------------------------------------------------------
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to