Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#47 out of index while listing bucket with many buckets inside

open
nobody
s3cmd (118)
5
2013-02-19
2010-03-10
Anonymous
No

I tried to list bucket with many buckets inside and failed. See below the error massage.

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

Problem: IndexError: list index out of range
S3cmd: 0.9.9.91

Traceback (most recent call last):
File "/usr/bin/s3cmd", line 1736, in <module>
main()
File "/usr/bin/s3cmd", line 1681, in main
cmd_func(args)
File "/usr/bin/s3cmd", line 89, in cmd_ls
subcmd_bucket_list(s3, uri)
File "/usr/bin/s3cmd", line 119, in subcmd_bucket_list
response = s3.bucket_list(bucket, prefix = prefix)
File "/usr/share/s3cmd/S3/S3.py", line 181, in bucket_list
uri_params['marker'] = self.urlencode_string(list[-1]["Key"])
IndexError: list index out of range

Discussion