Freeze exception: display an error dialog when "Install Ubuntu" crashes.

Bug #558371 reported by Evan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

Please provide a freeze exception for this patch. The new code path is only traversed on ubiquity failure and it prevents Wubi users from getting confused and doing something damaging to their disk.

http://launchpadlibrarian.net/43428818/558371.patch

Thanks!

Tags: iso-testing

Related branches

Revision history for this message
Evan (ev) wrote :
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.2.16

---------------
ubiquity (2.2.16) lucid; urgency=low

  [ Evan Dandrea ]
  * Only show the update link and release notes when a critical update
    is available (LP: #554570).
  * Fix backing up to the language page in the KDE frontend (LP: #557225).
  * Bring back the debconf translation for password_extra_label. The
    KDE frontend still uses it (LP: #557192).
  * Fix a small typo that was preventing the duration string on the
    language page from being translated (LP: #551633).
  * Fix backing up past partitioning when manual partitioning was
    selected (LP: #557210).
  * Let the user know why we're starting a desktop session or rebooting
    when ubiquity in only mode crashes. If in automatic mode, the
    default is to reboot. Preseed ubiquity/reboot_on_failure to false
    to start a desktop session instead (LP: #558371).
  * Make oem-config/install-language-support false by default. OEMs
    should only be turning this on if they've provided all the possible
    langpacks in oem-config/repository or can guarantee an Internet
    connection (LP: #539710).
  * Call ubiquity/failure_command if we crash in only ubiquity mode.

  [ Amichai Rothman ]
  * Fix KDE frontend's slideshow links not working (LP: #540278)
  * Fix KDE progress bar and skip button too small (LP: #555707)
  * Fix KDE skip button appearing as full-width button at the
    bottom of the window and messing up dialog layout (LP: #540321)
  * Fix progress bar updated file count out of range (LP: #550147)
  * Fix progress title not shown during some configuration steps

  [ Colin Watson ]
  * Update handling of "Ready to install" etc. templates to account for the
    removal of the separate welcome page.
  * KDE frontend:
    - Hide install_process_label ("installation process") and
      breadcrumb_install ("Install") when running as oem-config; providing
      alternative strings would break string freeze, and the UI should look
      OK without them (LP: #540929).
  * GTK frontend:
    - Re-fetch translations before calling plugin_translate (LP: #552673).
  * Update translations from Launchpad.
  * Automatic update of included source packages: partman-auto 89ubuntu5,
    tzsetup 1:0.26ubuntu7.
 -- Colin Watson <email address hidden> Fri, 09 Apr 2010 19:29:50 +0100

Changed in ubiquity (Ubuntu):
status: New → Fix Released
tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.