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)
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): change_ step or not self.allowed_ go_forward: self.pagesindex ].ui self.pagesindex ].ui change_ step(False)
1068 """Callback to control the installation process between steps."""
1069 if not self.allowed_
1070 return
1071
1072 + # Ignore page where index does not exist.
1073 + try:
1074 + ui = self.pages[
1075 + except IndexError:
1076 + return
1077 -
1074 - ui = self.pages[
1078 self.allow_