Hi Darshan, > 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. > > 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
Sorting this out will require a bit of a manual work: 1) Download the most recent s3cmd from Subversion (see http://s3tools.org/download for details) 2) Run "s3cmd --debug ls s3://<the broken bucket name>" It will fail but before that should print out some looong XML 3) Find what's between the <Key></Key> tags around character 232 in that XML. It'll probably contain something like &x1; entity or similar. 4) Send me the result (or send me the whole XML if you can't find it) and I'll give you back the object name that you'll use with the SVN s3cmd's --verbatim option to remove the offending file. Michal ------------------------------------------------------------------------------ _______________________________________________ S3tools-general mailing list S3tools-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/s3tools-general