[Bug 939450] Re: ubiquity crashed with TypeError: argument of type 'NoneType' is not iterable in ubi-partman.py

Launchpad Bug Tracker 939450 at bugs.launchpad.net
Thu Mar 15 22:20:15 UTC 2012


This bug was fixed in the package ubiquity - 2.9.29

---------------
ubiquity (2.9.29) precise; urgency=low

  [ Oliver Grawert ]
  * disable gnome-settings-daemon power management plugin during install to
    make sure things like lid closing or accidential pressing of power or
    suspend buttons do not put us into suspend mode (LP: #948163)

  [ Stéphane Graber ]
  * ubi-partman: Ignore None cell values, we'll get another event
    when they actually contain something anyway. (LP: #939450)
  * Fix set_indicator_keymaps to always send an array of strings to
    gsettings and also go through more of the possible language codes as
    Xkl doesn't seem to always work with part2_code (LP: #955844)
  * Restrict the list of keyboard layouts added to the indicator to 4
    and try to be clever as to which one to select.
  * Only use the keyboard indicator when in greeter mode, otherwise it'd
    override any previously selected keyboard layout (from gfxboot or from
    the user session)
  * Update indicator tests to match the new code, ensuring we don't have
    more than 4 entries and that languages with variants work fine.
  * Automatic update of included source packages: console-setup
    1.70ubuntu3, partman-auto 93ubuntu22, partman-efi 24ubuntu3.
 -- Stephane Graber <stgraber at ubuntu.com>   Thu, 15 Mar 2012 18:12:41 -0400

** Changed in: ubiquity (Ubuntu Precise)
       Status: Fix Committed => Fix Released

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

Title:
  ubiquity crashed with TypeError: argument of type 'NoneType' is not
  iterable in ubi-partman.py

Status in Python bindings for GObject:
  Confirmed
Status in “pygobject” package in Ubuntu:
  In Progress
Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “pygobject” source package in Precise:
  In Progress
Status in “ubiquity” source package in Precise:
  Fix Released

Bug description:
  TEST CASE
  1. Boot from a Live CD
  2. At ubiquity-dm select 'Install Ubuntu'
  3. Proceed to partman and select 'Something else' (manual partitioning)

  ACTUAL RESULT
  The partition list is empty and ubiquity crash with:

   Traceback (most recent call last):
     File "/usr/lib/ubiquity/plugins/ubi-partman.py", line 593, in partman_column_name
       if 'id' not in partition:
   TypeError: argument of type 'NoneType' is not iterable

  EXPECTED RESULT
  The partition list is displayed.

  Tested with ubiquity 2.9.20

To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/939450/+subscriptions




More information about the foundations-bugs mailing list