This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: bsddb hangs with recno/source sync
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, mlh, sf-robot
Priority: normal Keywords:

Created on 2003-01-27 00:01 by mlh, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (3)
msg14214 - (view) Author: Magnus Lie Hetland (mlh) Date: 2003-01-27 00:01
I just tried to use bsddb with the source argument to have
flat 
backing file. Creating a database with such a backing
file as 
source was not problematic, but after I had modified
it, the 
sync() and close() method would hang.

For 
example:

from bsddb import rnopen
r = 
rnopen('test.dat', source='test.txt')
r[1] = 'foobar'
r.sync() 
# Hangs here...

After running this, test.txt will be empty 
(even though it
wasn't before). Running the code above without 
the source
argument works just fine.

I'm running 
Python 2.3 cvs version (slightly earlier than the
first alpha) on 
SunOS 5.9.
msg14215 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-20 17:43
Logged In: YES 
user_id=849994

Cannot reproduce with Python 2.4.
msg14216 - (view) Author: SourceForge Robot (sf-robot) Date: 2006-03-07 03:28
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
History
Date User Action Args
2022-04-10 16:06:11adminsetgithub: 37837
2003-01-27 00:01:31mlhcreate