KeyError: 'method_choices' when configuring btrfs partitions

Bug #885842 reported by Blair Zajac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

Doing a fresh kubuntu precise install with the following setup:

VirtualBox 4.0.14
/dev/sda 32 GB
  /dev/sda1 384 MB btrfs
  /dev/sda2 2 GB swap
  /dev/sda3 max btrfs
/dev/sdb 32 GB
  /dev/sda1 384 MB btrfs
  /dev/sda2 2 GB swap
  /dev/sda3 max btrfs

I would jump into a shell, run fdisk and then create the partitions then format them:

mkfs.btrfs -d raid1 -m raid1 /dev/sda1 /dev/sdb1
mkfs.btrfs -d raid1 -m raid1 /dev/sda3 /dev/sdb3

Then launching the installer and trying to configure the installer to use /dev/sda1 for /boot and /dev/sda3 for / gets the following error. I leave /dev/sdb* alone but btrfs will mirror the data there.

Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/frontend/kde_components/PartMan.py", line 429, in on_edit_clicked
    self.partman_edit_dialog(devpart, partition)
  File "/usr/lib/ubiquity/ubiquity/frontend/kde_components/PartMan.py", line 271, in partman_edit_dialog
    for script, arg, option in partition['method_choices']:
KeyError: 'method_choices'

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.9.2
ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
Uname: Linux 3.1.0-2-generic x86_64
ApportVersion: 1.25-0ubuntu1
Architecture: amd64
CasperVersion: 1.288
Date: Thu Nov 3 19:12:09 2011
LiveMediaBuild: Kubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111103)
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Blair Zajac (blair) wrote :
Revision history for this message
Blair Zajac (blair) wrote :

I get a similar error trying to do a normal Ubuntu install from the live desktop ISO.

Revision history for this message
Robert Roth (evfool) wrote :

This might have something to do with bug #885654, as the cause of both is method_choices KeyError, only one is in the GTK Frontend, and the other one in the KDE one, so it's a problem in the backend.

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.