Bug#1050690: mate-menu: AttributeError in keybinding.py
Package: mate-menu
Version: 22.04.2-1
Severity: normal
I’m observing the following messages in the logs:
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Xlib/protocol/rq.py", line 1293, in __getattr__
return self._data[attr]
~~~~~~~~~~^^^^^^
KeyError: 'state'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3/dist-packages/mate_menu/keybinding.py", line 165, in run
modifiers = event.state & self.known_modifiers_mask
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/Xlib/protocol/rq.py", line 1297, in __getattr__
raise AttributeError(attr)
AttributeError: state
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (10, 'unstable'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mate-menu depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-4
ii gir1.2-gtk-3.0 3.24.38-2
ii gir1.2-matedesktop-2.0 1.26.1-1
ii gir1.2-matemenu-2.0 1.26.0-3
ii gir1.2-matepanelapplet-4.0 1.27.1-2
ii libglib2.0-bin 2.77.2-1
ii mozo 1.26.2-1
ii python3 3.11.4-5+b1
ii python3-configobj 5.0.8-2
ii python3-gi-cairo 3.44.1-2
ii python3-pkg-resources 68.0.0-2
ii python3-setproctitle 1.3.2-1
ii python3-xdg 0.28-2
ii python3-xlib 0.33-2
ii xdg-utils 1.1.3-4.1
mate-menu recommends no packages.
Versions of packages mate-menu suggests:
pn software-center <none>
ii synaptic 0.91.3
-- no debconf information
Reply to: