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

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Thu Feb 23 12:01:32 UTC 2012


Public bug reported:

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

** Affects: ubiquity (Ubuntu)
     Importance: High
     Assignee: Canonical Foundations Team (canonical-foundations)
         Status: New

** Affects: ubiquity (Ubuntu Precise)
     Importance: High
     Assignee: Canonical Foundations Team (canonical-foundations)
         Status: New


** Tags: precise qa-manual-testing rls-mgr-p-tracking ubi-partman

** Changed in: ubiquity (Ubuntu)
   Importance: Undecided => High

** Changed in: ubiquity (Ubuntu)
     Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations)

** Also affects: ubiquity (Ubuntu Precise)
   Importance: High
     Assignee: Canonical Foundations Team (canonical-foundations)
       Status: New

** Description changed:

  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
- 
+  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

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

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/ubuntu/+source/ubiquity/+bug/939450/+subscriptions




More information about the foundations-bugs mailing list