[Twisted-Python] echoclient_ssl.py traceback
f rom
etaoinbe at yahoo.com
Thu Aug 31 11:51:46 EDT 2006
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
More information about the Twisted-Python
mailing list