#1050690 mate-menu: AttributeError in keybinding.py

#1050690#5
Date:
2023-08-28 09:14:14 UTC
From:
To:
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