Submitted by : simon at: 2004-02-26T02:24:35+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :


  File "/usr/local/zope/instance/Products/ZWiki/", line 193, in addSkinTo
    return folder.wikipage.__of__(self)(self,REQUEST,body=body,**kw)
  File "/usr/local/zope/2.7/lib/python/Shared/DC/Scripts/", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/local/zope/2.7/lib/python/Shared/DC/Scripts/", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/local/zope/2.7/lib/python/Products/PageTemplates/", line 222, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/usr/local/zope/2.7/lib/python/Products/PageTemplates/", line 96, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/local/zope/2.7/lib/python/TAL/", line 189, in __call__
  File "/usr/local/zope/2.7/lib/python/TAL/", line 233, in interpret
    handlers[opcode](self, args)
  File "/usr/local/zope/2.7/lib/python/TAL/", line 629, in do_condition
  File "/usr/local/zope/2.7/lib/python/TAL/", line 233, in interpret
    handlers[opcode](self, args)
  File "/usr/local/zope/2.7/lib/python/TAL/", line 561, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/usr/local/zope/2.7/lib/python/Products/PageTemplates/", line 220, in evaluate
    return expression(self)
  File "/usr/local/zope/2.7/lib/python/Products/PageTemplates/", line 201, in __call__
    return self._eval(econtext)
  File "/usr/local/zope/2.7/lib/python/Products/PageTemplates/", line 196, in _eval
    return render(ob, econtext.vars)
  File "/usr/local/zope/2.7/lib/python/Products/PageTemplates/", line 101, in render
    ob = call_with_ns(ob, ns, 2)
  File "/usr/local/zope/2.7/lib/python/Products/PageTemplates/", line 71, in call_with_ns
    return f(None, td)
  File "/usr/local/zope/2.7/lib/python/OFS/", line 123, in __call__
    r=apply(HTML.__call__, (self, client, REQUEST), kw)
  File "/usr/local/zope/2.7/lib/python/DocumentTemplate/", line 474, in __call__
    try: result = render_blocks(self._v_blocks, md)
  File "/usr/local/zope/2.7/lib/python/DocumentTemplate/", line 75, in render
    else: d[name]=expr(md)
  File "/usr/local/zope/2.7/lib/python/DocumentTemplate/", line 201, in eval
    return eval(code, d)
  File "", line 1, in 
  File "/usr/local/zope/2.7/lib/python/Products/ExternalMethod/", line 205, in __call__
    raise RuntimeError,\
  RuntimeError: external method could not be called because it is None

To work around this: visit SOMEPAGE?zwiki_displaymode=simple then click the "simple" link.


aha --SimonMichael, Thu, 26 Feb 2004 19:47:01 -0800 reply
The problem here is that catching and displaying the skin template traceback completely obscures the cause of the error in this case (missing getrusage external method for the memoryusage dtml method called by the wikipage template). Zope 2.7, at least, now gives a far more useful traceback automatically. Time to simplify the code.

property change --SimonMichael, Thu, 26 Feb 2004 19:52:41 -0800 reply
Status: open => closed