Roundup Tracker - Issues

Issue 554411

classification
Installation without gdbm does not work
Type: Severity: normal
Components: None Versions:
process
Status: closed works for me
:
: richard : abrandl, richard
Priority: normal :

Created on 2002-05-10 08:00 by abrandl, last changed 2002-06-11 06:56 by richard.

Messages
msg213 Author: [hidden] (abrandl) Date: 2002-05-10 08:00
When I tested roundup without gdbm support from python, I got lots of errors. This might be
due to the fact that the example databases are
gdbm based.

The same was true for the installation. It looks
like the installed databases are gdbm databases,
regardless if the python installation provides
gdbm support.
msg214 Author: [hidden] (richard) Date: 2002-05-15 00:32
Logged In: YES 
user_id=6405

You're going to have to supply a lot more 
information: platform, python version, roundup 
version, extact traceback. If you could try the 
tests from the CVS code, I'd appreciate it. 
 
I just tested my python2.1 and 2.2 installations 
with no gdbm[module].so available, and it has no 
effect on any of the tests. Python 2.2 itself, 
however, causes a bunch of tests to fail. I'm 
opening a separate bug for that. 
 
msg215 Author: [hidden] (richard) Date: 2002-05-21 05:55
Logged In: YES 
user_id=6405

I'm closing this issue in a week if we don't get 
any further information. 
msg216 Author: [hidden] (abrandl) Date: 2002-05-21 18:15
Logged In: YES 
user_id=540690

Sorry for the delay - had to set up another machine, since 
I've upgraded to python 2.2 (and really _do_ enjoy working
with roundup ever since).

I've found the bug on a SuSE Linux 7.2 machine with
Python 2.1.1 installed. I've tested with roundup 0.4.1 (sorry,
not the most recent cvs version). The errors all follow the
same scheme:

======================================================================
ERROR: testA_Status (test.test_schema.SchemaTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_schema.py", line 42, in setUp
    class Database(anydbm.Database):
AttributeError: 'anydbm' module has no attribute 'Database'

HTH, Albert
msg217 Author: [hidden] (richard) Date: 2002-05-22 00:31
Logged In: YES 
user_id=6405

Please try the latest CVS and tell me what result you get. I've 
modified the code so that it doesn't squash _all_ import errors 
- hopefully this will allow us to narrow down on your exact 
problem. Quickly though - what happens if you import anydbm 
on your system? 
 
msg218 Author: [hidden] (richard) Date: 2002-06-11 06:56
Logged In: YES 
user_id=6405

I'm closing this issue in a week if we don't get any further  
information.  
 
History
Date User Action Args
2002-05-10 08:00:48abrandlcreate