anguiano reports this when viewing a certain page in a wiki created with 0.18/0.19 after upgrading to 0.27rc3:
Traceback (most recent call last): File "/usr/local/Zope/lib/python/Products/ZWiki/UI.py", line 205, in addSkinTo return default_wikipage.__of__(self)(self,REQUEST,body=body,**kw) File "/usr/local/Zope-2.6.1-src/lib/python/Shared/DC/Scripts/Bindings.py", line 252, in __call__ return self._bindAndExec(args, kw, None) File "/usr/local/Zope-2.6.1-src/lib/python/Shared/DC/Scripts/Bindings.py", line 283, in _bindAndExec return self._exec(bound_data, args, kw) File "/usr/local/Zope/lib/python/Products/PageTemplates/PageTemplateFile.py", line 96, in _exec return self.pt_render(extra_context=bound_names) File "/usr/local/Zope/lib/python/Products/PageTemplates/PageTemplate.py", line 95, in pt_render tal=not source, strictinsert=0)() File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 200, in __call__ self.interpret(self.program) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 244, in interpret handlers[opcode](self, args) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 703, in do_useMacro self.interpret(macro) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 244, in interpret handlers[opcode](self, args) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 412, in do_optTag_tal self.no_tag(stuff[-2], stuff[-1]) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 394, in no_tag self.interpret(program) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 244, in interpret handlers[opcode](self, args) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 703, in do_useMacro self.interpret(macro) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 244, in interpret handlers[opcode](self, args) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 412, in do_optTag_tal self.no_tag(stuff[-2], stuff[-1]) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 394, in no_tag self.interpret(program) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 244, in interpret handlers[opcode](self, args) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 295, in do_startTag ok, name, s = attrAction(self, item) File "/usr/local/Zope-2.6.1-src/lib/python/TAL/TALInterpreter.py", line 363, in attrAction_tal evalue = self.engine.evaluateText(item[3]) File "/usr/local/Zope/lib/python/Products/PageTemplates/TALES.py", line 223, in evaluateText text = self.evaluate(expr) File "/usr/local/Zope/lib/python/Products/PageTemplates/TALES.py", line 217, in evaluate return expression(self) File "/usr/local/Zope/lib/python/Products/PageTemplates/Expressions.py", line 206, in __call__ return self._eval(econtext) File "/usr/local/Zope/lib/python/Products/PageTemplates/Expressions.py", line 201, in _eval return render(ob, econtext.vars) File "/usr/local/Zope/lib/python/Products/PageTemplates/Expressions.py", line 108, in render ob = ob() File "/usr/local/Zope/lib/python/Products/ZWiki/OutlineSupport.py", line 138, in primaryParentUrl p = self.primaryParent() File "/usr/local/Zope/lib/python/Products/ZWiki/OutlineSupport.py", line 131, in primaryParent p = self.primaryParentName() File "/usr/local/Zope/lib/python/Products/ZWiki/OutlineSupport.py", line 126, in primaryParentName return self.wikiOutline().firstParent(self.pageName()) File "/usr/local/Zope/lib/python/Products/ZWiki/Outline.py", line 225, in firstParent parents = self.parentmap()[node] KeyError: FrontPage
possibly fixed --SimonMichael, Mon, 02 Feb 2004 18:20:28 -0800 reply
I couldn't reproduce.. but it seemed to go away after running updateWikiOutline again, after we had also set the page's (blank) title property to FrontPage
. Indeed I believe updateWikiOutline was looking only at titles, not title_or_id as we usually do. (But why was and is title blank ? I though upgrade always set it now). Checked in a fix for 0.27.
property change --SimonMichael, Mon, 02 Feb 2004 18:21:14 -0800 reply
Status: open => closed
mistake! --SimonMichael, Tue, 03 Feb 2004 12:24:44 -0800 reply
Nope.. that:
name = p.pageName()
in OutlineSupport?.py should have been:
name = p.Title
after all. This problem might bite a lot of people upgrading to 0.27, after all. If you are affected, please report here, and apply the above change to work around.
property change --SimonMichael, Tue, 03 Feb 2004 12:27:01 -0800 reply
Status: closed => open
same problem -- Tue, 03 Feb 2004 14:19:00 -0800 reply
FYI, I have a recent copy of .27 with the above patch already applied and I still got that error message until I ran /updateWikiOutline
back to the original issue --SimonMichael, Thu, 05 Feb 2004 13:49:34 -0800 reply
Back to this page's original issue, though, which is open and serious - I believe that 0.27's updateWikiOutline fails all the time with the traceback above. So I'm not sure how it worked for you at all - but maybe you were using 0.27rc3.
going to rename - am I understanding this ? --SimonMichael, Thu, 05 Feb 2004 14:00:19 -0800 reply
In other words, 0.27 will generally not display any page or work at all, until
patched
as above ?
going to rename - am I understanding this ? --SimonMichael, Thu, 05 Feb 2004 15:33:08 -0800 reply
No, some people are using 0.27 without any trouble at all. So I don't understand. I don't know if a bugfix release is even necessary.
actually two issues here.. fixed one for 0.27.1 --SimonMichael, Thu, 05 Feb 2004 23:46:35 -0800 reply
Severity: serious => normal
status of the other (first traceback) unknown --SimonMichael, Thu, 05 Feb 2004 23:47:25 -0800 reply
Status: open => pending
property change --SimonMichael, Mon, 09 Feb 2004 20:29:25 -0800 reply
Status: pending => closed
old? --betabug, Wed, 14 Feb 2007 01:03:56 -0800 reply
Status: open => closed
I don't see why this was open again, it's ages old. Were the spambots at it?