• 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
Re: -[NSPersistentStoreCoordinator metadataForPersistentStoreOfType:URL:error:] foibles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSPersistentStoreCoordinator metadataForPersistentStoreOfType:URL:error:] foibles


  • Subject: Re: -[NSPersistentStoreCoordinator metadataForPersistentStoreOfType:URL:error:] foibles
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 13 Feb 2014 14:02:31 -0800

-[NSPersistentStore metadataForPersistentStoreOfType:URL:error:] failed again today while testing my app.  This time, the stuff it logged to the console was different than I recall seeing ever before…

CoreData: error: (3850) I/O error for database at /path/to/Document.sql.  SQLite error code:3850, 'not an error' errno:9

“not an error”!  Indeed, immediately after it returned nil, my reverse-engineered “black hat” branch kicked in, queried the document/database using the sqlite.c library, and got all of the metadata with no problem.

Weird.



_______________________________________________

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


References: 
 >-[NSPersistentStoreCoordinator metadataForPersistentStoreOfType:URL:error:] foibles (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Prevent autoloading of last opened document
  • Next by Date: Password authentication
  • Previous by thread: -[NSPersistentStoreCoordinator metadataForPersistentStoreOfType:URL:error:] foibles
  • Next by thread: Re: How do I animate Core Graphics drawing?
  • Index(es):
    • Date
    • Thread