From: Ivan T. <iva...@gm...> - 2013-10-03 05:52:27
|
Hello, s3cmd is working fine for most of my buckets, but I got this error on a large bucket with some files with cyrillic symbols. Problem: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 44: ordinal not in range(128) S3cmd: 1.5.0-alpha1 Traceback (most recent call last): File "/usr/local/bin/s3cmd", line 2037, in <module> main() File "/usr/local/bin/s3cmd", line 1978, in main cmd_func(args) File "/usr/local/bin/s3cmd", line 1162, in cmd_sync return cmd_sync_local2remote(args) File "/usr/local/bin/s3cmd", line 1139, in cmd_sync_local2remote local_list, single_file_local = fetch_local_list(args[:-1], recursive = True) File "/usr/local/lib/python2.6/dist-packages/S3/FileLists.py", line 246, in fetch_local_list list_for_uri, single_file = _get_filelist_local(local_list, uri, cache) File "/usr/local/lib/python2.6/dist-packages/S3/FileLists.py", line 169, in _get_filelist_local for root, dirs, files in filelist: File "/usr/local/lib/python2.6/dist-packages/S3/FileLists.py", line 55, in _fswalk_no_symlinks handle_exclude_include_walk(dirpath, dirnames, filenames) File "/usr/local/lib/python2.6/dist-packages/S3/FileLists.py", line 137, in handle_exclude_include_walk debug(u"EXCLUDE: %s" % file) UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 44: ordinal not in range(128) |