|
From: Matt D. <ma...@do...> - 2014-04-01 15:50:15
|
can you run with --debug and determine which file name it's failing on, and provide the stat() and the XML output from the debug on the file information about that file? I can't see yet why it's not setting 'size' on one of those two. On Tue, Apr 1, 2014 at 9:35 AM, Moshe Yudkowsky <mo...@po...> wrote: > I updated my copy from git today (2014-04-01, latest commit was > 0f4b8e3ae2f6ffee7007ed7e12153c61008b61a7), but I still get this error. > > I'm using "aaaBBB" and "machinename" to obscure the actual bucket names. > Please note that backup to these buckets works from a Mac. > > I tried using Python 3.x, but that was an abject failure. > > > Invoked as: /home/moshe/bin/s3cmd sync --delete-removed --delete-after > --human-readable-sizes --exclude-from=/home/moshe/.s3backup/exclude-from > /home/moshe/ s3://aaaBBB/computers/machinename/moshe/ > Problem: KeyError: 'size' > 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 1295, in _child > local_list, remote_list, update_list, copy_pairs = > compare_filelists(local_list, remote_list, src_remote = False, > dst_remote = True, delay_updates = cfg.delay_updates) > File "/home/moshe/unbacked/code/s3cmd/S3/FileLists.py", line 525, in > compare_filelists > same_file = _compare(src_list, dst_list, src_remote, dst_remote, > relative_file) > File "/home/moshe/unbacked/code/s3cmd/S3/FileLists.py", line 471, in > _compare > if 'size' in cfg.sync_checks and dst_list[file]['size'] != > src_list[file]['size']: > KeyError: 'size' > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > 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 > "Let me tell you about the run of the old 49/ > It didn't crash and it arrived on time." > -- Shel Silverstein, "The Run of the Old 49" (complete > text) > > > ------------------------------------------------------------------------------ > > |