[Zope3-dev] test failure
Jeremy Hylton
jeremy@alum.mit.edu
Tue, 3 Dec 2002 12:27:10 -0500
I'm running a just-updated CVS checkout with Python 2.2.2 on Linux. I
see the following error.
Jeremy
Error in test test (Zope.App.OFS.Content.ZPTPage.tests.testZPTPage.ZPTPageTests)
Traceback (most recent call last):
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/tests
/testZPTPage.py", line 62, in test
title="Zope rules")
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/ZPTPa
ge.py", line 99, in render
return self.pt_render(namespace)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/PageTemplate/PageTemplate.py"
, line 118, in pt_render
context, output, tal=not source, strictinsert=0)()
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/TAL/TALInterpreter.py", line
165, in __call__
self.interpret(self.program)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/TAL/TALInterpreter.py", line
208, in interpret
handlers[opcode](self, args)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/TAL/TALInterpreter.py", line
259, in do_startTag
ok, name, s = attrAction(self, item)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/TAL/TALInterpreter.py", line
327, in attrAction_tal
evalue = self.engine.evaluateText(item[3])
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/PageTemplate/TALES.py", line
238, in evaluateText
text = self.evaluate(expr)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/PageTemplate/TALES.py", line
230, in evaluate
return expression(self)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/PageTemplate/Expressions.py",
line 151, in __call__
return self._eval(econtext)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/PageTemplate/Expressions.py",
line 138, in _eval
ob = self._subexprs[-1](econtext)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/PageTemplate/Expressions.py",
line 84, in _eval
ob = self._traverser(ob, path, econtext)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/PageTemplate/Engine.py",
line 40, in zopeTraverser
request=getattr(econtext, 'request', None))
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/Traversing/Traverser.py",
line 104, in traverse
next = traversable.traverse(nm, parms, name, path)
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/Traversing/DefaultTravers
able.py", line 37, in traverse
return self._subject[name]
File "/usr/home/jeremy/src/Zope3/lib/python/Zope/ContextWrapper/SimpleMethodWr
apper.py", line 89, in __getitem__
return attr.__get__(self)(key)
AttributeError: 'method-wrapper' object has no attribute '__get__'