[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 21:21:44 UTC 2012


Hello Stéphane,

Stéphane Graber [2012-03-14 20:09 -0000]:
> Are you planning on fixing that one this week 

Yes, I'm working on the "empty strings in GValue arrays" bug right
now, and I'm close to a solution. Once that's fixed, I'll continue
working on the "atomic list store append" patch, which is blocked by
the former.

> should I revert my ubiquity change so we still have a working manual
> partitioner when started from the live session? (it's currently in
> ubiquity's trunk but not release)

I still recommend just getting along with None values. There will be
another signal shortly after with the actual values.

But it now seems to me that making .append() atomic (in terms of sent
signals) is realistic after all, working on it as fast as I can.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

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

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