[Flight 7] installer crashed trying to select partition for mount point

Bug #45200 reported by Morgan Collett
150
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: ubiquity

I selected manual partitioning to create a separate partition for /home. I created hda1 for /, hda2 for future use, hda3 for /home and hda5 for swap.

On the next page to select the mount points, it defaulted correctly to / for hda1 and swap for hda5. In the third block I selected /home, but only hda1, hda2 and hda5 were listed in the drop down options - no hda3.

In the fourth entry I could see hda3 in the drop down, but when I selected it there the installer crashed with this error:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 586, in on_list_changed
    self.size_widgets[index].set_text(self.set_size_msg(self.partition_widgets[index]))
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 442, in set_size_msg
    size = float(self.size[self.part_devices[widget.get_active_text()].split('/')[2]])
KeyError: 'hda3'

Revision history for this message
Morgan Collett (morgan) wrote : /var/log/installer/syslog

Includes the traceback

Revision history for this message
Morgan Collett (morgan) wrote :

On a subsequent attempt, it picked up the partitions created in this attempt and worked correctly.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I can confirm similar thing happening with 2005-05-20 amd64 live-cd. I selected manual partinioning, did not do any changes and went to mount point selection page. I had 5 partitions automatically inserted, but changes the three last ones to have all blank rows. Then I changed the second row to point to an existing swap partition, selected swap use type and removed "format" selection. To the first row I selected /dev/sda6, selected "/" as the mount point and let the format selection be selected.

Clicking next I got a crash, but don't have traceback or syslog at the moment. I had an impression there was some mention about these "blank" rows. Anyway, I've also gotten similar crashes before when doing these partition selections and clicking next.

Changed in ubiquity:
status: Unconfirmed → Confirmed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote : Re: 20060520 - installer crashed trying to select partition for mount point

Okay, it was easy to reproduce. Attaching partman log and the traceback (as a picture).

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote : partman log after crash

A log after the crash.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote : traceback

traceback as a png

Revision history for this message
Colin Watson (cjwatson) wrote : Re: 20060520 live-cd installer crashed trying to select partition for mount point

Timo, if you get a different traceback, then it's a different bug and should not be attached to this one. Thank you.

Revision history for this message
Colin Watson (cjwatson) wrote :

That said, Timo, I see your problem and it'll be fixed in ubiquity 1.0.1.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Yes, sorry about that. Thanks for the fix, perhaps the original bug is also fixed but Morgan should check that. I'll change the bug subject back to original.

Revision history for this message
Colin Watson (cjwatson) wrote :

For what it's worth, you should be able to avoid this bug if you avoid going backwards and forwards between the advanced partitioning page and the mountpoint selection page.

Revision history for this message
Colin Watson (cjwatson) wrote :

Fix on its way to dapper-updates. I'll close this once it's accepted there and once I've also uploaded the fix to edgy.

ubiquity (1.0.14) dapper-updates; urgency=low

  * debian/rules install target depends on build (closes: Malone #54503).
  * Add 3% to the "Removing extra packages" stage of the installation
    progress bar, since in Ubuntu installations it often has a lot of
    language packs to remove.
  * Work around weirdness regarding some partitions going missing from
    part_labels/part_devices in frontends. The right fix is probably to
    update part_labels/part_devices with information from gparted/qtparted,
    but since that system is due to be replaced anyway it's probably not
    worth the effort (closes: Malone #45200).
  * Add/update .desktop file translations from Rosetta: Arabic, Belarusian,
    Bosnian, Czech, Spanish, Estonian, Frisian, Luxembourgish, Macedonian,
    Malay, Slovak, Swedish, Tajik, Ukrainian, Chinese (Taiwan).
  * Add/update translations from Rosetta: Arabic, Belarusian, Breton,
    Kashubian, Danish, Spanish, Hindi, Hungarian, Icelandic, Latvian, Malay,
    Serbian, Thai, Tagalog.

 -- Colin Watson <email address hidden> Tue, 1 Aug 2006 01:28:11 +0100

Revision history for this message
Colin Watson (cjwatson) wrote :

ubiquity (1.1.5) edgy; urgency=low

  * Add 3% to the "Removing extra packages" stage of the installation
    progress bar, since in Ubuntu installations it often has a lot of
    language packs to remove.
  * Work around weirdness regarding some partitions going missing from
    part_labels/part_devices in frontends. The right fix is probably to
    update part_labels/part_devices with information from gparted/qtparted,
    but since that system is due to be replaced anyway it's probably not
    worth the effort (closes: Malone #45200).
  * Suppress unnecessary translations of "${MESSAGE}".
  * Remove some cruft from the source package.
  * Make zoom-in.png global rather than distribution-specific.
  * Remove intltool-* on distclean; configure creates them.
  * Move liveinstaller.glade to a better place in the source package, and
    rename it to ubiquity.glade.
  * Update debian/copyright regarding the status of Ubiquity with respect to
    the original Guadalinex work.
  * Move glade/pixmaps/* to pixmaps/*; they can be used in non-GTK frontends
    too.
  * Remove netcloner script; if this is ever resurrected, it should probably
    be an init script or similar instead.
  * Move documentation to doc/ directory; remove obsolete TODO; note that
    the README is largely obsolete.
  * Stop installing README.es.
  * Remove cruft from ubiquity.settings.
  * Retranslate "Step N of M" immediately when the language is changed.
  * Tighten ubiquity's dependencies on frontend and artwork packages.
  * Don't build ubiquity-frontend-{gtk,kde}_*.deb if the respective
    UBIQUITY_NO_{GTK,KDE} is defined.
  * Check whether squashfs devices exist before trying to mount them.
  * Ship all the bits of localechooser we need, and drop our dependency on
    localechooser-data (closes: Malone #40364).

 -- Colin Watson <email address hidden> Thu, 3 Aug 2006 14:13:43 +0100

Changed in ubiquity:
assignee: nobody → kamion
status: Confirmed → Fix Released
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.