We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
When you unplug a serial-over-USB steno machine then:
Steps to reproduce
Expected behavior
Tray icon and mouseover text should indicate that the machine is disconnected:
Actual behavior
Tray icon and mouse overtext wrongly indicate that the machine is connected:
Operating system
Discussion
Plover handles serial connections in a dedicated machine thread. The machine thread communicates events to other parts of the system via callbacks.
When you unplug a serial-over-USB device then pyserial indicates the disconnect by throwing an exception:
pyserial
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Plover does not handle these exceptions. Instead the machine thread dies silently.
This has been discussed before in #596 and more recently in #1273. There is also a related PR that address the issue #1054.
From what I can tell, this is straightforward to fix. I’m not sure what exactly is holding a fix back. Two things I noticed:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
When you unplug a serial-over-USB steno machine then:
Steps to reproduce
Expected behavior
Tray icon and mouseover text should indicate that the machine is disconnected:
Actual behavior
Tray icon and mouse overtext wrongly indicate that the machine is connected:
Operating system
Discussion
Plover handles serial connections in a dedicated machine thread. The machine thread communicates events to other parts of the system via callbacks.
When you unplug a serial-over-USB device then
pyserial
indicates the disconnect by throwing an exception:Plover does not handle these exceptions. Instead the machine thread dies silently.
This has been discussed before in #596 and more recently in #1273. There is also a related PR that address the issue #1054.
From what I can tell, this is straightforward to fix. I’m not sure what exactly is holding a fix back. Two things I noticed:
The text was updated successfully, but these errors were encountered: