Re: [Pyobjc-dev] Possible bug in PyObjC bridge (SyncService)
Brought to you by:
ronaldoussoren
From: Aahz <aa...@py...> - 2010-04-29 15:46:04
|
On Thu, Apr 29, 2010, Mani Ghasemlou wrote: > > Users of my app have been complaining of the following error: > > ValueError: NSInvalidArgumentException - *** -encodeInt:forKey: only > defined for abstract class. Define -[NSArchiver encodeInt:forKey:]! > > It occurs in the following line of code: > > session.prepareToPullChangesForEntityNames_beforeDate_(entityNames, > NSDate.distantFuture()) > > Where "session" is an ISyncSession object > (http://developer.apple.com/mac/library/documentation/cocoa/Reference/SyncServicesFramework/Classes/ISyncSession_Class/Reference/Reference.html#//apple_ref/occ/cl/ISyncSession), > and "entityNames" is a Python list of strings. What versions of Python, PyObjC, and OSX are you using? What's the full traceback? What is the value of entityNames? How do you create session? -- Aahz (aa...@py...) <*> http://www.pythoncraft.com/ "It is easier to optimize correct code than to correct optimized code." --Bill Harlan |