You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Run PSSH with -I < script.sh
2. See error
What is the expected output? What do you see instead?
Expect it to run the script provided. Instead it stops with a traceback.
Traceback (most recent call last):
File "/usr/bin/pssh", line 118, in <module>
do_pssh(hosts, cmdline, opts)
File "/usr/bin/pssh", line 89, in do_pssh
statuses = manager.run()
File "/usr/lib/python3.4/site-packages/psshlib/manager.py", line 74, in run
self.iomap.poll(wait)
File "/usr/lib/python3.4/site-packages/psshlib/manager.py", line 255, in poll
handler(fd, self)
File "/usr/lib/python3.4/site-packages/psshlib/task.py", line 170, in handle_stdin
self.byteswritten = start + os.write(fd, chunk)
TypeError: 'str' does not support the buffer interface
What version of the product are you using? On what operating system?
PSSH 2.3.1
Python 3.4.3
Arch Linux
Please provide any additional information below.
Works fine on a CentOS host where Python2 is the default.
Original issue reported on code.google.com by [email protected] on 28 Jun 2015 at 3:23
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 28 Jun 2015 at 3:23The text was updated successfully, but these errors were encountered: