New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ssh_exception (python2/python3) #678

Closed
pabloestebanez opened this Issue Feb 4, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@pabloestebanez

pabloestebanez commented Feb 4, 2016

There is an error:

File "/usr/lib/python3.4/site-packages/paramiko/client.py", line 311, in connect
raise NoValidConnectionsError(errors)
File "/usr/lib/python3.4/site-packages/paramiko/ssh_exception.py", line 166, in init
body = ', '.join([x[0] for x in addrs[:-1]])
TypeError: 'dict_keys' object is not subscriptable

I guess it is related with python versions.

mgedmin added a commit to mgedmin/paramiko that referenced this issue Feb 5, 2016

@bitprophet

This comment has been minimized.

Member

bitprophet commented Apr 24, 2016

Solved via #679

@bitprophet bitprophet closed this Apr 24, 2016

bitprophet added a commit that referenced this issue Apr 24, 2016

Fix tests on Python 3.x
(This also fixes #678.)

bitprophet added a commit that referenced this issue Apr 24, 2016

Changelog re #617, #679, #678, #685.
Also re fabric/fabric#1429 but IDK if Github will tickle that repo correctly :D

dkhapun pushed a commit to cyberx-labs/paramiko that referenced this issue Jun 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment