-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
Error when piping to less #77
Comments
Placing the following code near the top of urlwatch will suppress the error:
Maybe @thp can add it? Upon further examination, it appears this will also suppress any SIGPIPE on a socket. Not sure if this behavior will pose a problem. |
Looks like when a SIGPIPE for a socket is received, the network send will return an error, so that should be good. I guess I'll add this to Git now. |
Glad this could get sorted so quickly! Thank you both. |
I get this on my Fedora 24 workstation after installing urlwatch with pip:
because of the "..." in commit 9c675de . Edit: Sorry, that seems to be correct python3 syntax. |
@DerEineDa as you probably have already noticed in your edit, you need to install urlwatch using Python 3's PIP. |
Sometimes a stack trace occurs after quitting less (apparently only when there's actual output):
urlwatch 2.2
less 481
Arch Linux Arm
The text was updated successfully, but these errors were encountered: