[Zope-dev] Test failure on integration-branch for Zope 2.11

Christian Theune ct at gocept.com
Thu Mar 8 19:55:25 EST 2007


Hi,

I've started working on the integration of Zope 3.4 and ZODB 3.8 into
Zope 2.11.

I have a breaking test on ZClasses that I couldn't understand. I'd
appreciate any help.

The error is a max. recursion of an object that tries to load its state
and something goes off. Here's a part of the traceback:

File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZClasses/ZClass.txt", line 171, in ZClass.txt
Failed example:
    c2 = test2.C()
Exception raised:
    Traceback (most recent call last):
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest ZClass.txt[59]>", line 1, in ?
        c2 = test2.C()
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/Connection.py",
line 801, in setstate
        self._setstate(obj)
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/Connection.py",
line 859, in _setstate
        self._reader.setGhostState(obj, p)
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/serialize.py",
line 604, in setGhostState
        state = self.getState(pickle)
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/serialize.py",
line 597, in getState
        return unpickler.load()
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/serialize.py",
line 471, in _persistent_load
        return self.load_oid(reference)
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/serialize.py",
line 537, in load_oid
        return self._conn.get(oid)
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/Connection.py",
line 235, in get
        obj = self._reader.getGhost(p)
      File
"/home/ctheune/Development/Zope2-upgrade/lib/python/ZODB/serialize.py",
line 569, in getGhost

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20070309/6c15f158/attachment.bin


More information about the Zope-Dev mailing list