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

Martin Pitt martin.pitt at ubuntu.com
Wed Mar 14 11:30:52 UTC 2012


I had a closer look at the overrides in pygobject, and it's quite some
effort to rewrite them using the atomic API. I can't guarantee that I'll
have them ready this week. So you could either use
Gtk.ListStore.insert_with_valuesv() yourself instead of using the
override API, or make the signal handlers cope with None rows.

** No longer affects: gtk+3.0 (Ubuntu)

** No longer affects: gtk+3.0 (Ubuntu Precise)

** Also affects: ubiquity (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubiquity (Ubuntu Precise)
    Milestone: None => ubuntu-12.04-beta-2

** Changed in: ubiquity (Ubuntu Precise)
       Status: New => Triaged

** Changed in: ubiquity (Ubuntu Precise)
     Assignee: (unassigned) => Stéphane Graber (stgraber)

-- 
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:
  New
Status in “pygobject” package in Ubuntu:
  Triaged
Status in “ubiquity” package in Ubuntu:
  Triaged
Status in “pygobject” source package in Precise:
  Triaged
Status in “ubiquity” source package in Precise:
  Triaged

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