Ubuntu Linux: Listening to on_release events getting OSError: [Errno 19] No such device
See original GitHub issueThanks for this library!
I’m using it to listen to every on_release
event:
keyboard.on_release(callback=self.on_key_up)
But sadly after a while I always get this exception:
OSError: [Errno 19] No such device
After that, the callback isn’t called anymore.
Edit: Actually, sometimes it happens right away…
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
OSError: [Errno 19] Failed to open the uinput device: No such ...
I am pretty new to raspberry and Linux.
Read more >Bug #1244988 “IOError: [Errno 19] No such device”
I am not sure about the part resulting in "IOError: [Errno 19] No such device", but the "AttributeError: 'Backend' object has no attribute...
Read more >release_notes.txt - Ubuntu Cloud Images
Update branch_fuse.patch: - Make grub-mount exit non-zero if opening the device or filesystem fails. - Translate GRUB error codes into OS error codes...
Read more >/srv/irclogs.ubuntu.com/2011/10/14/#ubuntu.txt
agronholm, graingert: I mean, don't I get a list of all installed packages from software-center? ... Stingray88, bobbert: no such file or directory,...
Read more >https://irclogs.ubuntu.com/2014/04/17/%23ubuntu.txt
[00:27] <Ninjaspark> How should i "sudo apt-get install ubuntu-desktop" If i dont have a working version of Linux working in the first place?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Figured out a fix for the issue. Will post pull request.
update: thanks so much for your code. but after adding the ‘if device.input_file.readable():’, it still shows ‘no such device’ after disconnecting the keyboard, and not listen after i reconnect keyboard. I tried use add_hotkey and is_pressed, born not work after reconnect