Fixed with https://github.com/s3tools/s3cmd/pull/133 on top of 1.5.0-alpha2.

Thanks for the report.
Matt


On Wed, Mar 6, 2013 at 7:33 AM, Walter Sze <walter.sze@kaplan.com> wrote:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please report the following lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: KeyError: target_uri
S3cmd:   1.5.0-alpha1

Traceback (most recent call last):
  File "./s3cmd", line 2037, in <module>
    main()
  File "./s3cmd", line 1978, in main
    cmd_func(args)
  File "./s3cmd", line 1166, in cmd_sync
    return cmd_sync_remote2remote(args)
  File "./s3cmd", line 697, in cmd_sync_remote2remote
    seq = _upload(update_list, seq, src_count + update_count)
  File "./s3cmd", line 683, in _upload
    dst_uri = S3Uri(item['target_uri'])
KeyError: 'target_uri'

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

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev