CoreData stores and networked home directories
CoreData stores and networked home directories
- Subject: CoreData stores and networked home directories
- From: Alexander Griekspoor <email@hidden>
- Date: Thu, 24 May 2007 01:55:28 +0100
Hi,
By default I create an SQLLite coredata store for my application in
the user's homedirectory. However, I got several reports from users
where the app crashes in com.apple.CoreData 0x94140e74 -
[NSPersistentStoreCoordinator persistentStoreForURL:] when they use
AFP networked home directories. Is this a know issue? I have received
similar issues from people using NFS mounted home directories. The
docs say that both platforms should be supported.
Here's the relevant code fragment where path is the path to the
Users' home directory/documents
NSPersistentStoreCoordinator *coordinator = [self
persistentStoreCoordinator];
NSURL *defaultStoreURL = [[NSURL alloc] initFileURLWithPath: path];
id store = [coordinator
addPersistentStoreWithType:NSSQLiteStoreType configuration:nil
URL:defaultStoreURL options:nil error:&err];
Did anyone experience similar problems. Or could someone confirm that
he had no problems under the same conditions?
Many thanks,
Alex
*********************************************************
** Alexander Griekspoor PhD **
*********************************************************
EMBL Outstation - Hinxton,
European Bioinformatics Institute,
Rebholz Textmining group
Wellcome Trust Genome Campus,
Cambridge, CB10 1SD, UK
Tel: + 44 1223 492 606
Fax: + 44 1223 492 468
Web: http://www.mekentosj.com
EnzymeX - To cut or not to cut
2006 Winner of the Apple Design Awards
Best Mac OS X Scientific Solution
http://www.mekentosj.com/enzymex
*********************************************************
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden