Greetings,

I have a problem with accessing a bucket of mine. When I run ls, rb, or fixbucket, I get errors.

I think I have a filename that's name improperly.

Here's the one I got from rb:

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

Problem: ParseError: reference to invalid character number: line 2, column 158
S3cmd:   1.5.0-alpha1

Traceback (most recent call last):
  File "/usr/local/bin/s3cmd", line 2037, in <module>
    main()
  File "/usr/local/bin/s3cmd", line 1978, in main
    cmd_func(args)
  File "/usr/local/bin/s3cmd", line 255, in cmd_bucket_delete
    _bucket_delete_one(uri)
  File "/usr/local/bin/s3cmd", line 242, in _bucket_delete_one
    subcmd_object_del_uri(uri.uri(), recursive = True)
  File "/usr/local/bin/s3cmd", line 502, in subcmd_object_del_uri
    remote_list = fetch_remote_list(uri_str, require_attribs = False, recursive = recursive)
  File "/Library/Python/2.7/site-packages/S3/FileLists.py", line 334, in fetch_remote_list
    objectlist = _get_filelist_remote(uri)
  File "/Library/Python/2.7/site-packages/S3/FileLists.py", line 280, in _get_filelist_remote
    response = s3.bucket_list(remote_uri.bucket(), prefix = remote_uri.object(), recursive = recursive)
  File "/Library/Python/2.7/site-packages/S3/S3.py", line 250, in bucket_list
    current_list = _get_contents(response["data"])
  File "/Library/Python/2.7/site-packages/S3/S3.py", line 237, in _get_contents
    return getListFromXml(data, "Contents")
  File "/Library/Python/2.7/site-packages/S3/Utils.py", line 82, in getListFromXml
    tree = getTreeFromXml(xml)
  File "/Library/Python/2.7/site-packages/S3/Utils.py", line 72, in getTreeFromXml
    tree = ET.fromstring(xml)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1282, in XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1624, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1488, in _raiseerror
    raise err
ParseError: reference to invalid character number: line 2, column 158

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


Best,

ARTHUR ARIEL SABINTSEV
410.499.3337 | arthur@sabintsev.com | arthur.sabintsev.com | @ArtSabintsev