Re: [Pyobjc-dev] Core Data -- treats Python app as "another application" when trying to save data
Brought to you by:
ronaldoussoren
|
From: Bill B. <bb...@ma...> - 2007-11-24 04:14:38
|
On Nov 23, 2007, at 5:58 PM, s s wrote: > I've got a mixed Python/objc application using Core Data. > > My Python code is triggered on a button press and adds data via = the : > > =20 > NSEntityDescription=20 > .pyobjc_classMethods=20 > .insertNewObjectForEntityForName_inManagedObjectContext_(...) > > All goes fine, and my data is reflected in the interface = properly. > > When I go to save the document, I get the message: > > This document=92s file has been changed by another = application since =20 > you opened or saved it. > > It seems like the Python portion of my app is being treated as =20= > "another application." > > Can anyone tell me where there's docs on this or how to resolve = it? That is completely bizarre. I would suggest you use fs_usage to =20 figure out where the second write is coming from. b.bum= |