Installing in non-English breaks the keyboard setup page

Bug #540275 reported by Jonathan Riddell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

Installing Kubuntu from today's beta candidate images with French set at boot time, Ubiquity gives an error dialogue on the keyboard page. This causes a further error at the end of the install during configuration which means the install fails.

Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 134, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 281, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 441, in run
    self.ui.set_keyboard_variant(self.db.get(question))
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 342, in set_keyboard_variant
    var = variantMap[unicode(variant)]
KeyError: u'France - Autre'

ProblemType: Bug
Architecture: amd64
Date: Wed Mar 17 15:15:24 2010
DistroRelease: Ubuntu 10.04
LiveMediaBuild: Kubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100317)
Package: ubiquity 2.2.3
ProcEnviron:
 LANGUAGE=
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: ubiquity
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Jonathan Riddell (jr) wrote :
Changed in ubiquity (Ubuntu):
milestone: none → ubuntu-10.04-beta-2
milestone: ubuntu-10.04-beta-2 → ubuntu-10.04-beta-1
Revision history for this message
Jonathan Riddell (jr) wrote :

Using German I get this different but related looking traceback

Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 134, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 281, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 435, in run
    self.ui.set_keyboard(self.db.get(question))
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 315, in set_keyboard
    ly = keyboard_names.lang[l]['layouts'][unicode(layout)]
KeyError: u'Deutschland'

Revision history for this message
Jonathan Riddell (jr) wrote :

Debugging reveals, this in the layout list, so something is being translated which shouldn't be

keyboard_names.lang[l]['layouts'] {u'Brazil': 'br', u'Afghanistan': 'af', u'Maldives': 'mv', u'Italy': 'it', u'Bangladesh': 'bd', u'Bhutan': 'bt', u'Faroe Islands': 'fo', u'Guinea': 'gn', u'Korea, Republic of': 'kr', u'Congo, Democratic Republic of the': 'cd', u'Cambodia': 'kh', u'France': 'fr', u'Andorra': 'ad', u'Ethiopia': 'et', u'Georgia': 'ge', u'Slovakia': 'sk', u'Ireland': 'ie', u'Laos': 'la', u'Nigeria': 'ng', u'Norway': 'no', u'Thailand': 'th', u'Lithuania': 'lt', u'Turkmenistan': 'tm', u'Ghana': 'gh', u'Uzbekistan': 'uz', u'Israel': 'il', u'Belarus': 'by', u'Iran': 'ir', u'USA': 'us', u'Iceland': 'is', u'Czechia': 'cz', u'Senegal': 'sn', u'Russia': 'ru', u'Slovenia': 'si', u'China': 'cn', u'Bosnia and Herzegovina': 'ba', u'Armenia': 'am', u'Belgium': 'be', u'Germany': 'de', u'Iraq': 'iq', u'Kazakhstan': 'kz', u'Serbia': 'rs', u'Mongolia': 'mn', u'Ukraine': 'ua', u'Portugal': 'pt', u'Kyrgyzstan': 'kg', u'Canada': 'ca', u'Netherlands': 'nl', u'Maori': 'mao', u'Braille': 'brai', u'Denmark': 'dk', u'Poland': 'pl', u'Finland': 'fi', u'Montenegro': 'me', u'Macedonia': 'mk', u'Turkey': 'tr', u'Morocco': 'ma', u'Sweden': 'se', u'Japan (PC-98xx Series)': 'nec_vndr/jp', u'Croatia': 'hr', u'Malta': 'mt', u'Japan': 'jp', u'Switzerland': 'ch', u'Syria': 'sy', u'Nepal': 'np', u'Esperanto': 'epo', u'Bulgaria': 'bg', u'Pakistan': 'pk', u'Romania': 'ro', u'Albania': 'al', u'Myanmar': 'mm', u'Estonia': 'ee', u'South Africa': 'za', u'India': 'in', u'Azerbaijan': 'az', u'United Kingdom': 'gb', u'Latin American': 'latam', u'Latvia': 'lv', u'Spain': 'es', u'Greece': 'gr', u'Sri Lanka': 'lk', u'Hungary': 'hu', u'Arabic': 'ara', u'Tajikistan': 'tj', u'Vietnam': 'vn'}

Jonathan Riddell (jr)
summary: - Installing in French breaks the keyboard setup page
+ Installing in non-English breaks the keyboard setup page
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.2.5

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

  * Use a custom-generated locale when building keyboard_names.py
    (LP: #540275).
 -- Evan Dandrea <email address hidden> Wed, 17 Mar 2010 19:10:05 +0000

Changed in ubiquity (Ubuntu Lucid):
status: New → 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.