[Zope3-dev] No Windows GPF! :-) (But lots of BTrees Breakage :-( )

Chris Withers chrisw@nipltd.com
Thu, 28 Feb 2002 08:09:27 +0000


Hi All,

I see Jeremy's commit last night has finally caused Windows Zope 3 to stop GPF'ing
whenever you try to run the tests.

However, there's still some major barfage:

> ======================================================================
> ERROR: testLoadAndStore (Persistence.BTrees.tests.testBTrees.TestIIBTrees)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "E:\LocalCVS\Zope3\lib\python\Persistence\BTrees\tests\testBTrees.py", li
> ne 68, in testLoadAndStore
>     self.assertEqual(list(root[i].items()) , list(t.items()))
>   File "C:\Python22\lib\UserDict.py", line 14, in __getitem__
>     def __getitem__(self, key): return self.data[key]
>   File "E:\LocalCVS\Zope3\lib\python\Persistence\_persistent.py", line 97, in __
> getattribute__
>     setstate(self, dm, 0)
>   File "E:\LocalCVS\Zope3\lib\python\Persistence\_persistent.py", line 130, in s
> etstate
>     dm.setstate(ob)
>   File "E:\LocalCVS\Zope3\lib\python\ZODB\Connection.py", line 160, in setstate
>     state = unpickler.load()
>   File "E:\LocalCVS\Zope3\lib\python\ZODB\Connection.py", line 225, in _persiste
> nt_load
>     object=__new__(klass)
> TypeError: object.__new__(Persistence.BTrees.IIBTree.IIBTree) is not safe, use P
> ersistence.BTrees.IIBTree.IIBTree.__new__()
> 
> ----------------------------------------------------------------------
> Ran 1073 tests in 74.296s
> 
> FAILED (errors=32)

Any ideas what's causing this?

cheers,

Chris