Noninteractive mode crashes

Bug #539342 reported by Robert Ancell
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

Binary package hint: ubiquity

When run in noninteractive mode the following crash occurs:
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/ubiquity/bin/ubiquity", line 468, in <module>
     main(oem_config)
   File "/usr/lib/ubiquity/bin/ubiquity", line 453, in main
     install(args[0], query=options.query)
   File "/usr/lib/ubiquity/bin/ubiquity", line 239, in install
     wizard = ui.Wizard(distro)
   File "/usr/lib/ubiquity/ubiquity/frontend/noninteractive.py", line 63, in __init__
     mod.ui = mod.ui_class(mod.controller)
 TypeError: __init__() takes exactly 1 argument (2 given)

This is due to the change to the partman PageNoninteractive class constructor:
http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/revision/3888

Related branches

Changed in ubiquity (Ubuntu):
importance: Undecided → High
Revision history for this message
Michael Terry (mterry) wrote :

I independently fixed this: I chose to fix the underlying PageBase class and made the PageKde class call its constructor too. That patch is in lp:~mterry/ubiquity/fix-partman-noninter-crash.

Revision history for this message
Colin Watson (cjwatson) wrote :

I fixed this independently (and differently, I think more robustly) before noticing your bug report. Thanks anyway!

Michael Terry (mterry)
tags: added: oem-services
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
status: New → Fix Committed
assignee: nobody → Colin Watson (cjwatson)
tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.2.1

---------------
ubiquity (2.2.1) lucid; urgency=low

  * KDE frontend:
    - Honour ubiquity/show_alpha_warning.
  * Noninteractive frontend:
    - Fix up plugin problems in the partman component (LP: #539342).
  * Only fall through to the noninteractive frontend in automatic mode.
 -- Colin Watson <email address hidden> Tue, 16 Mar 2010 14:07:33 +0000

Changed in ubiquity (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.