Roundup Tracker - Issues

Issue 583952

classification
Install test failed
Type: Severity: normal
Components: Installation Versions:
process
Status: closed works for me
:
: richard : richard
Priority: normal :

Created on 2002-07-19 17:59 by anonymous, last changed 2002-07-22 22:04 by richard.

Messages
msg293 Author: [hidden] (anonymous) Date: 2002-07-19 17:59
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 >>>
msg294 Author: [hidden] (richard) Date: 2002-07-19 22:25
Logged In: YES 
user_id=6405

What version of python (run the following command)? 
 python -V 
What operating system? 
What implementation is anydbm using (run the following command)?   
  python -c 'import anydbm; print anydbm._defaultmod'   
There are failures and errors in there - please upload the complete  
test report to this bug report.  
 
msg295 Author: [hidden] (richard) Date: 2002-07-22 22:04
Logged In: YES 
user_id=6405

I f I don't hear anything back about this bug in a week, I'll close it. 
 
History
Date User Action Args
2002-07-19 17:59:40anonymouscreate