I'm getting this with the latest master. I did re-run the configuration step after installing using setup.py

Problem: IOError: Not a gzipped file
S3cmd:   1.5.0-alpha3

Traceback (most recent call last):
  File "/root/s3cmd-master/s3cmd", line 2180, in <module>
  File "/root/s3cmd-master/s3cmd", line 2105, in main
  File "/root/s3cmd-master/s3cmd", line 1257, in cmd_sync
    return cmd_sync_local2remote(args)
  File "/root/s3cmd-master/s3cmd", line 1241, in cmd_sync_local2remote
    destination_base_uri = _single_process(local_list)
  File "/root/s3cmd-master/s3cmd", line 1056, in _single_process
    _child(destination_base, local_list)
  File "/root/s3cmd-master/s3cmd", line 1189, in _child
    n, total_size = _upload(local_list, 0, local_count, total_size)
  File "/root/s3cmd-master/s3cmd", line 1111, in _upload
    response = s3.object_put(src, uri, extra_headers, extra_label = seq_label)
  File "/root/s3cmd-master/S3/S3.py", line 411, in object_put
    (content_type, content_encoding) = mime_magic(filename)
  File "/root/s3cmd-master/S3/S3.py", line 73, in mime_magic
    return (mime_magic_buffer(gzip.open(file).read(8192)), 'gzip')
  File "/usr/local/lib/python2.7/gzip.py", line 256, in read
  File "/usr/local/lib/python2.7/gzip.py", line 291, in _read
  File "/usr/local/lib/python2.7/gzip.py", line 185, in _read_gzip_header
    raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file

Peter Risdon
0844 999 1451
07861 652101

On 16 July 2013 15:41, Peter Risdon <peter@wgyb.biz> wrote:
Thanks, appreciate the fast reply.
On 16 July 2013 15:40, Matt Domsch <matt@domsch.com> wrote:
fixed on the master branch at github; probably not fixed in a release...

On Tue, Jul 16, 2013 at 8:22 AM, Peter Risdon <peter@wgyb.biz> wrote:
>From an automated (cron) backup that was running fine until recently:

Invoked as: %sTraceback (most recent call last):
  File "/root/s3cmd-master/s3cmd", line 2128, in <module>
  File "/root/s3cmd-master/s3cmd", line 2055, in report_exception
    sys.stderr.write("""Invoked as: %s""") % s
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'

See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!