[Bug 2106272] [NEW] KDE frontend raises exception on keypress event

Nick Rosbrook 2106272 at bugs.launchpad.net
Fri Apr 4 20:48:09 UTC 2025


Public bug reported:

During an upgrade to plucky with the KDE frontend, I pressed a key, and
the following exception was raised:

Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-_beynzct/DistUpgrade/DistUpgradeViewKDE.py", line 202, in keyPressEvent
    if ev.key() == Qt.Key_Backspace:
                   ^^^^^^^^^^^^^^^^
AttributeError: type object 'Qt' has no attribute 'Key_Backspace'

This is a trivial fix.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: High
     Assignee: Nick Rosbrook (enr0n)
         Status: In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2106272

Title:
  KDE frontend raises exception on keypress event

Status in ubuntu-release-upgrader package in Ubuntu:
  In Progress

Bug description:
  During an upgrade to plucky with the KDE frontend, I pressed a key,
  and the following exception was raised:

  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-_beynzct/DistUpgrade/DistUpgradeViewKDE.py", line 202, in keyPressEvent
      if ev.key() == Qt.Key_Backspace:
                     ^^^^^^^^^^^^^^^^
  AttributeError: type object 'Qt' has no attribute 'Key_Backspace'

  This is a trivial fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2106272/+subscriptions




More information about the foundations-bugs mailing list