[OGo-GNUstep-Port] experiences with OGo and gunstep-base on OpenBSD

Sebastian Reitenbach gnustep-port@opengroupware.org
Mon, 28 May 2007 20:43:06 +0200


Hi Helge,
gnustep-port@opengroupware.org wrote: 
> On May 28, 2007, at 17:01, Sebastian Reitenbach wrote:
> > 2007-05-28 16:34:45.845 ogo-webui-1.1[5335] dict:  
> > {NSTargetObjectUserInfoKey =
> > Verschiedenes; NSUnknownUserInfoKey = misc; }, [self class]:  
> > LSWLabelHandler,
> > [self] <LSWLabelHandler: 0x84cfa2a8>
> 
> OK, I think I found the reason. Its because LSWLabelHandler doesn't  
> implement
> 
>    -setValue:forKey:
> 
> but the older:
> 
>    -takeValue:forKey:
> 
> On Cocoa, if -setValue:forKey: is missing, Cocoa will call - 
> takeValue:forKey:. On GNUstep it just fails.
> 
> Anyways, I've added the new method in r1957.
> 
thanks a lot, I tested it, but unfortunately it still runs into the 
exception:

May 28 19:33:46 ogo-webui-1.1 [24882]: (6132613201465B127A) user sebastia 
logged in.
2007-05-28 19:33:48.452 ogo-webui-1.1[24882] Note: using flat-array message 
notifications!
2007-05-28 19:33:49.659 ogo-webui-1.1[24882] dict: 
{NSTargetObjectUserInfoKey = Verschiedenes; NSUnknownUserInfoKey = misc; }, 
[self class]: LSWLabelHandler, [self] <LSWLabelHandler: 0x891e4de8>
[Switching to process 24882, thread 0x82588000]

Breakpoint 1, -[NSException raise] (self=0x8748e008, _cmd=0x2fffd040) at 
NSException.m:782
782       if (GSPrivateEnvironmentFlag("GNUSTEP_STACK_TRACE", NO) == YES
Current language:  auto; currently objective-c
(gdb) bt
#0  -[NSException raise] (self=0x8748e008, _cmd=0x2fffd040) at 
NSException.m:782
#1  0x0fff8077 in -[NSObject(KeyValueCoding) setValue:forUndefinedKey:] 
(self=0x891e4de8, _cmd=0x30024130, anObject=0x810d3f08, aKey=0x8b6dcde8) at 
NSKeyValueCoding.m:351
#2  0x100adc6b in GSObjCSetVal (self=0x891e4de8, key=0xcfbefcc0 "misc", 
val=0x810d3f08, sel=0x0, type=0x0, size=4, offset=-809567040) at 
GSObjCRuntime.m:1810
#3  0x0fff722e in SetValueForKey (self=0x891e4de8, anObject=0x810d3f08, 
key=0xcfbefcc0 "misc", size=4) at NSKeyValueCoding.m:114
#4  0x0fff7c2f in -[NSObject(KeyValueCoding) setValue:forKey:] 
(self=0x891e4de8, _cmd=0x2d65dfe8, anObject=0x810d3f08, aKey=0x891e4e08) at 
NSKeyValueCoding.m:288
#5  0x0d6a4c35 in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#6  0x0d6a4e1d in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#7  0x0d64e415 in WOComponent_syncToParent () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#8  0x0d652a52 in WOContext_leaveComponent () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#9  0x0d652c97 in WOContext_leaveComponent () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
...


kind regards
Sebastian