Bugs item #1493322, was opened at 2006-05-22 19:30
Message generated for change (Comment added) made by greg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1493322&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: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Steven Taschuk (staschuk)
Assigned to: Gregory P. Smith (greg)
Summary: bsddb: db never opened for writing forgets its size

Initial Comment:
See the attached program; on my machine, its output is
as described therein.  That is: if a bsddb hash
database is opened read-only, and has never been opened
for writing (except when first created), then calling
len() on the database object returns the correct value
the first time, but zero on the second and later calls.
 Opening the database for writing once seems to
eliminate the problem; even when it is opened read-only
later, len() behaves as expected.

My machine runs Linux 2.6.16, glibc 2.3.4, Python
2.4.3, and Berkeley DB 4.3.28.

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

>Comment By: Gregory P. Smith (greg)
Date: 2006-06-05 17:00

Message:
Logged In: YES 
user_id=413

fixed in python svn rev 46684.  i'll backport this one to
python 2.4 as well.

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

Comment By: Gregory P. Smith (greg)
Date: 2006-06-05 14:49

Message:
Logged In: YES 
user_id=413

this sounds the same as pybsddb bug 1184012.  i'm looking
into it.

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-05-22 22:47

Message:
Logged In: YES 
user_id=33168

Greg, is this a known issue?  Any ideas?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1493322&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to