[Rubycocoa-devel 1237] Re: RC App won't start on Leopard

Back to archive index

Jacob Wallström jacob****@gmail*****
Tue Nov 13 01:23:43 JST 2007


Thanks, that's great!

On Nov 12, 2007 3:55 PM, kimura wataru <kimur****@i*****> wrote:
> Hi,
>
> I tested your sample project on MacOSX 10.5 MacBook.
>
> - Leopard built-in RubyCocoa -> same exception raised
> - latest RubyCocoa trunk (r2123) -> works fine
>
> I'll survey what change fixed this problem.
>
>
> On Sat, 27 Oct 2007 23:56:26 +0200, Jacob Wallström wrote:
> > Hi,
> >
> > I have tracked down the issue now. If I add a method in a ruby
> > subclass to NSManagedObject (which is not an attribute in the data
> > model), and call the method with valueForKey:, I get the following
> > exception:
> >
> > /Users/jawa/GhostAction/Product/GhostAction/build/Deployment/Ghost
> > Action.app/Contents/Resources/main2.rb:25:in `valueForKey':
> > NSInvalidArgumentException - *** -[Entity1
> > super:valueForUndefinedKey:]: unrecognized selector sent to instance
> > 0x11b013e0 (OSX::OCException)
> >
> > I believe that this might be a problem with RubyCocoa since if I add
> > a similar method to an Obj-C subclass of NSManagedObject, the problem
> > does not occur. The problem does not occur on Tiger.
> >
> > I'm attaching a sample project.
> >
> > Thanks for any help,
> > Jacob
> >
> --
> kimura wataru
>
>
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel
>


More information about the Rubycocoa-devel mailing list
Back to archive index