Tim has fixed lots of bugs in the BTrees code since 2.5.1. Also, there were cases in the Transience implementation where I was iterating over the .keys()/.items()/.values() of an OOBTree or IOBTree and also mutating its contents, which is disastrous. Is this one of those cases?
On Fri, 2003-01-24 at 03:13, Dieter Maurer wrote: > Attention: cross post > > We have run in an apparent "BTrees" bug (with the "BTrees" version > included in Zope 2.5.1). > > We try to insert a value into an "BTrees.OOBTree.OOBTree" instance > with > > tree[k]= v > > and get an "exceptions.KeyError on 13384379A0pfvqTmtEQ". > > 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. > > > Reading the "News.txt" of ZODB-3.2a1, this bug may not yet > be known. > > > We will install the "BTrees" package from ZODB-3.2a1 and > see whether the problem disappears. > I will report back... > > > Dieter > > _______________________________________________ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )