Re: EOGenerator error... but running WO5.2.4 ?
Re: EOGenerator error... but running WO5.2.4 ?
- Subject: Re: EOGenerator error... but running WO5.2.4 ?
- From: kadoudal <email@hidden>
- Date: Fri, 6 May 2005 09:45:52 +0200
patch applied
Thanks it works now !
Kad
Le 6 mai 05 à 06:20, Mike Schrag a écrit :
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