"bash: echo: write error: Broken pipe" when starting a recording
danhje opened this issue · comments
The message "bash: echo: write error: Broken pipe" is shown when starting a recording, and is included in the recorded video.
❯ asciinema rec
asciinema: recording asciicast to /tmp/tmpfnpgzx8h-ascii.cast
asciinema: press <ctrl-d> or type "exit" when you're done
bash: echo: write error: Broken pipe
~
❯ exit
exit
asciinema: recording finished
asciinema: press <enter> to upload to asciinema.org, <ctrl-c> to save locally
View the recording at:
https://asciinema.org/a/bKTMSmo2aDSFKhWQVlH04VyNM
This installation of asciinema recorder hasn't been linked to any asciinema.org
account. All unclaimed recordings (from unknown installations like this one)
are automatically archived 7 days after upload.
If you want to preserve all recordings made on this machine, connect this
installation with asciinema.org account by opening the following link:
https://asciinema.org/connect/59c4cf69-7b1e-4985-a051-c34a2d7bf3a7
I've only had this happen once I did asciinema auth
Error like that usually comes from your shell config, specifically when some part of shell startup assumes it's running in a login shell, while inside asciinema it's not a login shell. See here https://discourse.asciinema.org/t/why-am-i-getting-command-not-found-at-the-begining-of-the-recording-session/20