I've blocked moving to non-existent pages by trapping the exception and
returning. Anyone see a problem with this? Testing on a VM shows the
crash is averted.

In file /usr/lib/ubiquity/ubiquity/frontend/kde_ui.py:

1067       def on_next_clicked(self):
1068           """Callback to control the installation process between steps."""
1069           if not self.allowed_change_step or not self.allowed_go_forward:
1070               return
1071   
1072 +         # Ignore page where index does not exist.
1073 +         try:
1074 +             ui = self.pages[self.pagesindex].ui
1075 +         except IndexError:
1076 +             return
1077 - 
1074 -         ui = self.pages[self.pagesindex].ui
1078           self.allow_change_step(False)

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

Title:
  oem-config-kde crashes when buttons clicked

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


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to