[Bug 885842] Re: KeyError: 'method_choices' when configuring btrfs partitions

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Mon Nov 7 08:50:33 UTC 2011


*** This bug is a duplicate of bug 885654 ***
    https://bugs.launchpad.net/bugs/885654

** This bug has been marked a duplicate of bug 885654
   ubiquity crashed with KeyError in partman_edit_dialog(): 'method_choices'

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/885842

Title:
  KeyError: 'method_choices' when configuring btrfs partitions

Status in “ubiquity” package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/885842/+subscriptions




More information about the foundations-bugs mailing list