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

Bug #570681 reported by Ante Karamatić on 2010-04-27
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-kickstart (Ubuntu)
High
Colin Watson
Lucid
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

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

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!

Jean-Luc D. (jl-derrien) wrote :

Ok, it works for me.

Thanks for fixing it.

Martin Pitt (pitti) on 2010-04-29
tags: added: verification-done
removed: verification-needed
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
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
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  Edit
Everyone can see this information.

Other bug subscribers