https://bugs.kde.org/show_bug.cgi?id=528181
Bug ID: 528181
Summary: PySide6 ImportError: libshiboken: could not import
module 'PySide6.QtGui' after runtime update
(Regression)
Classification: Developer tools
Product: Qt/KDE Flatpak Runtime
Version First unspecified
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi, experienced an error with the newest org.kde.Platform branch 6.11 update
(flatpak/flathub):
An ImportError in PySide6/Shiboken breaks Python-based applications utilizing
the KDE Flatpak runtime. Specifically, `torbrowser-launcher` crashes
immediately on startup because it fails to import `PySide6.QtGui`.
Steps to reproduce:
1. Update `org.kde.Platform` (branch 6.11) to the latest state.
2. Launch an app relying on PySide6 (e.g., `flatpak run
org.torproject.torbrowser-launcher`).
Actual result:
The application terminates with the following traceback:
Traceback (most recent call last):
File "/app/bin/torbrowser-launcher", line 30, in <module>
import torbrowser_launcher
File "/app/lib/python3.13/site-packages/torbrowser_launcher/__init__.py",
line 35, in <module>
from PySide6 import QtWidgets
ImportError: libshiboken: could not import module 'PySide6.QtGui'
Expected result:
The runtime provides a working PySide6 environment, and the application opens
its GUI normally.
Regression Details:
The issue was introduced in the runtime build from October 31, 2026.
Downgrading to the previous commit completely fixes (workaround) the problem.
- Working Commit (2026-10-24):
76fa01ac42ecf45d2c5020ef80de1c474c0c2ae86a51a79e8fec44c48f9dc473
- Broken Commit (2026-10-31):
fb23e178d082b117df7924f9a84710992ec233ebc007385feb85d349c4c81415
Environment:
- OS: openSUSE Tumbleweed
- DE: KDE Plasma 6
- Runtime: org.kde.Platform // branch 6.11
--
You are receiving this mail because:
You are watching all bug changes.