[ python-Bugs-1477450 ] test_bsddb skipped -- Failed to load /home/shashi/Python-2.4

SourceForge.net noreply at sourceforge.net
Fri Apr 28 06:45:51 CEST 2006


Bugs item #1477450, was opened at 2006-04-27 00:07
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1477450&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: shashi (shashikala)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_bsddb skipped -- Failed to load /home/shashi/Python-2.4

Initial Comment:

 Hi ,

 Iam building Python-2.4.3 on HP-UX 11.2i , while 
testing its npt able import the _bsddb.sl module and 
hence that is skipped . In previous versions the test 
is passing. what can be done to pass the test?.


Thanks,
shashi
 


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-04-27 21:45

Message:
Logged In: YES 
user_id=33168

Support for db-4.4 was added late.  I believe the only thing
you need to do to enable it is modify setup.py, line 496
(proabably that line) should be:
        max_db_ver = (4, 4)

>From what I've seen, you are much better off with newer
versions of bdb.

As for the seg faults, I wonder if your ulimits are too low.
 What is the output of:  ulimit -a

Also, can you attach the output of ./python
Lib/test/regrtest.py -v -u bsddb test_subprocess

and do the same for test_bsddb3 (or test_bsddb whichever is
crashing).

----------------------------------------------------------------------

Comment By: shashi (shashikala)
Date: 2006-04-27 21:35

Message:
Logged In: YES 
user_id=1506183

Hi,
 I am having db-4.4.20 installed, It looks like Python 
doesn't support 4.4.20 version , hence i built 4.2.52 , now 
I am getting segmentation fault (memory fault) and its 
dumping core . I want to know the versions of the  
dependent libraries Python-2.4.3 supports and also while 
testing the Python test_subprocess.py is also dumping core. 
I am sending out the outputs of test_bsddb and 
test_subprocess.

  Thanks,
   shashi

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-04-27 20:11

Message:
Logged In: YES 
user_id=33168

The test can't pass without being able to import _bsddb.sl.
 Why can't this file be imported?  When you build python it
should print out what version of bsddb is found.  It will
look something like this:

running build
running build_ext
db.h: found (4, 1) in /usr/include
db lib: using (4, 1) db-4.1

What version of bsddb was found on your box?  Are there
compile errors when building bsddb?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1477450&group_id=5470


More information about the Python-bugs-list mailing list