[Zope] Re: [Zope-PTK] Cannot import DemoPortal.zexp

Bill Welch bill@carbonecho.com
Fri, 22 Sep 2000 14:06:12 +0000 (GMT)


Bet you can't import Wizard.zexp either and the traceback shows the
identical pickled data.

I'm battling a very similar problem and so far I think it's subtle
corruption of the ZODB having to do with ZDiscussion. Note that the
pickled data contains references to ZDiscussion. The pickled data in my
traceback also contains references to ZDiscussion, although it's a
different oid (\023w) and, therefore, record. There're no ZDiscussion
records in DemoPortal.zexp or Wizard.zexp.

At one point, after the nth time removing and reinstalling ZDBase, etal;
DemoPortal and Wizard appeared *without me importing them*. I removed and
reinstalled everything one more time (bad move!). DP and W disappeared and
now import gives Duplicate Class Id.

I think your import actually worked, but ran over somehow and crashed
before the prodcuts could be registered.

I'm in the midst of analyzing my Data.fs. Fsrecover doesn't find any
problems. Tranalyzer has a couple of bugs with versions that I'm working
through. I'll let you know.

Bill.

On Fri, 22 Sep 2000 zopist@matrixware.at wrote to zope-PTK:

>   File /usr/local/zope/lib/python/ZODB/Connection.py, line 154, in __getitem__
>     (Info: ('\000\000\000\000\000\000\034\315',
> '(cExtensionClass\012ExtensionClass\012q\001(U\006ZDItemq\002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.ZDBase.ZDiscussions\012ZDItem\012q\004cOFS.SimpleItem\012SimpleItem\012q\005tq\006}q\007(U\004iconq\010UWControl_Panel/Products/ZDiscussion
> s/ZDTopic/propertysheets/methods/ZDItem%20/ziconImageq\011U\012_p_changedq\012K\001U\007__doc__q\013U\021ZDiscussions
> Itemq\014U\006_p_oidq\015U\010\000\000\000\000\000\000\002Lq\016U\011meta_typeq\017U\021ZDiscussions
> Itemq\020U\016propertysheetsq\021(U\010\000\000\000\000\000\000\034\320q\022(NU\010\000\000\000\000\000\000\034\314q\023Qtq\024tq\025QU\012index_htmlq\026cZClasses.Method\012MW\012q\027NRq\030}q\031U$_ZClassMethodPermissionMapperMethod_q\032(U\010\000\000
> \000\000\000\000\034\321q\033(U\016OFS.DTMLMethodq\034cOFS.DTMLMethod\012DTMLMethod\012q\035tq\036tq\037QsbU\016manage_optionsq
> (}q!(U\005labelq"U\012Propertiesq#U\006actionq$U\025manage_propertiesFormq%u}q&am!
> !
> p;(U\005labelq\'U\010Securityq(U\006actionq)U\015manage_accessq*u}q+(h\'U\004Viewq,h)U\012index_htmlq-utq.U\012ziconImageq/(U\010\000\000\000\000\000\000\034\322q0(U\011OFS.Imageq1cOFS.Image\012Image\012q2tq3tq4QU\022__ac_permissions__q5)U\011_p_serialq6U
> \010\0030\226a\274;\204\314q7U\012__module__q8U\031*73biqpAI2QDa2iKPitv57g==q9utq:t.N.'))
> Could not load oid Í, pickled data in traceback info may contain
> clues: (see above)
> 
> -->