gvalkov / python-evdev

Python bindings for the Linux input subsystem
https://python-evdev.rtfd.org/
BSD 3-Clause "New" or "Revised" License
334 stars 112 forks source link

Exception ignored in: <function InputDevice.__del__ at 0xb6157b28> #151

Open chappers73 opened 3 years ago

chappers73 commented 3 years ago

Hi, I am trying to get this working on a Raspberry Pi 4, just installed all the packages suggested and it works but I keep getting this error. evdev_Error scanner.zip

I have tried this with Python3.7 and 2.7 with different errors (see pic), what am I doing wrong? Thanks. Attached the Python file I am trying (copied from internet somewhere) but even trying your examples examples It generates the same error.

Lay3r8 commented 3 years ago

Not sure if this repo is dead or not but I have the exact same issue on Raspbian 10 + Python 3.7

luizoti commented 3 years ago

Not sure if this repo is dead or not but I have the exact same issue on Raspbian 10 + Python 3.7

Try my fork, I removed the del method, which reminds me to solve this problem.

Lay3r8 commented 3 years ago

Not sure if this repo is dead or not but I have the exact same issue on Raspbian 10 + Python 3.7

Try my fork, I removed the del method, which reminds me to solve this problem.

Thanks, I have switched on another library to finish the project I was working on but if I ever use python-evdev again I will surely give it a try :)