• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data Migration Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data Migration Error


  • Subject: Core Data Migration Error
  • From: Michael Link <email@hidden>
  • Date: Sun, 16 Jan 2011 19:31:31 -0600

I keep getting this error when trying to migrate a sql store:

-[Document configurePersistentStoreCoordinatorForURL:ofType:modelConfiguration:storeOptions:error:] Error NSCocoaErrorDomain 134110 {
    NSUnderlyingException = "I/O error for database at /Users/mlink/Desktop/Untitled.db.new.  SQLite error code:1, 'no such table: _T_ZEVENT'";
    destinationURL = "file://localhost/Users/mlink/Desktop/Untitled.db.new";
    reason = "Cannot migrate store in-place";
    sourceURL = "file://localhost/Users/mlink/Desktop/Untitled.db";
}

This migration is using the default mapping model created in Xcode. The Event entity was changed to have an abstract parent entity, before it stood alone.

I tried creating an entity migration policy subclass but none of its methods are called. Anyone have any ideas what the problem might be?

--
Michael_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: Core Data Migration Error
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Thanks!
  • Next by Date: Re: Get iphoto scripting bridge handle without starting iphoto?
  • Previous by thread: Thanks!
  • Next by thread: Re: Core Data Migration Error
  • Index(es):
    • Date
    • Thread