It never fails (bsddb retirement in 2.3)

Nick Vargish nav at adams.patriot.net
Fri May 2 10:34:47 EDT 2003


"Martin v. Löwis" <martin at v.loewis.de> writes:

> Can you give more details on the nature of the breakage?

Sure, the bsddb wrapper says it can't find a module named _bsddb, and
generates an exception:

Traceback (most recent call last):
  File "/diska/netsite-docs/cgi-bin/getdoc-pb.cgi", line 14, in ?
    import waisdb
  File "/diska/netsite-docs/cgi-bin/waisdb.py", line 13, in ?
    import bsddb
  File "/usr/local/python-2.3b1/lib/python2.3/bsddb/__init__.py", line
  40, in ?
    import _bsddb
ImportError: No module named _bsddb

As I mentioned, this is 2.3b1, compiled on an  OSF1 5.1 Alpha
system. (/usr/include/db.h and /usr/lib/libdb.a) Works fine with no
tweaking under 2.2.2.

Thanks for any help,

Nick

-- 
#include<stdio.h> /* SigMask 0.3 (sig.c) 19990429 PUBLIC DOMAIN "Compile Me" */
int main(c,v)char *v;{return !c?putchar(*v-1)&&main(0,v+ /* Tweaks welcomed. */
1):main(0,"Ojdl!Wbshjti!=obwAqbusjpu/ofu?\v\1");}  /* build: cc -o sig sig.c */




More information about the Python-list mailing list