Created
February 8, 2019 16:15
-
-
Save amoe/26dd7508783da86046cb46eb52c9abeb to your computer and use it in GitHub Desktop.
Errors from fabric tar/pipe script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar: Removing leading `/' from member names | |
tar: This does not look like a tar archive | |
tar: Exiting with failure status due to previous errors | |
Traceback (most recent call last): | |
File "write_to_fifo.py", line 13, in <module> | |
out_stream=reader_proc.stdin | |
File "<decorator-gen-3>", line 2, in run | |
File "/usr/local/lib/python3.5/dist-packages/fabric/connection.py", line 30, in opens | |
return method(self, *args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/fabric/connection.py", line 702, in run | |
return self._run(self._remote_runner(), command, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/invoke/context.py", line 101, in _run | |
return runner.run(command, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/invoke/runners.py", line 271, in run | |
return self._run_body(command, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/invoke/runners.py", line 365, in _run_body | |
raise ThreadException(thread_exceptions) | |
invoke.exceptions.ThreadException: | |
Saw 1 exceptions within threads (TypeError): | |
Thread args: {'kwargs': {'buffer_': [], | |
'hide': False, | |
'output': <_io.BufferedWriter name=5>}, | |
'target': <bound method Runner.handle_stdout of <fabric.runners.Remote object at 0x7f3b84ef95f8>>} | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/invoke/util.py", line 233, in run | |
super(ExceptionHandlingThread, self).run() | |
File "/usr/lib/python3.5/threading.py", line 862, in run | |
self._target(*self._args, **self._kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/invoke/runners.py", line 564, in handle_stdout | |
buffer_, hide, output, reader=self.read_proc_stdout | |
File "/usr/local/lib/python3.5/dist-packages/invoke/runners.py", line 537, in _handle_output | |
self.write_our_output(stream=output, string=data) | |
File "/usr/local/lib/python3.5/dist-packages/invoke/runners.py", line 525, in write_our_output | |
stream.write(encode_output(string, self.encoding)) | |
TypeError: a bytes-like object is required, not 'str' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment