One of the imported libraries in your python code is trying to run a program called dumpkeys with the command line argument --keys-only.
The program is failing. Try running on the command line.
I tried dumpkeys on a Raspberry Pi 5 running Bookworm and get
Running with sudo works
Try running your python code as root using sudo
The program is failing. Try running
Code:
dumpkeys --keys-only
I tried dumpkeys on a Raspberry Pi 5 running Bookworm and get
Code:
% dumpkeys --keys-onlyCouldn't get a file descriptor referring to the console.
Code:
% sudo dumpkeys --keys-onlykeymaps 0-2,4-5,8,12keycode 1 = Escape Escape alt keycode 1 = Meta_Escape...
Statistics: Posted by AndyD — Wed May 15, 2024 9:36 pm