[Zope3-Users] z3c.traverser and stackinfo

Simon Elbaz simon.elbaz at free.fr
Wed Oct 21 08:51:35 EDT 2009


Hi,
I am trying to use stackinfo module from z3c.traverser and don't 
understand the following error because ITraversalStackInfo should adapt 
BrowserRequest class according to 
(http://svn.zope.org/z3c.traverser/trunk/src/z3c/traverser/stackinfo/consumer.py?rev=95983&view=auto):

   - __traceback_info__: <security proxied 
z3c.pagelet.zcml.StackInfoView instance at 0x9fee3cc>
  File 
"/home/simon/.buildout/eggs/zope.publisher-3.9.3-py2.5.egg/zope/publisher/publish.py", 
line 115, in debug_call
    return obj(*args)
  File 
"/home/simon/ADAMA/Src/gui/z3c_auth/src/z3c_auth/browser/views.py", line 
11, in __call__
    for consumer in interfaces.ITraversalStackInfo(self.request):
TypeError: ('Could not adapt', <zope.publisher.browser.BrowserRequest 
instance 
URL=http://localhost:9060/++skin++Adama/mysite/@@stackinfo.html>, 
<InterfaceClass z3c.traverser.stackinfo.interfaces.ITraversalStackInfo>)

Regards
Simon


More information about the Zope3-users mailing list