[Twisted-Python] echoclient_ssl.py traceback
Am new to twisted and considering to use it instead of handcoding ssl (have a working example coded in pyopenssl). the demo from http://twistedmatrix.com/projects/core/documentation/examples/ has issues on windows with python 2.4 q:\socketcomm>echoclient_ssl.py receive: Hello, world! receive: What a fine day it is. receive: Bye-bye! connection lost (protocol) connection lost: Connection to the other side was lost in a non-clean fashion. Traceback (most recent call last): File "q:\socketcomm\echoclient_ssl.py", line 47, in ? main() File "q:\socketcomm\echoclient_ssl.py", line 44, in main reactor.run() File "C:\python24\lib\site-packages\twisted\internet\posixbase.py", line 218, in run self.mainLoop() File "C:\python24\lib\site-packages\twisted\internet\posixbase.py", line 226, in mainLoop self.runUntilCurrent() --- <exception caught here> --- File "C:\python24\lib\site-packages\twisted\internet\base.py", line 555, in runUntilCurrent call.func(*call.args, **call.kw) File "C:\python24\lib\site-packages\twisted\internet\base.py", line 411, in _continueSystemEvent for callList in sysEvtTriggers[1], sysEvtTriggers[2]: exceptions.TypeError: unsubscriptable object __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Thu, 31 Aug 2006 08:51:46 -0700 (PDT), f rom <etaoinbe@yahoo.com> wrote:
Am new to twisted and considering to use it instead of handcoding ssl (have a working example coded in pyopenssl).
the demo from http://twistedmatrix.com/projects/core/documentation/examples/ has issues on windows with python 2.4
This is a trivial bug unrelated to SSL. Thanks for pointing it out. There is a patch which fixes the issue in the tracker: http://twistedmatrix.com/trac/ticket/2040 Jean-Paul
participants (2)
-
f rom
-
Jean-Paul Calderone