CoreData error

T.J. Usiyan griotspeak at gmail.com
Wed Jun 18 08:29:31 EDT 2014


It looks like core data is trying to delete something that (doesn't
exist|can't be deleted). Does one of the entities have a property that is a
file with a nil default value? I don't really see how what you described
would trigger this problem but… that's my best guess.
TJ


On Wed, Jun 18, 2014 at 8:17 AM, Susan Cudmore <susan.cudmore at gmail.com>
wrote:

>
> Hi All,
>
> I’m getting desperate here, and wondering if you all can suggest some
> other places for me to look or things to try. I’ve been Googling for the
> errors listed below, but without any luck. I am able to save records to
> Entity1 where the relationship field is nil. But when I try to save any
> number of Entity2 objects connected by the relationship, I get the save
> error listed below.
>
>  I think my paths are correct when it comes to setting up the persistent
> store and the moc.
>
> Thanks for any thoughts you might have!
>
> /Sue
>
>
>
> My core data entities look like (with better names of course):
>
> Entity1
>
> value1
> value1
> relationshipToEntity2  (one to many, optional)
>
>
> Entity2
>
> value1
> value2
> relationshipToEntity1 (one to one)
>
>
>
> * Error saving event: Error Domain=NSCocoaErrorDomain Code=134030 "The
> operation couldn’t be completed. (Cocoa error 134030.)" UserInfo=0xc96b990
> {NSAffectedStoresErrorKey=(*
> *    "<NSSQLCore: 0x2a5fd90>
> (URL:file:///Users/scudmore/Library/Application%20Support/iPhone%20Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite)"*
> *), NSUnderlyingError=0xc9661c0 "The operation couldn’t be completed.
> (Cocoa error 4.)", NSFilePath=/Users/scudmore/Library/Application
> Support/iPhone
> Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite} *
> *{*
> *    NSAffectedStoresErrorKey =     (*
> *        "<NSSQLCore: 0x2a5fd90>
> (URL:file:///Users/scudmore/Library/Application%20Support/iPhone%20Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite)"*
> *    );*
> *    NSFilePath = "/Users/scudmore/Library/Application Support/iPhone
> Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite";*
> *    NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=4 \"The
> operation couldn\U2019t be completed. (Cocoa error 4.)\" UserInfo=0xc9682b0
> {NSUnderlyingError=0xc968290 \"The operation couldn\U2019t be completed. No
> such file or directory\"}";*
> *}*
> *2014-06-18 08:00:03.605 xctest[89344:303] Error reporting event
> session.start*
>
>
>
> _______________________________________________
> MacTechGroup-discuss mailing list
> MacTechGroup-discuss at lists.mactechgroup.org
> http://lists.mactechgroup.org/mailman/listinfo/mactechgroup-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mactechgroup.org/pipermail/mactechgroup-discuss/attachments/20140618/acb127eb/attachment.html>


More information about the MacTechGroup-discuss mailing list