• 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
Unable to open Core Data documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to open Core Data documents


  • Subject: Unable to open Core Data documents
  • From: Niko Matsakis <email@hidden>
  • Date: Mon, 2 Nov 2009 09:59:28 +0100

Hello,

I recently recompiled an existing project for 10.6. I made no changes to the code. However, the resulting binary is no longer able to open older files created by this program. The error message is:

The document “Budget.drachma” could not be opened. drachma cannot open files of this type.

The program "drachma" is a simple budget tracker I use to track household expenses. It uses Core Data as its storage format, and I believe the files are stored in SQLite. As far as I know, I did not make any changes to the model, and the file I am trying to open was created from the same code, but compiled and running on 10.5.


I seem to recall having a similar problem when upgrading to 10.5: at the time, I think I linked with 10.4 libraries to solve it. Doing the same now, however, does not seem to work. I am not sure why it should be necessary anyhow: other programs I have which use Core Data seem to be able to open the older files.

I'm not really sure what other information to provide, but any tips to how I might fix this problem would be much appreciate!

Not that I expect anyone to go this far out of their way, but the project is available here:

	http://svn.smallcultfollowing.com/main/drachma/src/

I could probably gin up a "sanitized" input file with the same problem.


thanks, Niko_______________________________________________

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


  • Prev by Date: Re: Create an NSCharacterSet constant
  • Next by Date: NSInvocation and methods with non-pointer parameters
  • Previous by thread: Re: Create an NSCharacterSet constant
  • Next by thread: re: Unable to open Core Data documents
  • Index(es):
    • Date
    • Thread