[Bug 1990196] Re: oem-config-kde crashes when buttons clicked

Michael Mikowski 1990196 at bugs.launchpad.net
Tue Apr 25 06:32:35 UTC 2023


Test steps taken:

1. Patched kde_ui.py. See patch kde_ui.py.diff.
2. Created two VMs, installed in OEM mode and then prepared-for-shipping and ran through user install on each. Used the same login names each time, and after sign-in, immediately prepared file system audits. See kde_ui.vm-file-audity.diff.

Results: Patched version no longer showed back or next buttons during
user setup (good!). All fs diffs look trivial except
/boot/initrd.img-5.19.0-32-generic is 543 bytes smaller in the patched
system. This is likely normal variation.

Next steps:

Remove exception trap in on_next_clicked function to avoid potential
side effects and test again. 2 attachments to follow.

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

Title:
  oem-config-kde crashes when buttons clicked

Status in ubiquity package in Ubuntu:
  In Progress
Status in ubiquity source package in Jammy:
  Confirmed
Status in ubiquity source package in Kinetic:
  Confirmed
Status in ubiquity source package in Lunar:
  In Progress

Bug description:
  During oem-config-kde mode, after user information has been entered,
  oem-config-kde keeps the "Back" and "Continue" buttons when these
  shouldn't appear at this stage. If these are clicked, the installer
  will crash, this is 100% reproducible:

  Traceback (most recent call last):
   File" /usr/lib/ubiquity/ubiquity/frontend/kde_ui.py", line 1073, in on_next_clicked
    ui = self.pages[self.pagesindex].ui
  IndexError:list index out of range

  This is very bad from a user experience point of view as this can make
  the system unrecoverable without a complete reinstall, depending on
  where in the process the installer was when the user clicked on either
  of these buttons.

  This problem exists in both Jammy and Kinetic. See attached
  screenshots and pictures.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1990196/+subscriptions




More information about the foundations-bugs mailing list