[Zope] Can't create ZClass under 2.2.0
Tony McDonald
tony.mcdonald@ncl.ac.uk
Mon, 31 Jul 2000 11:14:03 +0100
Hi all,
I've got the Beehive tutorial on Zclasses and thought I'd try it out
on a 2.2.0 system we have here.
I have 'create constructor types' and 'nclude standard Zope
persistent object base classes?
' set. I've tried selecting various Base Classes (and no base
classes), but get the following traceback.
<!--
Error type: Could not load oid À, pickled data in traceback
info may contain clues
Error value: None
-->
<!-- end of bodytext area -->
</body>
</html>
<!--
Traceback (innermost last):
File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line
222, in publish_module
File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line
187, in publish
File /home/zope/Zope-2.2.0/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
(Object: ElementWithAttributes)
File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line
171, in publish
File /home/zope/Zope-2.2.0/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: manage_addZClass)
File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: manage_addZClass)
File /home/zope/Zope-2.2.0/lib/python/ZClasses/ZClass.py, line 154,
in manage_addZClass
(Object: ElementWithAttributes)
File /home/zope/Zope-2.2.0/lib/python/OFS/ObjectManager.py, line
260, in _setObject
(Object: ElementWithAttributes)
File /home/zope/Zope-2.2.0/lib/python/ZClasses/ZClass.py, line 421,
in manage_afterAdd
(Object: bookclass)
File /home/zope/Zope-2.2.0/lib/python/ZClasses/ZClass.py, line 374,
in _register
(Object: bookclass)
File /home/zope/Zope-2.2.0/lib/python/ZODB/Connection.py, line 447,
in setstate
File /home/zope/Zope-2.2.0/lib/python/ZODB/Connection.py, line 213,
in _persistent_load
(Info: À)
File /home/zope/Zope-2.2.0/lib/python/ZODB/Connection.py, line 154,
in __getitem__
(Info: ('\000\000\000\000\000\000\014\300',
'(cExtensionClass\012ExtensionClass\012q\001(U\006ZDItemq\002(cZClasse
s.ZClass\012PersistentClass\012q\003cProducts.ZDBase.ZDiscussions\012Z
DItem\012q\004cOFS.SimpleItem\012SimpleItem\012q\005tq\006}q\007(U\004
iconq\010UWControl_Panel/Products/ZDiscussions/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\011m
eta_typeq\017U\021ZDiscussions
Itemq\020U\016propertysheetsq\021(U\010\000\000\000\000\000\000\014\30
3q\022(NU\010\000\000\000\000\000\000\014\277q\023Qttq\024QU\011replyF
ormq\025cZClasses.Method\012MW\012q\026NRq\027}q\030U$_ZClassMethodPer
missionMapperMethod_q\031(U\010\000\000\000\000\000\000\014\304q\032(U
\016OFS.DTMLMethodq\033cOFS.DTMLMethod\012DTMLMethod\012q\034ttq\035Qs
bU\012index_htmlq\036h\026NRq\037}q
h\031(U\010\000\000\000\000\000\000\014\305q!(h\033h\034ttq"QsbU\
016manage_optionsq#(}q$(U\005labelq%U\010Securityq&U\006actionq\'U
\015manage_accessq(u}q)(h%U\004Viewq*h\'U\012index_htmlq+u}q,(U\005lab
elq-U\012Propertiesq.U\006actionq/U\025manage_propertiesFormq0utq1U\01
2ziconImageq2(U\010\000\000\000\000\000\000\014\306q3(U\011OFS.Imageq4
cOFS.Image\012Image\012q5tq6tq7QU\022__ac_permissions__q8)U\011_p_seri
alq9U\010\003/\363\246\016\005\353\325q:U\012__module__q;U\031*73biqpA
I2QDa2iKPitv57g==q<utq=t.N.'))
Could not load oid À, pickled data in traceback info may
contain clues: (see above)
-->
Thing is, I've deleted the ZDiscussions and ZBase products as well as
packing the database - these products shouldn't be there.... Anyone
got any ideas?
ta
tone
------
Dr Tony McDonald, FMCC, Networked Learning Environments Project
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2