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 - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to