Skip to content
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

Missing OpenSSH config breaks client #63

Closed
sergani opened this issue Aug 28, 2016 · 3 comments
Closed

Missing OpenSSH config breaks client #63

sergani opened this issue Aug 28, 2016 · 3 comments
Labels

Comments

@sergani
Copy link

sergani commented Aug 28, 2016

Hello,

I've pulled and edited the parallel_commands.py example script, to connect to a host of mine (localhost returns the same issue), and I get the following error when I run the script:

No handlers could be found for logger "pssh"
Traceback (most recent call last):
  File "file.py", line 13, in <module>
    output.append(client.run_command(cmd, stop_on_errors=True))
  File "/Users/sergani/myproject/lib/python2.7/site-packages/pssh/pssh_client.py", line 520, in run_command
    raise ex
TypeError: 'NoneType' object is not iterable

Thoughts? :-)

Thanks
//M

@pkittenis
Copy link
Member

pkittenis commented Aug 31, 2016

Looks like a regression in latest version, will be a bug fix release shortly. Versions <=0.91.2 are not affected.

@pkittenis pkittenis changed the title Example parallel_commands.py fails with TypeError Edited parallel_commands.py raises exception Aug 31, 2016
@pkittenis pkittenis changed the title Edited parallel_commands.py raises exception Missing OpenSSH config breaks client Aug 31, 2016
@pkittenis pkittenis added the bug label Aug 31, 2016
@pkittenis
Copy link
Member

pkittenis commented Aug 31, 2016

Thanks for raising 👍 Changes for #55 introduced a regression when an OpenSSH config does not exist.

Have hidden the 0.92.0 release in pypi to stop others from encountering this. Any other version will work including latest 0.92.1 which includes a fix for this.

@sergani
Copy link
Author

sergani commented Aug 31, 2016

Glad to have helped :-)

Thanks
//M

On Aug 31, 2016 12:43 PM, "Dan" notifications@github.com wrote:

Thanks for raising 👍

Have hidden the 0.92.0 release in pypi to stop others from encountering
this. Any other version will work including latest 0.92.1 which includes
a fix for this.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#63 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQFln51FW53-QbaSzhMNHJwKYiaIQjYCks5qlVq6gaJpZM4Ju-kx
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants