[PEAK] PyProtocols AdaptationFailure raises a TypeError on Python 2.5

Florent Aide florent.aide at gmail.com
Thu Jun 14 19:36:03 EDT 2007


Hi Phillip, Hi all,

I am testing some interface declaration and adaptation on python 2.5
and when an adaption fails I get an unexpected Exception from
PyProtocol:

TypeError: exceptions must be strings, classes, or instances, not
AdaptationFailure

The same code runs fine under python2.4.
I am using PyProtocols r2302 in both python 2.4 and 2.5.

Did anyone encounter this problem or know what is going wrong ?

Best regards,
Florent Aide.



More information about the PEAK mailing list