Comment 0 for bug 558371

Revision history for this message
Evan (ev) wrote :

Binary package hint: ubiquity

Right now when ubiquity crashes in "Install Ubuntu" mode, we simply start a desktop session. While an apport notification will be available in the ensuing session, this is still a confusing course of events. If automatic mode is used, such as it is in Wubi, then dropping to the live CD desktop is entirely the wrong thing to do. In this case, if the user were to run ubiquity from the live CD session they would be installing to a partition, entirely what they were avoiding by using Wubi.

The following patch adds a translatable error dialog that is shown if ubiquity exits non-zero (as it does when an exception is raised). If in automatic mode and ubiquity/reboot_on_failure is preseeded true (it is by default), then the system is rebooted following the dialog, otherwise the desktop session is started as it was prior to this change.