Issue 1012067
Created on 2004-08-19 09:44 by cmarqu, last changed 2004-10-08 01:32 by richard.
msg1425 |
Author: [hidden] (cmarqu) |
Date: 2004-08-19 09:44 |
|
Hi,
I'm trying to run roundup 0.7.6 on Solaris 8. I get
$ python run_tests.py
Running unit tests at level 1
Running unit tests from
/home/proj1181/bug-tracking/roundup-0.7.6/.
Error importing test.test_anydbm
ld.so.1: python: fatal: libdb-4.1.so: open failed: No
such file or directory
Traceback (most recent call last):
File "run_tests.py", line 495, in get_suite
mod = package_import(modname)
File "run_tests.py", line 487, in package_import
mod = __import__(modname)
File
"/home/proj1181/bug-tracking/roundup-0.7.6/./test/test_anydbm.py",
line 24, in ?
class anydbmOpener:
File
"/home/proj1181/bug-tracking/roundup-0.7.6/./test/test_anydbm.py",
line 25, in anydbmOpener
from roundup.backends import anydbm as module
File
"/home/proj1181/bug-tracking/roundup-0.7.6/./roundup/backends/__init__.py",
line 36, in ?
globals()[backend] = __import__('back_%s'%backend,
globals())
File
"/home/proj1181/bug-tracking/roundup-0.7.6/./roundup/backends/back_bsddb.py",
line 23, in ?
import bsddb, os, marshal
File "/usr/local/lib/python2.3/bsddb/__init__.py",
line 40, in ?
import _bsddb
ImportError: ld.so.1: python: fatal: libdb-4.1.so: open
failed: No such file or directory
Skipping bsddb tests
Skipping bsddb3 tests
Skipping metakit tests
Skipping mysql tests
Skipping postgresql tests
Skipping sqlite tests
........................................................................................................................................................................
----------------------------------------------------------------------
Ran 168 tests in 451.221s
OK
run_tests.sh should probably catch this error.
Also, does that error mean our python installation is
faulty/incomplete? FWIW, it is
Python 2.3.3 (#2, Mar 10 2004, 06:28:28)
[GCC 3.3.2] on sunos5
Cheers,
Colin
|
msg1426 |
Author: [hidden] (richard) |
Date: 2004-08-19 22:38 |
|
Logged In: YES
user_id=6405
Yes, you're correct - the tests shouldn't report that as OK.
The error indicates your Python install is broken. You should be
able to "import anydbm" in Python. Looks like your system is
missing a berkeley DB install.
|
msg1427 |
Author: [hidden] (richard) |
Date: 2004-10-08 01:32 |
|
Logged In: YES
user_id=6405
Unfortunately, it's out of my hands without rewriting the test
runner, which I'd really rather not do.
|
|
Date |
User |
Action |
Args |
2004-08-19 09:44:14 | cmarqu | create | |
|