From: David D. <dd...@un...> - 2013-06-17 15:07:48
|
Hello, I was using the s3cmd tool to try to fix a bucket I am having trouble with but received the following error in the process… new-host-3:s3cmd daviddew$ s3cmd fixbucket s3://unation-utv File u'anytimefitness marcus april.jpg\uffff\x01' renamed to anytimefitness marcus april.jpg^A WARNING: Fixed 1 files' names. Their ACL were reset to Private. WARNING: Use 's3cmd setacl --acl-public s3://...' to make WARNING: them publicly readable if required. new-host-3:s3cmd daviddew$ s3cmd fixbucket s3://unation-utv new-host-3:s3cmd daviddew$ s3cmd setacl --acl-public s3://unation-utv s3://unation-utv/: ACL set to Public new-host-3:s3cmd daviddew$ s3cmd ls 2012-10-22 18:26 s3://Unation-DOWN-Babies 2012-12-19 13:03 s3://cf-templates-nsj89zi6m6kq-us-east-1 2012-05-15 13:42 s3://dtest-s3bucket-l46kjx8l1cm5 2012-08-24 23:13 s3://qnap-s3backup-1234567890 2013-06-05 18:00 s3://unation-billing 2013-04-21 16:30 s3://unation-cloudfront-logs 2012-10-22 18:43 s3://unation-down-1 2012-11-09 15:26 s3://unation-media 2012-10-24 14:09 s3://unation-misl 2013-04-11 23:14 s3://unation-pdl 2013-04-23 13:00 s3://unation-static 2012-11-07 13:16 s3://unation-uslpro 2013-01-31 22:26 s3://unation-uslpro-2013 2013-04-17 14:03 s3://unation-uslpro-archive 2012-11-13 14:20 s3://unation-utv 2013-06-11 08:02 s3://unation-utv2 2013-05-04 20:10 s3://unation-video-in 2013-05-04 20:10 s3://unation-video-out 2012-11-07 13:16 s3://unation-wleague 2013-04-17 14:03 s3://unation-wleague-archive new-host-3:s3cmd daviddew$ s3cmd ls s3://unation-utv !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the following lines to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Problem: ParseError: not well-formed (invalid token): line 2, column 1584 S3cmd: 1.5.0-alpha3 Traceback (most recent call last): File "/usr/local/bin/s3cmd", line 2094, in <module> main() File "/usr/local/bin/s3cmd", line 2034, in main cmd_func(args) File "/usr/local/bin/s3cmd", line 104, in cmd_ls subcmd_bucket_list(s3, uri) File "/usr/local/bin/s3cmd", line 134, in subcmd_bucket_list response = s3.bucket_list(bucket, prefix = prefix) File "/Library/Python/2.7/site-packages/S3/S3.py", line 244, in bucket_list current_list = _get_contents(response["data"]) File "/Library/Python/2.7/site-packages/S3/S3.py", line 232, 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 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1624, in feed File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1488, in _raiseerror ParseError: not well-formed (invalid token): line 2, column 1584 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the above lines to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |