Public bug reported:

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'

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.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

** 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
+    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)
-                         ^^^^^^^^^^^^^^^^^^^
+   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'
  
  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.
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 26.04
- Package: software-properties-qt 0.120
- ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
- Uname: Linux 7.0.0-15-generic x86_64
- ApportVersion: 2.34.0-0ubuntu2
- Architecture: amd64
- CasperMD5CheckResult: unknown
- CurrentDesktop: KDE
- Date: Mon May 25 17:12:02 2026
- InstallationDate: Installed on 2026-03-26 (60 days ago)
- InstallationMedia: Kubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
- PackageArchitecture: all
- SourcePackage: software-properties
- UpgradeStatus: Upgraded to resolute on 2026-05-22 (3 days ago)

-- 
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

Reply via email to