Re: [Zope3-Users] z3c.traverser and stackinfo
That was the problem ! :) Thx a lot Simon Dan Korostelev wrote: > 2009/10/21 Simon Elbaz : > >> 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): >> >> TypeError: ('Could not adapt', > instance >> URL=http://localhost:9060/++skin++Adama/mysite/@@stackinfo.html>, >> ) >> > > Did you not include z3c.traverser.stackinfo configure.zcml file? > > ___ Zope3-users mailing list Zope3-users@zope.org https://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c.traverser and stackinfo
2009/10/21 Simon Elbaz : > 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): > > TypeError: ('Could not adapt', instance > URL=http://localhost:9060/++skin++Adama/mysite/@@stackinfo.html>, > ) Did you not include z3c.traverser.stackinfo configure.zcml file? -- WBR, Dan Korostelev ___ Zope3-users mailing list Zope3-users@zope.org https://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] z3c.traverser and stackinfo
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__: 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', http://localhost:9060/++skin++Adama/mysite/@@stackinfo.html>, ) Regards Simon ___ Zope3-users mailing list Zope3-users@zope.org https://mail.zope.org/mailman/listinfo/zope3-users