drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

v2.0.1 - failed to open zip file #180

Closed asciiz closed 10 years ago

asciiz commented 10 years ago

I am getting:

Error Domain=SSZipArchiveErrorDomain Code=-1 "failed to open zip file" UserInfo=0x10257aa30 {NSLocalizedDescription=failed to open zip file}

when syncing with Dropbox. I guess it's because this: if ([child.filename rangeOfString:@")"].location != NSNotFound) continue;

is missing from the CDEDropboxDirectoryContentsOperation.

drewmccormack commented 10 years ago

Do you actually see a file or directory in the Dropbox data that includes the parentheses?

asciiz commented 10 years ago

Yes, please see the enclosed screenshot.

baselines

drewmccormack commented 10 years ago

Hmm, indeed. I will fix this ASAP.

Drew

On Aug 19, 2014, at 15:21, asciiz notifications@github.com wrote:

Yes, please see the enclosed screenshot.

— Reply to this email directly or view it on GitHub.

drewmccormack commented 10 years ago

Are you now using the version with

if ([child.filename rangeOfString:@")"].location != NSNotFound) continue;

in it?

If that doesn' t fix the error, perhaps there was some corruption of the zip file. You would probably have to start again in that case, deleting the cloud data and deleeching.