Fixed in 1.5.0-alpha3.


On Mon, Apr 8, 2013 at 10:55 AM, David Maust <david@dmaust.net> wrote:
This error is produced when I try to sync an empty bucket.

Thanks,
David

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

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

Traceback (most recent call last):
   File "/usr/bin/s3cmd", line 2006, in <module>
     main()
   File "/usr/bin/s3cmd", line 1950, in main
     cmd_func(args)
   File "/usr/bin/s3cmd", line 1213, in cmd_sync
     return cmd_sync_remote2local(args)
   File "/usr/bin/s3cmd", line 949, in cmd_sync_remote2local
     remote_list[remote_list.keys()[0]]['local_filename'] =
deunicodise(destination_base)
IndexError: list index out of range

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


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html