[Zope] Zope 2.2.2 breaks YihawDirectory ?

Wolfgang Strobl ws@gmd.de
Mon, 23 Oct 2000 15:59:47 +0200


When installing the actual Version of YihawDirectory
(http://www.zope.org/Members/Roug/Yihaw) by importing it into a 
2.2.2 Zope, I got the following traceback. This happens both with 
and without the current hotfixes.

Importing it into 2.2.1 equipped with the current hotfixes works 
without flaws. Any ideas what's going on  here? I don't want to go 
back to 2.2.1  :-/

<snip>

Zope has encountered an error while publishing this resource. 

Error Type: Could not load oid 

5, pickled data in traceback info may contain clues
Error Value: None



Traceback (innermost last):
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 
222, in publish_module
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 
187, in publish
  File E:\var\disk2\sites\WEBSIT~2\lib\python\Zope\__init__.py, 
line 221, in zpublisher_exception_hook
    (Object: Traversable)
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 
171, in publish
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\mapply.py, line 
160, in mapply
    (Object: manage_importObject)
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 
112, in call_object
    (Object: manage_importObject)
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, 
line 526, in manage_importObject
    (Object: Traversable)
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, 
line 278, in _setObject
    (Object: Traversable)
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, 
line 286, in manage_afterAdd
    (Object: Traversable)
  File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, 
line 421, in manage_afterAdd
    (Object: YihawChannel)
  File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, 
line 374, in _register
    (Object: YihawChannel)
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 
447, in setstate
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 
213, in _persistent_load
    (Info: 

5)
  File 
E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 
154, in __getitem__
    (Info: ('\000\000\000\000\000\000\0225', 
'(cExtensionClass\012ExtensionClass\012q\001(U\013EventFolderq
\002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.Re
nderable.Renderable\012Renderable\012q\004cZClasses.ObjectMa
nager\012ObjectManager\012q\005cOFS.SimpleItem\012SimpleIte
m\012q\006tq\007}q\010(U\016searchMaxItemsq\011U\00250q\012
U\004helpq\013(U\010\000\000\000\000\000\000\022jq\014(U\017ZC
lasses.Methodq\015U\003MWpq\016ttq\017QU\012titleColorq\020U
\007#ffffccq\021U\016contextMessageq\022U\011Event 
Logq\023U\024validateDocumentFormq\024(U\010\000\000\000\000
\000\000\022Jq\025(h\015U\003MWpq\026ttq\027QU\006_p_oidq\0
30U\010\000\000\000\000\000\000\020=q\031U\012yearBreaksq\03
2U\0013U\014titleFgColorq\033U\007#000000q\034U\011meta_type
q\035U\013EventFolderq\036U\012__module__q\037U\031*RPVpt5
0D1IjExz+kMxPcyw==q 
U\012index_htmlq!(U\010\000\000\000\000\000\000\022Kq"(h\015U\
003MWpq#ttq$QU\012useOverlibq%U\000U\011adder_gifq&(U\010\
000\000\000\000\000\000\022Lq\'(h\015U\003MWpq(ttq)QU\016neat
ManageViewq*(U\010\000\000\000\000\000\000\022Mq+(h\015U\00
3MWpq,ttq-
QU\013eventSearchq.(U\010\000\000\000\000\000\000\022Nq/(h\01
5U\003MWpq0ttq1QU\022__ac_permissions__q2((U\022Add 
EventDocumentsq3)(U\007Managerq4tq5t(U\017Add 
EvDocAddersq6)h5t(U\016Add 
EvDocDatesq7)h5ttq8U\013newAddendumq9(U\010\000\000\000\00
0\000\000\022Oq:(h\015U\003MWpq;ttq<QU\013renderMonthq=(U\
010\000\000\000\000\000\000\022Pq>(h\015U\003MWpq?ttq@QU\
014titleBgColorqAU\007#ffffccqBU\004iconqCU9Control_Panel/Prod
ucts/EventFolder/EventFolder/ziconImageqDU\011webmasterqEU\0
22nobody@nowhere.comqFU\010nicknameqGU\011Event 
LogqHU\023docGridDisplayColorqIU\007#0000ccqJU\017mgmt_bat
ch_sizeqKU\00220qLU\014deleteEventsqM(U\010\000\000\000\000\
000\000\022QqN(h\015U\003MWpqOttqPQU\010year_tokqQ]qR(U\
0042000qSU\0042001qTeU\015lightbulb_gifqU(U\010\000\000\000\0
00\000\000\022RqV(h\015U\003MWpqWttqXQU\012batch_sizeqYU
\00225qZU\012dateSearchq[(U\010\000\000\000\000\000\000\022S
q\\(h\015U\003MWpq]ttq^QU\006formccq_U\007#e0e0e0q`U\014ne
wEventFormqa(U\010\000\000\000\000\000\000\022Uqb(h\015U\003
MWpqcttqdQU\014edListSearchqe(U\010\000\000\000\000\000\000
\022Vqf(h\015U\003MWpqgttqhQU\021makeBatcherStringqi(U\010\
000\000\000\000\000\000\022Wqj(h\015U\003MWpqkttqlQU\016dat
eRangeResetqm(U\010\000\000\000\000\000\000\022_qn(h\015U\0
03MWpqottqpQU\012renderYearqq(U\010\000\000\000\000\000\000
\022Hqr(h\015U\003MWpqsttqtQU\014allowPostingquU\002onqvU\0
13bordercolorqwU\007#000033qxU\012_p_changedqyK\001U\007__
doc__qzU\037Folder to contain event 
objectsq{U\015maxTitleCharsq|K(U\013makeItAListq}(U\010\000\00
0\000\000\000\000\022[q~(h\015U\003MWpq\177ttq\200QU\011mo
deratedq\201U\002onq\202U\016propertysheetsq\203U\010\000\000
\000\000\000\000\022]q\204QU\013eventReportq\205(U\010\000\00
0\000\000\000\000\022^q\206(h\015U\003MWpq\207ttq\210QU\016l
astDayOfMonthq\211(U\010\000\000\000\000\000\000\022cq\212(h\
015U\003MWpq\213ttq\214QU\016headingBgColorq\215U\007#000
000q\216U\011thismonthq\217(U\010\000\000\000\000\000\000\022
Zq\220(h\015U\003MWpq\221ttq\222QU\024isPrincipiaFolderishq\2
23U\001YU\013bodyBgColorq\224U\007#ffffffq\225U\011pixel_gifq\2
26(U\010\000\000\000\000\000\000\022Xq\227(h\015U\003MWpq\23
0ttq\231QU\016undo_hook_linkq\232(U\010\000\000\000\000\000\0
00\022Iq\233(h\015U\003MWpq\234ttq\235QU\017newAddendumFo
rmq\236(U\010\000\000\000\000\000\000\022`q\237(h\015U\003MW
pq\240ttq\241QU\013subobjTypesq\242(U\010\000\000\000\000\000
\000\022aq\243(h\015U\003MWpq\244ttq\245QU\010newEventq\24
6(U\010\000\000\000\000\000\000\022bq\247(h\015U\003MWpq\250
ttq\251QU\011_p_serialq\252U\010\0036b\014\023S\230\273q\253U
\011dateRangeq\254(U\010\000\000\000\000\000\000\022Yq\255(h\
015U\003MWpq\256ttq\257QU\006go_gifq\260(U\010\000\000\000\0
00\000\000\022Tq\261(h\015U\003MWpq\262ttq\263QU\020AboutE
ventFolderq\264(U\010\000\000\000\000\000\000\022dq\265(h\015U\
003MWpq\266ttq\267QU\012meta_typesq\270(}q\271(U\012permiss
ionq\272U\022Add 
EventDocumentsq\273U\004nameq\274U\016Event 
Documentq\275U\007productq\276U\013EventFolderq\277U\006acti
onq\300U3manage_addProduct/EventFolder/EventDocument_factor
yq\301utq\302U\013borderwidthq\303U\0012U\014subjectNamesq\3
04]q\305(U\007Generalq\306U\004Artsq\307U\007Theatreq\310U\00
6Sportsq\311U\012Governmentq\312U\005Clubsq\313U\006Schoolq
\314U\011Religiousq\315eU\006prefixq\316U\000U\012whole_yearq\
317(U\010\000\000\000\000\000\000\022eq\320(h\015U\003MWpq\3
21ttq\322QU\014showCalendarq\323(U\010\000\000\000\000\000\00
0\022fq\324(h\015U\003MWpq\325ttq\326QU\021filterHtmlInFormsq
\327U\002onq\330U\016manage_optionsq\331(}q\332(U\005labelq\3
33U\010Contentsq\334U\004helpq\335(U\013EventFolderq\336U\01
0MainViewq\337tU\006actionq\340U\016neatManageViewq\341u}q\
342(U\005labelq\343U\022Zope Contents 
Viewq\344U\004helpq\345(h\336U\020ZopeContentsViewq\346tU\00
6actionq\347U\013manage_mainq\350u}q\351(U\005labelq\352U\00
4Viewq\353U\006actionq\354U\014showCalendarq\355u}q\356(U\00
5labelq\357U\012Propertiesq\360h\345(h\336U\020FolderProperties
q\361tU\006actionq\362U 
propertysheets/properties/manageq\363u}q\364(U\005labelq\365U\0
10Securityq\366U\006actionq\367U\015manage_accessq\370u}q\37
1(U\005labelq\372U\004Undoq\373U\006actionq\374U\016undo_hoo
k_linkq\375u}q\376(U\005labelq\377U\006ReadMer\000\001\000\000
U\006actionr\001\001\000\000U\020AboutEventFolderr\002\001\000\
000utr\003\001\000\000U\007xSearchr\004\001\000\000(U\010\000\
000\000\000\000\000\022gr\005\001\000\000(h\015U\003MWpr\006\
001\000\000ttr\007\001\000\000QU\012ziconImager\010\001\000\00
0(U\010\000\000\000\000\000\000\022\\r\011\001\000\000(U\011OF
S.Imager\012\001\000\000U\005Imager\013\001\000\000ttr\014\001\
000\000QU\014eventlog_gifr\015\001\000\000(U\010\000\000\000\00
0\000\000\022hr\016\001\000\000(h\015U\003MWpr\017\001\000\00
0ttr\020\001\000\000QU\013ctlsBgColorr\021\001\000\000U\007#ccf
fccr\022\001\000\000U\006renderr\023\001\000\000(U\010\000\000\
000\000\000\000\022ir\024\001\000\000(h\015U\003MWpr\025\001\
000\000ttr\026\001\000\000QU\013bodyFgColorr\027\001\000\000U\
007#000000r\030\001\000\000U\005titler\031\001\000\000U\011Eve
nt 
Logr\032\001\000\000U\021wrapSearchResultsr\033\001\000\000(U\
010\000\000\000\000\000\000\022kr\034\001\000\000(h\015U\003M
Wpr\035\001\000\000tr\036\001\000\000tr\037\001\000\000QU\017li
nkRelFontSizer \001\000\000U\002-
1r!\001\000\000U\016headingFgColorr"\001\000\000U\007#ffffffr#\001
\000\000utr$\001\000\000t.N.'))
Could not load oid 

5, pickled data in traceback info may            contain clues: (see 
above)


--
      o      (     Wolfgang.Strobl@gmd.de (+49 2241) 14-2394
     /\        *   GMD mbH                       #include 
   _`\ `_<===      Schloss Birlinghoven,         <std.disclaimer>
__(_)/_(_)___.-._  53754 Sankt Augustin, Germany ________________