[paramiko] transport threads not shutting down
Justin Cook
jhcook at gmail.com
Tue Mar 18 09:30:05 PDT 2008
After calling transport.close(), it appears the transport threads are
not stopping in a timely manner. Furthermore, the socket module is
being destroyed before the thread stops / exits. Obviously this is at
interpreter shutdown. Sometimes I receive the following exception at
program exit:
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/local/lib/python2.5/threading.py", line 486, in __bootstrap_inner
File "/usr/local/lib/python2.5/site-packages/paramiko/transport.py",
line 1505, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Am I missing something?
--
Justin Cook
More information about the paramiko
mailing list