kickstart can't save file cause user can not select keyboard layout

Bug #570681 reported by Ante Karamatić
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-kickstart (Ubuntu)
Fix Released
High
Colin Watson
Lucid
Fix Released
High
Colin Watson

Bug Description

Binary package hint: system-config-kickstart

It is not possible to select keyboard layout. Cause of that, kickstart dies when 'Save file' is clicked:

Traceback (most recent call last):
  File "/usr/share/system-config-kickstart/kickstartGui.py", line 296, in on_activate_save_options
    list = self.kickstartData.getAll()
  File "/usr/share/system-config-kickstart/kickstartData.py", line 395, in getAll
    file.append("keyboard " + self.getKeyboard())
TypeError: cannot concatenate 'str' and 'NoneType' objects

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

Looks like this was broken by adding translation support to console-setup.

tags: added: regression-potential
Changed in system-config-kickstart (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Colin Watson (cjwatson)
importance: Medium → High
Changed in system-config-kickstart (Ubuntu Lucid):
milestone: none → lucid-updates
Revision history for this message
Colin Watson (cjwatson) wrote :

I've uploaded a fix suitable for a zero-day SRU, tested locally.

Changed in system-config-kickstart (Ubuntu Lucid):
status: Triaged → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

/usr/share/console-setup/kbdnames-maker doesn't output anything for me, I guess it only works on systems which have been installed in a particular way?

tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted system-config-kickstart into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Jean-Luc D. (jderrien) wrote :

Ok, it works for me.

Thanks for fixing it.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-kickstart - 2.5.20-0ubuntu21

---------------
system-config-kickstart (2.5.20-0ubuntu21) lucid-proposed; urgency=low

  * The output of /usr/share/console-setup/kbdnames-maker changed with
    internationalisation support in console-setup. Deal with this
    (LP: #570681).
 -- Colin Watson <email address hidden> Tue, 27 Apr 2010 15:08:07 +0100

Changed in system-config-kickstart (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied lucid-proposed to maverick.

Changed in system-config-kickstart (Ubuntu):
status: Fix Committed → Fix Released
Changed in system-config-kickstart (Ubuntu Lucid):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-kickstart - 2.5.20-0ubuntu21

---------------
system-config-kickstart (2.5.20-0ubuntu21) lucid-proposed; urgency=low

  * The output of /usr/share/console-setup/kbdnames-maker changed with
    internationalisation support in console-setup. Deal with this
    (LP: #570681).
 -- Colin Watson <email address hidden> Tue, 27 Apr 2010 15:08:07 +0100

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

Other bug subscribers

Remote bug watches

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