• 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: EOGenerator error... but running WO5.2.4 ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOGenerator error... but running WO5.2.4 ?


  • Subject: Re: EOGenerator error... but running WO5.2.4 ?
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 6 May 2005 00:20:34 -0400

This seemed to fix eogenerator for me:

--- /Volumes/eogenerator-1.5.X/Source/FoundationAdditions.m 2002-11-26 23:31:49.000000000 -0500
+++ FoundationAdditions.m 2005-05-06 00:17:59.000000000 -0400
@@ -97,6 +97,10 @@
return [(NSString *)[obj1 valueForKey:@"name"] compare:[obj2 valueForKey:@"name"]];
}
+- (NSArray *)sortedNameArray {
+ return [self sortedArrayUsingFunction:sortByName context:NULL];
+}
+
// does an @sortedNameArray KeyValue key
- (id)computeSortedNameArrayForKey:(NSString *)key
{


At least on Tiger, you'll also have to:
touch /System/Library/Frameworks/Foundation.framework/Headers/ NSKeyValueCodingPrivate.h (that didn't exist on mine)


Drop me an email if you'd like the binary.

ms

On May 5, 2005, at 10:22 PM, Mike Nowak wrote:

I reported this error to the authors yesterday and they are working on it.

On May 5, 2005, at 6:20 AM, kadoudal wrote:


I am trying to use EOGenerator for the first time, but (un) fortunatly(?) I doing it under WO 5.2.4
I have the template files located in /Library/EOGenerator/ (I assume it's correct)
I put the shell to use in my project ..


and I got the  following error message on the first run





2005-05-05 12:11:26.731 eogenerator[989] *** Uncaught exception: <NSUnknownKeyException> [<NSCFArray 0x33ac00> valueForUndefinedKey:]: this class is not key value coding- compliant for the key @sortedNameArray.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40umich.edu


This email sent to email@hidden



--
Mike Nowak
Work: http://healthmedia.umich.edu/
Personal: http://snackdog.org/

"Never pass up a good thing." -- Starship Troopers

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: EOGenerator error... but running WO5.2.4 ?
      • From: David LeBer <email@hidden>
    • Re: EOGenerator error... but running WO5.2.4 ?
      • From: kadoudal <email@hidden>
References: 
 >EOGenerator error... but running WO5.2.4 ? (From: kadoudal <email@hidden>)
 >Re: EOGenerator error... but running WO5.2.4 ? (From: Mike Nowak <email@hidden>)

  • Prev by Date: Re: EOGenerator error... but running WO5.2.4 ?
  • Next by Date: Re: WO very very slow with Tiger
  • Previous by thread: Re: EOGenerator error... but running WO5.2.4 ?
  • Next by thread: Re: EOGenerator error... but running WO5.2.4 ?
  • Index(es):
    • Date
    • Thread