[ZODB-Dev] False alarm (was: [BUG] maybe yet unknown BTREES bug)

Dieter.Maurer@Haufe.de Dieter.Maurer@Haufe.de
Mon, 27 Jan 2003 10:55:26 +0100


Attention: cross post

Dieter Maurer wrote at 2003-1-24 09:13 +0100:
 >=20
 > We have run in an apparent "BTrees" bug (with the "BTrees" version
 > included in Zope 2.5.1).
 >=20
 >    We try to insert a value into an "BTrees.OOBTree.OOBTree" instance
 >    with=20
 >=20
 > 	tree[k]=3D v
 >=20
 >    and get an "exceptions.KeyError on 13384379A0pfvqTmtEQ".
 >=20
 >    The code comes from Zope's "Transience" implementation.
 >    The reported key is some session key. We are not yet
 >    sure, however, whether it is the key we are just trying
 >    to insert.
 >=20
 >=20
 > Reading the "News.txt" of ZODB-3.2a1, this bug may not yet
 > be known.
 >=20
 >=20
 > We will install the "BTrees" package from ZODB-3.2a1 and
 > see whether the problem disappears.
 > I will report back...
It has been a false alarm. Sorry!

  The same problem occured with the new BTrees module.

  Therefore, I checked the error again and found,
  that the problem was not caused by "tree[k] =3D v"
  but by a nearby "del tree[k]" (which, of course, is entitled to raise
  "KeyError").

  When we had analysed the error for the first time, we happened
  to look at some slightly outdated source.


Viele Gr=FC=DFe
Dieter