arjun9916 / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

pssh-2.2, pssh fails #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Thanks for the report.  I have now fixed this and released 2.2.1.  Thank you 
very much for your report to make me aware of this.

Original comment by amcna...@gmail.com on 26 Jan 2011 at 9:45