[Zope3-dev] Opaque error, help

Christian Theune ct at gocept.com
Thu Nov 9 14:50:24 EST 2006



Shane Hathaway wrote:
> Christian Theune wrote:
>> Shane Hathaway wrote:
>>> Unfortunately, the adapter hook is in C.  It would be great if I could
>>> switch it to Python.  Is that possible?
>> I remember being able to step into it. pdb then put me into the next
>> Python-level within there ...
>>
>> Probably you can delete some .so file to make it not use the
>> C-optimizations.
> 
> Good idea!  That helped a lot.  I deleted
> src/zope/interface/_zope_interface_coptimizations.so, allowing me to use
> pdb to discover it was trying to instantiate a
> 'zope.traversing.namespace.view' with only one argument.  That looks
> like a Zope testing bug to me, but I need to concentrate on solving
> other problems, so I changed my code to directly instantiate the view I
> needed.  Now the tests pass again.

Great. Maybe you can keep that in mind and post a bug with a minimal
test case demonstrating the problem so someone can go and fix it.

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20061109/e8137c61/signature.bin


More information about the Zope3-dev mailing list