Skip to content

ignore repl broken pipe errors #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fidgetingbits opened this issue Jan 21, 2021 · 1 comment
Closed

ignore repl broken pipe errors #217

fidgetingbits opened this issue Jan 21, 2021 · 1 comment
Milestone

Comments

@fidgetingbits
Copy link

as discussed on slack when piping in commands to the repl the talon log will end up being littered with:

2021-01-21 10:33:21 ERROR error writing to repl
   11:    lib/python3.9/threading.py:912* # repl client thread
   10:    lib/python3.9/threading.py:954*
    9:    lib/python3.9/threading.py:892*
    8: lib/python3.9/socketserver.py:650*
    7: lib/python3.9/socketserver.py:360*
    6: lib/python3.9/socketserver.py:720*
    5:      talon_plugins/00_repl.py:234| shell.interact()
    4:      talon_plugins/00_repl.py:176| self.send('exit')
    3: ---------------------------------# repl client thread
    2:      talon_plugins/00_repl.py:159| self.writer.flush()
    1:       lib/python3.9/socket.py:722|
BrokenPipeError: [Errno 32] Broken pipe

it would be nice if this exception was ignored, since some people purposefully use keyboard shortcuts to quickly mute or on mute talon during presentations, meetings, etc

@lunixbochs lunixbochs added this to the v0.2.0 milestone Jan 23, 2021
@lunixbochs
Copy link

Fixed in next beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants