From: Emmanuel S. <emm...@ev...> - 2013-06-23 06:28:19
|
Hi Guys I got an error when trying to sync my folder and exclude files at the same time. Here are the logs Problem: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 48: 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/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-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/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/FileLists.py", line 169, in _get_filelist_local for root, dirs, files in filelist: File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/FileLists.py", line 55, in _fswalk_no_symlinks handle_exclude_include_walk(dirpath, dirnames, filenames) File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/FileLists.py", line 137, in handle_exclude_include_walk debug(u"EXCLUDE: %s" % file) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 48: ordinal not in range(128) Any clue? Thanks -- Regards Emmanuel Siegel |