Machine port close might hang #1403
user202729
started this conversation in
Technical Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes Plover GUI does not respond, and it's hard to debug it.
In my particular case, I isolated the issue to this line being run while Plover is not responding
which
join()
call to stop the machine thread hanging, whichSuggestions...
Perhaps Plover should have a developer-help mode to help developers figuring out which thread does not behave properly.
(perhaps this is already done with the hanging-threads Python package, or plover-debugging-console)
Or, in this particular case, gives a warning if some thread (most commonly the machine thread) is not responding, or other unexpected behavior happens [1].
I can't find any way to reproduce this reliably.
I'm not sure that this is a Plover bug because I don't know if
it's related to one of the previous serial issues that I encountered, or
it's caused by my workaround (see post)
"ERROR: discarding incomplete packet: b'80'" whenever Georgi keyboard is used to wake up machine from sleep state #1208
Serial port stopped working after suspend (sleep) and resume (wake up) #1273
Might be related issue in pyserial's repository: pyserial/pyserial#226
[1]: For example, extension plugin raises error on
stop()
, which prevents Plover from exiting.Beta Was this translation helpful? Give feedback.
All reactions