I am new to Python, but it built, tested -- though
there were some skipped tests -- and installed fine.
However, when I tried to run the tests mentioned in
'installation.txt':
python ./run_tests
I get some failures.
gensym[409]$ python ./run_tests
bsddb module not found, skipping bsddb DBTestCase
bsddb3 module not found, skipping bsddb3 DBTestCase
bsddb module not found, skipping bsddb DBTestCase
bsddb3 module not found, skipping bsddb3 DBTestCase
......FEEEEEEEEEEE.EEEFEEEEEEEEEEE.EEE..................................................EFEEEEEEEEEE....FFF............
======================================================================
ERROR: testEnc01 (test.test_mailgw.MailgwTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test/test_mailgw.py", line 621, in testEnc01
self.doNewIssue()
File "./test/test_mailgw.py", line 113, in doNewIssue
l = self.db.issue.get(nodeid, 'nosy')
File "./roundup/roundupdb.py", line 185, in get
return hyperdb.Class.get(self, nodeid, propname,
cache=cache)
File "./roundup/hyperdb.py", line 504, in get
d = self.db.getnode(self.classname, nodeid,
cache=cache)
File "./roundup/backends/back_anydbm.py", line 244,
in getnode
if not db.has_key(nodeid):
TypeError: has_key() argument 1 must be string or
read-only buffer, not None
======================================================================
ERROR: testFollowup (test.test_mailgw.MailgwTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test/test_mailgw.py", line 275, in testFollowup
self.doNewIssue()
File "./test/test_mailgw.py", line 113, in doNewIssue
l = self.db.issue.get(nodeid, 'nosy')
File "./roundup/roundupdb.py", line 185, in get
return hyperdb.Class.get(self, nodeid, propname,
cache=cache)
File "./roundup/hyperdb.py", line 504, in get
d = self.db.getnode(self.classname, nodeid,
cache=cache)
File "./roundup/backends/back_anydbm.py", line 244,
in getnode
if not db.has_key(nodeid):
TypeError: has_key() argument 1 must be string or
read-only buffer, not None
======================================================================
ERROR: testFollowupNoNosyAuthor
(test.test_mailgw.MailgwTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test/test_mailgw.py", line 509, in
testFollowupNoNosyAuthor
self.doNewIssue()
File "./test/test_mailgw.py", line 113, in doNewIssue
l = self.db.issue.get(nodeid, 'nosy')
File "./roundup/roundupdb.py", line 185, in get
return hyperdb.Class.get(self, nodeid, propname,
cache=cache)
File "./roundup/hyperdb.py", line 504, in get
d = self.db.getnode(self.classname, nodeid,
cache=cache)
File "./roundup/backends/back_anydbm.py", line 244,
in getnode
if not db.has_key(nodeid):
TypeError: has_key() argument 1 must be string or
read-only buffer, not None
<<< and similarly for the rest of the tests >>>
|