Apologies if this is already reported. I have just joined the mailing
list and when I try and search the archive SF.net gives "Error: Forum
not found"
My bucket names aren't DNS friendly for public acl, so ideally I want to
rename a bucket, but can't see a way to do this.
Instead I was planning on moving the contents of the bucket to a DNS
friendly named bucket, and then deleting the original bucket.
I have tried the following:
mv BUCKET to a different BUCKET
mv BUCKET/* to a different BUCKET
cp BUCKET/OBJECT to a different BUCKET
cp BUCKET/OBJECT to a different BUCKET/
I get the following error each time:
Problem: ExpatError: mismatched tag: line 5, column 2
S3cmd: 0.9.9-rc3
Python: 2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu
4.2.3-2ubuntu7)]
Traceback (most recent call last):
File "/usr/bin/s3cmd", line 1541, in <module>
main()
File "/usr/bin/s3cmd", line 1518, in main
cmd_func(args)
File "/usr/bin/s3cmd", line 519, in cmd_cp
subcmd_cp_mv(args, s3.object_copy, "Object %(src)s copied to %(dst)s")
File "/usr/bin/s3cmd", line 512, in subcmd_cp_mv
response = process_fce(src_uri, dst_uri)
File "/usr/lib/python2.5/site-packages/S3/S3.py", line 233, in object_copy
response = self.send_request(request)
File "/usr/lib/python2.5/site-packages/S3/S3.py", line 399, in
send_request
raise S3Error(response)
File "/usr/lib/python2.5/site-packages/S3/Exceptions.py", line 44, in
__init__
tree = getTreeFromXml(response["data"])
File "/usr/lib/python2.5/site-packages/S3/Utils.py", line 57, in
getTreeFromXml
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: mismatched tag: line 5, column 2
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
S3tools-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s3tools-general