drewmccormack / ensembles

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

CDEErrorDomain Code=106 & CDEErrorDomain Code=210 in Ensebles 2.0.1 #182

Closed wojteklembryk closed 10 years ago

wojteklembryk commented 10 years ago

Hi Drew, I'm getting this error after upgrade to Ensembles 2.0.1. Any ideas?

Error merging: Error Domain=CDEErrorDomain Code=106 "The operation couldn’t be completed. (CDEErrorDomain error 106.)"

Error merging: Error Domain=CDEErrorDomain Code=210 "The operation couldn’t be completed. (CDEErrorDomain error 210.)"

Best, Wojtek

drewmccormack commented 10 years ago

The 106 error is caused by iCloud being slow to download.

/// Accessing a file with a coordinator timed out. Often because iCloud is still downloading. Retry later.
CDEErrorCodeFileCoordinatorTimedOut     = 106,

You can try restarting the device. That sometimes triggers iCloud to download. Also make sure that all devices that are syncing go online, so they can upload any files that may not have got to upload.

The other error is that a data file is missing. Again this can be caused by iCloud not transferring it.

/// Files used to store large NSData attributes are missing. Usually temporary. Retry a bit later.
CDEErrorCodeMissingDataFiles            = 210,

I don't think this would have anything to do with the upgrade itself, as these aspects remain the same. I think you have just come across iCloud behaving badly, which unfortunately is not that uncommon. (I'm going to add CloudKit support soon. Let's hope that is a step forward.)

wojteklembryk commented 10 years ago

Thank you for your help. Do you think that release app with iCloud sync in my app (lots of photos) is safe or should I wait till you’ll add CloudKit support?

Best, Wojtek

On 20 sie 2014, at 19:52, Drew McCormack notifications@github.com wrote:

The 106 error is caused by iCloud being slow to download.

/// Accessing a file with a coordinator timed out. Often because iCloud is still downloading. Retry later. CDEErrorCodeFileCoordinatorTimedOut = 106, You can try restarting the device. That sometimes triggers iCloud to download. Also make sure that all devices that are syncing go online, so they can upload any files that may not have got to upload.

The other error is that a data file is missing. Again this can be caused by iCloud not transferring it.

/// Files used to store large NSData attributes are missing. Usually temporary. Retry a bit later. CDEErrorCodeMissingDataFiles = 210, I don't think this would have anything to do with the upgrade itself, as these aspects remain the same. I think you have just come across iCloud behaving badly, which unfortunately is not that uncommon. (I'm going to add CloudKit support soon. Let's hope that is a step forward.)

— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/182#issuecomment-52815311.

drewmccormack commented 10 years ago

It depends how much support you want. If you release now, you can expect people to say "It's not syncing" due to this sort of problem. You would have to reply "Restart device etc etc".

CloudKit should be better, but it is iOS 8 and 10.10 only. If you can handle that, I would probably wait the month or two until it arrives.

Drew

On Aug 21, 2014, at 9:50, wojteklembryk notifications@github.com wrote:

Thank you for your help. Do you think that release app with iCloud sync in my app (lots of photos) is safe or should I wait till you’ll add CloudKit support?

Best, Wojtek

On 20 sie 2014, at 19:52, Drew McCormack notifications@github.com wrote:

The 106 error is caused by iCloud being slow to download.

/// Accessing a file with a coordinator timed out. Often because iCloud is still downloading. Retry later. CDEErrorCodeFileCoordinatorTimedOut = 106, You can try restarting the device. That sometimes triggers iCloud to download. Also make sure that all devices that are syncing go online, so they can upload any files that may not have got to upload.

The other error is that a data file is missing. Again this can be caused by iCloud not transferring it.

/// Files used to store large NSData attributes are missing. Usually temporary. Retry a bit later. CDEErrorCodeMissingDataFiles = 210, I don't think this would have anything to do with the upgrade itself, as these aspects remain the same. I think you have just come across iCloud behaving badly, which unfortunately is not that uncommon. (I'm going to add CloudKit support soon. Let's hope that is a step forward.)

— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/182#issuecomment-52815311.

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