Inside my application I compress a 20GB file and then upload it to S3 using s3cmd.  These lines are from the stderr output:

        command |gzip --best -c /scratch/tmpute-LK >/scratch/tmpute-LK.kgap.gz| complete with return code 0

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

Problem: KeyError: 'size'
S3cmd:   1.1.0-beta2

Traceback (most recent call last):
  File "/opt/amazon/bin/s3cmd", line 1804, in <module>
  File "/opt/amazon/bin/s3cmd", line 1745, in main
  File "/opt/amazon/bin/s3cmd", line 309, in cmd_object_put
    (unicodise(full_name_orig), uri_final, response["size"], response["elapsed"],
KeyError: 'size'

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

Bill Torcaso

Knome Inc.
25 First Street, Suite 107
Cambridge, MA  02141
Phone: 617.715.1000
The Human Genome Interpretation Company

This e-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521 and is legally privileged.  This email contains confidential information intended only for the person(s) to whom this e-mail message is addressed.  If you have received this e-mail message in error, please notify the sender immediately by telephone at (617) 715-1000 or by electronic mail ( and destroy the original message without making a copy. Thank you.