[Bug 885654] Re: ubiquity crashed with KeyError in partman_edit_dialog(): 'method_choices'

Colin Watson cjwatson at canonical.com
Fri Nov 25 17:40:15 UTC 2011


I found this in my syslog:

  Nov 25 16:47:48 ubuntu ubiquity:
/lib/partman/choose_partition/60partition_tree/do_option: 77: local: not
in a function

But this code hasn't changed for some time.  However, here's a dash
change between oneiric and precise:

2010-05-24  Herbert Xu <herbert at gondor.apana.org.au>

       * Add localvars nesting, local now fails outside functions.

So I think the shell has become stricter here.  It's entirely entitled
to reject this construct; I'll fix it in the installer.

** Package changed: ubiquity (Ubuntu Precise) => partman-base (Ubuntu
Precise)

-- 
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/885654

Title:
  ubiquity crashed with KeyError in partman_edit_dialog():
  'method_choices'

Status in “partman-base” package in Ubuntu:
  Triaged
Status in “partman-base” source package in Precise:
  Triaged

Bug description:
  Trying to install Ubuntu 12.04 64bit by manually setting up the
  partitions and would not allow me to do that. Will try with 32bit
  next.

  
  WORKAROUND

  change #! /bin/sh to #! /bin/bash in
  /lib/partman/choose_partition/60partition_tree/do_option

  ProblemType: Crash
  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.24-0ubuntu1
  Architecture: amd64
  CasperVersion: 1.288
  Date: Thu Nov  3 12:47:00 2011
  ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
  InterpreterPath: /usr/bin/python2.7
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111102)
  ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity gtk_ui
  ProcEnviron: Error: [Errno 13] Permission denied: '/proc/5373/environ'
  PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', 'gtk_ui']
  SourcePackage: ubiquity
  Title: ubiquity crashed with KeyError in partman_edit_dialog(): 'method_choices'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-base/+bug/885654/+subscriptions




More information about the foundations-bugs mailing list