- edited description
Issue with pickling SSH connections after auth failure
Issue #17
closed
Seems there is an issue with pickling ssh connections after an authentication failure occurs:
$ pydsh -w 127.0.0.1 'uname'
127.0.0.1: Authentication failed.
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/queues.py", line 236, in _feed
obj = _ForkingPickler.dumps(obj)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
TypeError: can't pickle _thread.lock objects
This appears to impact Python3.6 and Python3.7 at minimum.
Comments (4)
-
repo owner -
repo owner This is actually an issue inside the
sshreader.utils
module. Will get it fixed ASAP! -
repo owner -
assigned issue to
-
assigned issue to
-
repo owner - changed status to closed
Ensuring that ssh._conn is always None when job exits
This should close issue
#17→ <<cset c6ebcb4b9e15>>
- Log in to comment