Re: [Pyobjc-dev] GNUstep.
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-01-05 17:45:18
|
On Sunday, Jan 5, 2003, at 18:17 Europe/Amsterdam, Mirko Viviani wrote: > Ronald Oussoren <ous...@ci...> ha scritto: > >>> The runtime support, apart for bugs and missing objc_addClass() >>> implementation, >>> should be quit ok, but unfortunately it dumps core: >> You might want to rebuild python with debugging enabled (or at least >> building with '-g'), that makes debugging a lot easier. > > PyObjc was already compiled with -g else I become mad ! :-) > >> The stacktrace doesn't mention PyObjC code, which of course doesn't >> help in finding the problem :-(. > > I've fixed and now it works. > > I've done a couple of test using lookUpClass() with success but when I > run > the tests it fails to lookup the classes: > > [mirko@rey] /usr/home/mirko/src/gnustep/pyobjc> Scripts/runalltests > -- Running 'Lib/Foundation/test/test_nsarray.py' > EEEEEEEEE > ====================================================================== > ERROR: testContains (__main__.TestNSArrayInteraction) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "Lib/Foundation/test/test_nsarray.py", line 19, in testContains > x = NSArray.arrayWithArray_( ["foo", "bar", "baz"] ) > NameError: global name 'NSArray' is not defined > This is probably a problem in Modules/objc/class-list.m:ObjC_GetClassList. As the comment above the GNUstep version indicates that the GNUstep is mostly a placeholder. Ronald |