** Description changed: Title: software-properties-qt crashes on launch with AttributeError: Qt.PartiallyChecked on Kubuntu 26.04 Description: Every time I launch software-properties-qt on Kubuntu 26.04, it immediately crashes. Steps to reproduce: 1. Open terminal 2. Run: software-properties-qt Expected result: The Software Sources window opens normally. Actual result: The application crashes immediately with: Traceback (most recent call last): File "/usr/bin/software-properties-qt", line 130, in <module> app = SoftwarePropertiesQt(datadir=data_dir, options=options, file=afile, attachWinID=attachWinID) File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 164, in __init__ self.show_distro() ~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 376, in show_distro child.setCheckState(Qt.PartiallyChecked) ^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'Qt' has no attribute 'PartiallyChecked' + And trying to run it through pkexec reveals that the history repeats + itself again and again as it seems to be a time problem that keeps + happening on most new releases. + + andygl@hp15s:~$ pkexec software-properties-qt + qt.qpa.xcb: could not connect to display + qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. + qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. + This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. + + Available platform plugins are: eglfs, minimalegl, wayland-brcm, + wayland-egl, wayland, vnc, minimal, linuxfb, vkkhrdisplay, xcb, + offscreen. + + Aborted (core dumped) pkexec software-properties-qt + andygl@hp15s:~$ + + + System: * Kubuntu 26.04 * Happens every launch * Installed via normal system packages Additional information: Possibly related to a Qt/PyQt API change where Qt.PartiallyChecked may now live under Qt.CheckState.PartiallyChecked. Package: software-properties-qt 0.120 ApportVersion: 2.34.0-0ubuntu2 Arch: amd64 OS: Kubuntu 25.10 "Questing Quokka" - Release amd64 (20251007) Upgrade status: Upgraded to resolute on 2026-05-22 (3 days ago) Uname: Linux 7.0.0-15-generic x86_64
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154196 Title: Software properties qt wont launch because of syntax errors in its code - Kubuntu 26.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2154196/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
