I get this when trying to sync a local folder to a bucket.
Filenames on disk might include weird Dutch chars etc (though that
shouldn't be a problem).
S3cmd: 0.9.8.4
Python: 2.4.4 (#2, Oct 22 2008, 19:52:44) [GCC 4.1.2 20061115
(prerelease) (Debian 4.1.1-21)]
Traceback (most recent call last):
File "/usr/bin/s3cmd", line 1070, in ?
main()
File "/usr/bin/s3cmd", line 1049, in main
cmd_func(args)
File "/usr/bin/s3cmd", line 651, in cmd_sync
return cmd_sync_local2remote(src, dst)
File "/usr/bin/s3cmd", line 583, in cmd_sync_local2remote
loc_list = _get_filelist_local(src_uri)
File "/usr/bin/s3cmd", line 329, in _get_filelist_local
for root, dirs, files in filelist:
File "os.py", line 291, in walk
for x in walk(path, topdown, onerror):
File "os.py", line 291, in walk
for x in walk(path, topdown, onerror):
File "os.py", line 291, in walk
for x in walk(path, topdown, onerror):
File "os.py", line 291, in walk
for x in walk(path, topdown, onerror):
File "os.py", line 291, in walk
for x in walk(path, topdown, onerror):
File "os.py", line 291, in walk
for x in walk(path, topdown, onerror):
File "os.py", line 291, in walk
for x in walk(path, topdown, onerror):
File "os.py", line 281, in walk
if isdir(join(top, name)):
File "posixpath.py", line 65, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position
2: ordinal not in range(128)
Here's output from locale:
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
Please help!
--
Dimitrios Kordas
Web Developer
Flame Digital
Ph: 0845 226 0766
www.flamedigital.com
Studios in Manchester / London / Prague
Latest work out of our studio:
www.rrg-group.com
www.thegatelab.com
www.ahold.com
Please consider the environment before printing this e-mail.
Is anything I said that important?
This message (including any attachments) is confidential and may be
legally privileged. If you are not the intended recipient, you should
not disclose, copy or use any part of it. Please delete all copies
immediately and notify Flame Digital Ltd.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general