From: Peter R. <pe...@wg...> - 2013-07-24 15:04:58
|
Invoked as: *************/s3cmd sync /usr/home/ s3://***********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> main() File "/root/s3cmd-master/s3cmd", line 2105, in main cmd_func(args) 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 261, in read self._read(readsize) File "/usr/local/lib/python2.7/gzip.py", line 296, in _read self._read_gzip_header() File "/usr/local/lib/python2.7/gzip.py", line 190, in _read_gzip_header raise IOError, 'Not a gzipped file' IOError: Not a gzipped file I have updated all the python components on the machine. TIA Peter |