FS#51533 - [pssh] passing `--send-input' results in TypeError exception
Attached to Project:
Community Packages
Opened by Pedro Silva (psilva) - Tuesday, 25 October 2016, 16:36 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Monday, 21 November 2016, 20:22 GMT
Opened by Pedro Silva (psilva) - Tuesday, 25 October 2016, 16:36 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Monday, 21 November 2016, 20:22 GMT
|
Details
Description:
Python 3 strings are unicode, which is not handled correctly by pssh. Also, googlecode URL is 404ing, so it's currently not possible to build the package. Patches for both the upstream python issue and respective PKGBUILD update included. Additional info: * pssh-2.3.1-7-any.pkg.tar.xz Steps to reproduce: $ pssh -H localhost -I true <<(echo ascii) 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.5/site-packages/psshlib/manager.py", line 75, in run self.iomap.poll(wait) File "/usr/lib/python3.5/site-packages/psshlib/manager.py", line 257, in poll handler(fd, self) File "/usr/lib/python3.5/site-packages/psshlib/task.py", line 170, in handle_stdin self.byteswritten = start + os.write(fd, chunk) TypeError: a bytes-like object is required, not 'str' Expected: $ pssh -H localhost -I true <<(echo ascii) [1] 18:29:03 [SUCCESS] localhost |
This task depends upon
Closed by Jaroslav Lichtblau (Dragonlord)
Monday, 21 November 2016, 20:22 GMT
Reason for closing: Won't fix
Additional comments about closing: pssh dropped from [community] to AUR
Monday, 21 November 2016, 20:22 GMT
Reason for closing: Won't fix
Additional comments about closing: pssh dropped from [community] to AUR
Comment by Pedro Silva (psilva) -
Saturday, 05 November 2016, 09:10 GMT
Alternatively, given the state of upstream (abandoned, it looks
like), perhaps this should be moved to the AUR?