[Zope] pickled data in traceback

Chris McDonough chrism@digicool.com
Thu, 7 Dec 2000 20:46:21 -0500


THis looks like you have an object in your database that still wants the
Zclass definition (or base class definitions) for SQLMemberFolder, which is
evidently part of the PTK.

You'll need to determine which object(s)in your object database still needs
this class.  This can be hard, especially if you don't know the answer
already.  :-)

The first step is probably to reinstall the Product it's complaining about.
In your case, this would probably be the revision of the PTK that used this
class.  Then track down the offending objects basically through trial and
error (remove any instances which obviously depend on the product).

If that doesn't work, it's time to bring in the big guns, which means
looking up oids in the debugger, which isn't something for the faint of
heart.  Sorry I don't have better news, nor the time to explain how to do it
(because I'd need to puzzle it out myself).

This problem really needs to be addressed in a better way, as it's very
common.

----- Original Message -----
From: "fotios pylarinos" <fotios.pylarinos@Sun.COM>
To: <zope@zope.org>
Sent: Thursday, December 07, 2000 8:14 PM
Subject: [Zope] pickled data in traceback


> Hi all,
>
> This is the message I get when I try to import a product in the
> control_panel/products folder. Some of these porducts where removed but
> I still get reference to them eg/ 'Products.PTKBase.MemberFolder'. Have
> I done something wrong? Is there a fix?
>
>
> Thanks, cheers Fordy.
>
> Could not load oid
>
> Traceback (innermost last):
>   File /wa/intranet/lib/python/ZODB/Connection.py, line 447, in setstate
>   File /wa/intranet/lib/python/ZODB/Connection.py, line 213, in
> _persistent_load    (Info: !4)
>   File /wa/intranet/lib/python/ZODB/Connection.py, line 154, in
> __getitem__
>     (Info: ('\000\000\000\000\000\000!4',
>
'(cExtensionClass\012ExtensionClass\012q\001(U\017SQLMemberFolderq\002(cZCla
sses.ZClass\012PersistentClass\012q\003cProducts.PTKDemo.SQLMember\012DemoSQ
LMemberFolderBase\012q\004cProducts.PTKBase.MemberFolder\012MemberFolderBase
\012q\005cOFS.SimpleItem\012SimpleItem\012q\006tq\007}q\010(U\004iconq\011U\
036misc_/OFSP/UserFolder_icon.gifq\012U\012_p_changedq\013K\001U\007__doc__q
\014U\017SQLMemberFolderq\015U\011loginFormq\016(U\010\000\000\000\000\000\0
00!Zq\017(U\017ZClasses.Methodq\020U\003MWpq\021tq\022tq\023QU\006_p_oidq\02
4U\010\000\000\000\000\000\000\016\231q\025U\011meta_typeq\026U\021SQL
> Member
>
Folderq\027U\016propertysheetsq\030U\010\000\000\000\000\000\000![q\031QU\01
6manage_optionsq\032(}q\033(U\005labelq\034U\010Contentsq\035U\006actionq\03
6U\013manage_mainq\037u}q
>
(h\034U\010Securityq!h\036U\015manage_accessq"u}q#(h\034U\004Undoq$h\036U\01
7manage_UndoFormq%utq&U\013MemberClassq\'(U\010\000\000\000\000\000\000!\\q(
(h\020U\003MWpq)tq*tq+QU\011_p_serialq,U\010\0032%\223\212\307<\367q-U\022__
ac_permissions__q.)U\012__module__q/U\031*MasmkcELwiQX3XivS3mUQw==q0U\017man
ge_usersFormq1(U\010\000\000\000\000\000\000!]q2(h\020U\003MWpq3tq4tq5Qutq6t
.N.'))
> Could not load oid !4, pickled data in traceback info may
> contain clues
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>