This is fixed in 1.5.0-beta1 and newer upstream master branch.

On Sun, Feb 9, 2014 at 5:57 PM, Samuel Littley <> wrote:

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>
  File "/usr/bin/s3cmd", line 1741, in main
  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

Let me know if you need further information.

Samuel Littley

Tel: 07724205781

Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.