BDadmehr0/terminate

pynput not support xorg

Aperta

#8 aperta il 20 feb 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Python (0 fork)auto 404
bugdocumentationgood first issue

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

change pynput to evdev

Unhandled exception in listener callback
Traceback (most recent call last):
  File "/home/dadmehr/.local/lib/python3.13/site-packages/pynput/_util/__init__.py", line 228, in inner
    return f(self, *args, **kwargs)
  File "/home/dadmehr/.local/lib/python3.13/site-packages/pynput/_util/xorg.py", line 470, in _handler
    self._handle(self._display_stop, event)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '_thread._ThreadHandle' object is not callable

Guida contributor