mouse-scroll-wheel-acceleration-userspace icon indicating copy to clipboard operation
mouse-scroll-wheel-acceleration-userspace copied to clipboard

ERROR: Unhandled exception in listener callback (from pynput/_util/xorg.py)

Open armandosano opened this issue 10 months ago • 2 comments
trafficstars

Hello, I am trying to run locally ./main.py -v --exp 0.4 --multiplier 1.2 after having installed the dependencies, and I am getting

ERROR: Unhandled exception in listener callback
Traceback (most recent call last):
  File "/home/<username>/.local/lib/python3.13/site-packages/pynput/_util/__init__.py", line 229, in inner
    return f(self, *args, **kwargs)
  File "/home/<username>/.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

(Debian 12, KDE Plasma 5.27.5, X11)

armandosano avatar Jan 12 '25 02:01 armandosano

This seems to be an issue in pynput? Can you report that here and link it to this issue as well?

albertz avatar Jan 12 '25 10:01 albertz

Maybe as a workaround, try to install some other pynput version. What version do you have installed currently?

albertz avatar Jan 12 '25 10:01 albertz