-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync problems with mobile account #40
Comments
Hi @ftestuz, iCloud sync is not something I've attempted to support so far in BSManagedDocument, but I know others have. Hopefully someone else will be able to chime in with some help; there's not really anything else I can do. |
It is not about the iCloud sync. iCloud Drive is not activated on my MB. It's when the document is modified on the client machine that there is an error on sync. |
Ah, I was unaware of this setup having any special handling. Are you able to make a sample app I can look at that reproduces the issue? |
I made a sample app with the problem on my macs. I send it to you ? How ? (Sorry if it's obvious) |
Ah, good point. Can you make a Github Gist perhaps? |
I think I did right : |
With Yosemite, I installed the Server version on my MacMini and my account on my MBPro is a mobile account.
For a new project, I decided to use BSManagedDocument. I want to use CoreData and image file for my document, so the package format is good for me.
I'm in the first step and, for now, my program don't save anything inside the package. I almost did no subclassing of BSManagedDocument.
But, when I change the document on my MB, I get a sync problem message when the mobile account try to synchronize with the MacMini. I don't have this problem when I change the document on the server, the change is correctly synchronized to the MB.
I never encounter this problem elsewhere. I don't think it's a problem with my code as:
Below is the error window message and the sync log (I also have the verbose sync log, but it's quite long).
[15/04/25 11:20:02.348] *****************************************************************************
[15/04/25 11:20:02.348] FileSyncAgent-608 (r?, BUILT:?, PID:3725, OS:14D136, ARCH:x86_64-64) starting
[15/04/25 11:20:02.348] LA: FileSyncAgent -launchedByLaunchd -PHDPlist
[15/04/25 11:20:02.348] *****************************************************************************
[15/04/25 11:20:04.335] Starting manual sync of "HomeSync_Mirror".
[15/04/25 11:20:21.155] EXCEPTION: Resource temporarily unavailable
[15/04/25 11:20:21.192] EXCEPTION: !IF
[15/04/25 11:20:21.193] network: MODIFY ./StoreContent (-SNode contentsPartiallyUpdated: "'((!self.isDirectory))'")
[15/04/25 11:20:21.193] EXCEPTION: NilPtr
[15/04/25 11:20:21.194] network: PACKAGE MODIFY "Documents/BD/Test.bibd" {(Priority=1, EXECUTING)} (-SNode contentsPartiallyUpdated: "'((!self.isDirectory))'")
[15/04/25 11:20:21.644] EXCEPTION: [data writeToFile:'/Volumes/Users/username/.FileSync/PHD-R--7MwNOOVoM2-ftestuz.FileSyncHistory' options:0 error:&error](Cocoa error 512)
[15/04/25 11:20:22.746] EXCEPTION: Resource busy
[15/04/25 11:20:22.804] Sync of "HomeSync_Mirror" encountered errors. (-SNode contentsPartiallyUpdated: "'((!self.isDirectory))'")
[15/04/25 11:20:22.804] Last successful sync completed at 2015-04-22 21:31:37 +0000.
[15/04/25 11:20:22.804] Finished sync of "HomeSync_Mirror".
[15/04/25 11:20:41.963] SInt32 SendCallbackMessage(int, CFPropertyListRef): _SFSendMessage(port=0x7fd338f00bb0, msgID=1, msgData=0x7fd33db229f0): warning: unexpected return value: -4
[15/04/25 11:21:02.899] Bye (PID:3725)
The text was updated successfully, but these errors were encountered: