PSSH provides parallel versions of OpenSSH and related tools. Included are pssh, pscp, prsync, pnuke, and pslurp. The project includes psshlib which can be used within custom applications.
What steps will reproduce the problem?
1. Upgrade to python 2.6.6_1 (using MacPorts)
2. Install pssh-2.2
3. pssh -l myname -h hostsfile 'rm -f foo' (remote command does not matter)
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/opt/local/bin/pssh", line 115, in <module>
do_pssh(hosts, cmdline, opts)
File "/opt/local/bin/pssh", line 83, in do_pssh
t = Task(host, port, user, cmd, opts, stdin)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/psshlib/task.py", line 37, in __init__
self.pretty_host = '@'.join((user, self.pretty_host))
TypeError: sequence item 0: expected string, NoneType found
What version of the product are you using? On what operating system?
pssh-2.2 on Mac OS X 10.6.6
Please provide any additional information below.
pssh-2.1 did not have these issues. I upgraded my MacPorts install base (using
$ sudo port -u upgrade outdated) recently and I noticed Python was upgraded to
2.6.6_1 from "2.6.6_0+no_tkinter"
Original issue reported on code.google.com by vamsi.ka...@gmail.com on 26 Jan 2011 at 8:16
Original issue reported on code.google.com by
vamsi.ka...@gmail.com
on 26 Jan 2011 at 8:16