[ python-Bugs-1493322 ] bsddb: db never opened for writing forgets its size
SourceForge.net
noreply at sourceforge.net
Tue May 23 07:47:37 CEST 2006
Bugs item #1493322, was opened at 2006-05-22 19:30
Message generated for change (Comment added) made by nnorwitz
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: Open
Resolution: None
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: 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
More information about the Python-bugs-list
mailing list