[Zope3-dev] Opaque error, help

Christian Theune ct at gocept.com
Thu Nov 9 10:35:21 EST 2006



Shane Hathaway wrote:
> Christian Theune wrote:
>> Shane Hathaway wrote:
>>> I'm working on enhancing zope.app.apidoc, but I ran into an exception
>>> that's hard to decipher.  I've attached the traceback.  I don't know
>>> which __init__() it's complaining about, and I don't know how to find
>>> out.  What can I do to find out which __init__() the adapter hook is
>>> trying to call?
>>
>> Pdbing into this and stepping into the adapter_hook might work.
> 
> 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.

> 
>> Ape-is-still-alive-ly,
> 
> Well, it's still running on my site. ;-)

It's a great way to give people a migration/exit strategy out of
existing ZMI apps.

Christian

-- 
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/5685ef13/signature.bin


More information about the Zope3-dev mailing list