|
From: Moshe Y. <mo...@po...> - 2014-04-01 20:34:37
|
S3cmd seems to choke on a standard mozilla filename. DEBUG: ConnMan.get(): re-using connection: https://s3.amazonaws.com#5 DEBUG: Unicodising "Bucket name 'aaaaaaaaaaaaBbbbbb' contains disallowed character 'B'. The only supported ones are: lowercase us-asc ii letters (a-z), digits (0-9), dot (.) and hyphen (-)." using UTF-8 DEBUG: format_uri(): /aaaaaaaaaaaaBbbbbb/computers/abcdefgh/moshe/.mozilla/firefox/a7rk3kuf.default/sessionbackups/tabmix_sessions-20 14-04-01.rdf DEBUG: ConnMan.put(): connection put back to pool (https://s3.amazonaws.com#6) DEBUG: Response: {'status': 200, 'headers': {'content-length': '0', 'x-amz-id-2': 'LP1BfOvLhpdp7hKQcK7p5ooPqg227dTtIB4nB4szGUZdGG2zBR 6zDh5QdjBlCiPt', 'server': 'AmazonS3', 'x-amz-request-id': 'CA208FCB2C4852F8', 'etag': '"ebdede4d69bf8e4fd87170a610adc7a8"', 'date': 'Tue, 01 Apr 2014 18:47:23 GMT'}, 'reason': 'OK', 'data': '', 'size': 1852281} DEBUG: MD5 sums: computed=ebdede4d69bf8e4fd87170a610adc7a8, received="ebdede4d69bf8e4fd87170a610adc7a8" File '/home/moshe/.mozilla/firefox/a7rk3kuf.default/sessionbackups/tabmix_sessions-2014-04-01.rdf' stored as 's3://aaaaaaaaaaaaBbbbbb /computers/abcdefgh/moshe/.mozilla/firefox/a7rk3kuf.default/sessionbackups/tabmix_sessions-2014-04-01.rdf' (1852281 bytes in 3.9 seco nds, 468.65 kB/s) [6 of 35] DEBUG: attr_header: {'x-amz-meta-s3cmd-attrs': 'uid:1000/gname:moshe/uname:moshe/gid:1000/mode:33204/mtime:1395757389/atime:139632169 0/md5:70d2c9c14311a984b3718fa44822be91/ctime:1395757396'} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please try reproducing the error using the latest s3cmd code from the git master branch found at: https://github.com/s3tools/s3cmd If the error persists, please report the following lines (removing any private info as necessary) to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DEBUG: Unicodising '/home/moshe/bin/s3cmd' using UTF-8 DEBUG: Unicodising 'sync' using UTF-8 DEBUG: Unicodising '--delete-removed' using UTF-8 DEBUG: Unicodising '--delete-after' using UTF-8 DEBUG: Unicodising '--human-readable-sizes' using UTF-8 DEBUG: Unicodising '--debug' using UTF-8 DEBUG: Unicodising '--exclude-from=/home/moshe/.s3backup/exclude-from' using UTF-8 DEBUG: Unicodising '/home/moshe/' using UTF-8 Invoked as: /home/moshe/bin/s3cmd sync --delete-removed --delete-after --human-readable-sizes --debug --exclude-from=/home/moshe/.s3backup/exclude-from /home/moshe/ s3://aaaaaaaaaaaaBbbbbb/computers/abcdefgh/moshe/ Problem: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 44: ordinal not in range(128) S3cmd: 1.5.0-beta1 python: 2.7.6 (default, Feb 26 2014, 00:34:35) [GCC 4.8.2] environment LANG=en_US.UTF-8 Traceback (most recent call last): File "/home/moshe/bin/s3cmd", line 2422, in <module> main() File "/home/moshe/bin/s3cmd", line 2344, in main cmd_func(args) File "/home/moshe/bin/s3cmd", line 1414, in cmd_sync return cmd_sync_local2remote(args) File "/home/moshe/bin/s3cmd", line 1398, in cmd_sync_local2remote destination_base_uri = _single_process(local_list) File "/home/moshe/bin/s3cmd", line 1209, in _single_process _child(destination_base, local_list) File "/home/moshe/bin/s3cmd", line 1339, in _child n, total_size = _upload(local_list, 0, local_count, total_size) File "/home/moshe/bin/s3cmd", line 1264, in _upload response = s3.object_put(src, uri, extra_headers, extra_label = seq_label) File "/home/moshe/unbacked/code/s3cmd/S3/S3.py", line 477, in object_put (content_type, content_charset) = mime_magic(filename) File "/home/moshe/unbacked/code/s3cmd/S3/S3.py", line 73, in mime_magic type = mime_magic_file(file) File "/home/moshe/unbacked/code/s3cmd/S3/S3.py", line 59, in mime_magic_file return magic_.file(file) File "/usr/lib/python2.7/dist-packages/magic.py", line 122, in file return _file(self._magic_t, filename.encode('utf-8')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 44: ordinal not in range(128) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please try reproducing the error using the latest s3cmd code from the git master branch found at: https://github.com/s3tools/s3cmd If the error persists, please report the above lines (removing any private info as necessary) to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- Moshe Yudkowsky * mo...@po... * www.pobox.com/~moshe "If you know your enemy and you know yourself, you need not fear the outcome of a hundred battles." -- Sun Tzu |