Re: [Pyobjc-dev] GNUstep.
Brought to you by:
ronaldoussoren
From: Mirko V. <mi...@ob...> - 2003-01-05 17:17:42
|
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 ====================================================================== ERROR: testIn (__main__.TestNSArrayInteraction) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/Foundation/test/test_nsarray.py", line 30, in testIn x = NSMutableArray.array() NameError: global name 'NSMutableArray' is not defined How to check ? Thanks. -- Ciao Mirko |