From: Jamshid K. <jk...@ya...> - 2014-05-08 11:47:21
|
Problem: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 33: ordinal not in range(128) S3cmd: 1.1.0-beta3 Traceback (most recent call last): File "/usr/bin/s3cmd", line 1800, in <module> main() File "/usr/bin/s3cmd", line 1741, in main cmd_func(args) File "/usr/bin/s3cmd", line 965, in cmd_sync return cmd_sync_local2remote(args) File "/usr/bin/s3cmd", line 922, in cmd_sync_local2remote response = s3.object_put(src, uri, extra_headers, extra_label = seq_label) File "/usr/share/s3cmd/S3/S3.py", line 363, in object_put content_type = mime_magic(filename) File "/usr/share/s3cmd/S3/S3.py", line 43, in mime_magic return magic_.file(file) File "/usr/lib/python2.7/dist-packages/magic.py", line 125, in file return _file(self._magic_t, filename.encode('utf-8')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 33: ordinal not in range(128) |