Re: [S3tools-general] An unexpected error has occurred - while syncing bucket to bucket

2014-04-21 Thread WagnerOne
Excellent. Thanks for this, Matt. Mike On Apr 21, 2014, at 8:55 AM, Matt Domsch wrote: > Fix pushed to upstream master. The core of the fix is to see remote_list is > not None, and is an empty list, and to return early then. > > Thanks, > Matt > > > On Mon, Apr 21, 2014 at 7:27 AM, Matt Do

Re: [S3tools-general] An unexpected error has occurred - while syncing bucket to bucket

2014-04-21 Thread Matt Domsch
Fix pushed to upstream master. The core of the fix is to see remote_list is not None, and is an empty list, and to return early then. Thanks, Matt On Mon, Apr 21, 2014 at 7:27 AM, Matt Domsch wrote: > I ran into this myself now, need to see how to fix it. It happens when > there is nothing o

Re: [S3tools-general] An unexpected error has occurred - while syncing bucket to bucket

2014-04-21 Thread Matt Domsch
I ran into this myself now, need to see how to fix it. It happens when there is nothing on the remote_list to delete, yet we call subcmd_batch_del(remote_list = remote_list) (e.g. remote_list = []) which then fails the one and only one of test. Should be straightforward to fix. Thanks for the r

Re: [S3tools-general] An unexpected error has occurred - while syncing bucket to bucket

2014-04-11 Thread Matt Domsch
I can't see yet where this could be failing - all the calls to subcmd_batch_del() pass only one argument. If you can reliably reproduce, please send me results with --debug enabled, privately. Thanks, Matt On Thu, Apr 10, 2014 at 3:30 PM, WagnerOne wrote: > Hi, > > When attempting to s3cmd sy

[S3tools-general] An unexpected error has occurred - while syncing bucket to bucket

2014-04-10 Thread WagnerOne
Hi, When attempting to s3cmd sync 2 buckets today, I encountered this "An unexpected error has occurred." output from s3cmd itself. I am using the latest available s3cmd master branch code via a git clone (updated today). I tried this several times within the 2 same buckets on different prefi