Matt Domsch has fixed this bug in the 1.5.0 alpha versions.

Perhaps you could try the latest version.

On 22 May 2013 02:28, Brian Tarbox <> wrote:
I have 4 identical EC2 instances...with s3cmd baked into the instance so I know they are identical.
Two of my instances are suddenly failing with this error message.

    An unexpected error has occurred.
  Please report the following lines to:

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 309, in cmd_object_put
    (unicodise(full_name_orig), uri_final, response["size"], response["elapsed"],
KeyError: 'elapsed'

    An unexpected error has occurred.
    Please report the above lines to:

Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt!

Michael Wood <>