-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
bug: exceptionA Python exception gets thrown.A Python exception gets thrown.component: keyinputIssues related to processing keypresses.Issues related to processing keypresses.priority: 0 - highIssues which are currently the primary focus.Issues which are currently the primary focus.qt: 6Issues related to Qt 6.Issues related to Qt 6.
Description
Using master branch on Debian Sid with qt6.
Python 3.11.4-1 packages landed (in unstable) and broke qutebrowser.
Same with 3.11.3-2 (was in experimental only).
3.11.2-6 is good.
Traceback (most recent call last):
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/eventfilter.py", line 104, in eventFilter
return handler(cast(QKeyEvent, event))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/eventfilter.py", line 74, in _handle_key_event
return man.handle_event(event)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/modeman.py", line 471, in handle_event
return handler(cast(QKeyEvent, event))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/modeman.py", line 292, in _handle_keypress
match = parser.handle(event, dry_run=dry_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/modeparsers.py", line 115, in handle
match = super().handle(e, dry_run=dry_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/basekeyparser.py", line 295, in handle
self._debug_log(f"Got key: {info!r} (dry_run {dry_run})")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/keyutils.py", line 371, in __repr__
text=str(self),
^^^^^^^^^
File "/home/ander/Desktop/qutebrowser/qutebrowser/keyinput/keyutils.py", line 422, in __str__
modifiers &= ~_MODIFIER_MAP[self.key] # type: ignore[assignment]
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/enum.py", line 1542, in __invert__
self._inverted_ = self.__class__(self._flag_mask_ ^ self._value_)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/enum.py", line 711, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/enum.py", line 1136, in __new__
raise exc
File "/usr/lib/python3.11/enum.py", line 1113, in __new__
result = cls._missing_(value)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/enum.py", line 1454, in _missing_
raise ValueError('%r: no members with value %r' % (cls, unknown))
ValueError: <flag 'KeyboardModifier'>: no members with value 2147483648
Fatal Python error: Segmentation fault
Current thread 0x00007f66d9330040 (most recent call first):
File "/home/ander/Desktop/qutebrowser/qutebrowser/app.py", line 140 in qt_mainloop
File "/home/ander/Desktop/qutebrowser/qutebrowser/app.py", line 130 in run
File "/home/ander/Desktop/qutebrowser/qutebrowser/qutebrowser.py", line 245 in main
File "/home/ander/Desktop/qutebrowser/.venv/bin/qutebrowser", line 33 in <module>
Extension modules: PyQt6.QtCore, PyQt6.QtGui, PyQt6.QtWidgets, markupsafe._speedups, yaml._yaml, PyQt6.QtNetwork, PyQt6.QtQml, PyQt6.QtOpenGL, PyQt6.QtDBus, PyQt6.QtWebChannel, PyQt6.QtWebEngineCore, PyQt6.QtPrintSupport, PyQt6.QtWebEngineWidgets, PyQt6.QtSql (total: 14)
Segmentation fault
Metadata
Metadata
Assignees
Labels
bug: exceptionA Python exception gets thrown.A Python exception gets thrown.component: keyinputIssues related to processing keypresses.Issues related to processing keypresses.priority: 0 - highIssues which are currently the primary focus.Issues which are currently the primary focus.qt: 6Issues related to Qt 6.Issues related to Qt 6.