From: Jon T. <jon...@gm...> - 2008-02-14 15:29:17
|
Good that your other problem is solved. The crashing tests are probably due to reference counting errors in releases 1.1.0-2 and 1.1.0-3. There is a new release 1.1.1 that should address these. I have tested mostly with a win32 debug build of python, with which I've been able to reproduce these errors. They've now disappeared for me, so hopefully the same applies on linux. In the latest release there is also a nicer setup.py, so you'll hopefully have no need of manually entering the db2 installation dir. > > Jon, > Thank you for your help. > I have used the db2inst1 account to run it. It succeeds. > But after several function testing, it fails. > I am new to python. Do you have any idea what gets wrong with it? > > > [db2inst1@pc181 test]$ python test_basic.py > DB2.SQL_type_dict for description2 ... ok > DB2.connect() - Successful ... ok [snip] > Create table in random manner (columns of random types) ... python: > Modules/gcmo > dule.c:231: visit_decref: Assertion `gc->gc.gc_refs != 0' failed. > Aborted > [db2inst1@pc181 test]$ > |