partitioner fails if partially preseeded due to seen flag madness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson | ||
Intrepid |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
Binary package hint: ubiquity
This bug was reported by gandalf-le-vert on IRC; I analysed it and am submitting this bug on his behalf.
If you're running ubiquity in automatic mode but have not preseeded any partitioning questions, then the partitioner fails as follows:
Jan 11 14:51:57 ubuntu ubiquity[8135]: Exception in GTK frontend (invoking crash handler):
Jan 11 14:51:57 ubuntu ubiquity[8135]: Traceback (most recent call last):
Jan 11 14:51:57 ubuntu ubiquity[8135]: File "/usr/lib/
Jan 11 14:51:57 ubuntu ubiquity[8135]: return callback(source, debconf_condition)
Jan 11 14:51:57 ubuntu ubiquity[8135]: File "/usr/lib/
Jan 11 14:51:57 ubuntu ubiquity[8135]: if not self.process_
Jan 11 14:51:57 ubuntu ubiquity[8135]: File "/usr/lib/
Jan 11 14:51:57 ubuntu ubiquity[8135]: return self.dbfilter.
Jan 11 14:51:57 ubuntu ubiquity[8135]: File "/usr/lib/
Jan 11 14:51:57 ubuntu ubiquity[8135]: if not input_widgets[
Jan 11 14:51:57 ubuntu ubiquity[8135]: File "/usr/lib/
Jan 11 14:51:57 ubuntu ubiquity[8135]: assert self.extra_choice is not None
Jan 11 14:51:57 ubuntu ubiquity[8135]: AssertionError
This is because partman-
Either ubiquity's partman integration needs to work around this by doing something with the seen flag of that particular question (and won't partman-
Changed in ubiquity: | |
milestone: | none → ubuntu-8.10-beta |
Changed in ubiquity: | |
assignee: | evand → kamion |
status: | In Progress → Fix Committed |
Adam,
The following patch will fix the bug using the first approach that Colin mentioned. If you're limited on time, I suggest using that.
I'm looking at how to solve this correctly, but it will require more time for me to figure out how to define whether or not a question is going to be shown to the user without manually specifying the set of questions that will be ahead of time or assuming only questions handled in ok_handler should be marked as seen, which fails for partman.
Thanks for bringing this to our attention.