BrokenPipeError not correctly handled #127
Open
Labels
Comments
|
This only seem to happen when adding the paramater |
t-wissmann
added a commit
to t-wissmann/python-xlib
that referenced
this issue
Mar 21, 2020
The socket.error, which is an alias to OSError since python 3.3, is not subscriptable (and its subclasses neither are). Hence, pass the entire exception message to close_internal(). In case of a socket.error in self.socket.send(), the former crashed with a TypeError. I strongly suspect that this closes issue python-xlib#127.
|
@oneindelijk if it's still actual, please check if release 0.27 fixes this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get this error when using pynput (it completely crashes my X)
So the exception mightbe something from pynput or that I'm doing wrong,
but the exception following the exception seems to be in
/usr/lib/python3.7/site-packages/Xlib/protocol/display.py", line 586The text was updated successfully, but these errors were encountered: