This is fixed in 1.5.0-beta1 and newer upstream github.com/s3tools/s3cmd master branch.


On Sun, Feb 9, 2014 at 5:57 PM, Samuel Littley <samuel.littley@toastwaffle.com> wrote:
Hi,

s3cmd failed when trying to perform a sync operation. The error details are:

Problem: KeyError: 'elapsed'
S3cmd:   1.1.0-beta3

Traceback (most recent call last):
  File "/usr/bin/s3cmd", line 1800, in <module>
    main()
  File "/usr/bin/s3cmd", line 1741, in main
    cmd_func(args)
  File "/usr/bin/s3cmd", line 965, in cmd_sync
    return cmd_sync_local2remote(args)
  File "/usr/bin/s3cmd", line 932, in cmd_sync_local2remote
    (item['full_name_unicode'], uri, response["size"], response["elapsed"],
KeyError: 'elapsed'

The command run was "s3cmd sync -F --skip-existing --acl-private
/var/backups/ s3://kebleball > /dev/null", the system is a debian VPS
with uname "Linux yoda 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64
GNU/Linux"

Let me know if you need further information.

Samuel Littley
samuel.littley@toastwaffle.com

Web: http://www.toastwaffle.com
Tel: 07724205781

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk