Hi Ross!

Ross Patterson wrote:
The lookup is in C code, I don't know C and how to debug that. No idea
what's going wrong here.

Any pointers?

I often rename zope/interface/_zope_interface_coptimizations.so to
zope/interface/_zope_interface_coptimizations.so.bak so that the
Python implementation is used and I can step into it in PDB.

Thanks! Good idea.

(Pdb) self._uncached_lookup(required, provided, name)
<CMFSite at mySite>

(Pdb) self._cache
{..., <InterfaceClass Products.CMFCore.interfaces._content.ISiteRoot>: {(): None}}

No time at the moment to dig deeper, but for some reason there are invalid entries in the cache.



Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to