ubi-console-setup failed with exit code 141 with "KeyError: '英語 (美式)'" after Ubiquity 2.18.8.2

Bug #1373033 reported by V字龍(Vdragon)
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I can reproduce bug #1182784 after Ubiquity 2.18.8.2. The remastered live system's locale is zh_TW.UTF-8 and I didn't change it in the installer.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity 2.18.8.2
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic i686
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: i386
CasperVersion: 1.340
CurrentDesktop: KDE
Date: Wed Sep 24 00:43:44 2014
InstallCmdLine: file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity initrd=/casper/initrd.lz quiet splash -- locale=zh_TW keyboard-configuration/layoutcode?=us
LiveMediaBuild: ezgo 12a1-k64 (based on Kubuntu 14.04 "Trusty Tahr") - Release i386 (20140922.2)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=zh_TW.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : Traceback

Exception during installation:
Sep 23 16:41:21 ezgo /plugininstall.py: Traceback (most recent call last):
Sep 23 16:41:21 ezgo /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1770, in <module>
Sep 23 16:41:21 ezgo /plugininstall.py: install.run()
Sep 23 16:41:21 ezgo /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 78, in wrapper
Sep 23 16:41:21 ezgo /plugininstall.py: func(self)
Sep 23 16:41:21 ezgo /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 204, in run
Sep 23 16:41:21 ezgo /plugininstall.py: self.configure_plugins()
Sep 23 16:41:21 ezgo /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 570, in configure_plugins
Sep 23 16:41:21 ezgo /plugininstall.py: self.run_plugin(plugin)
Sep 23 16:41:21 ezgo /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 547, in run_plugin
Sep 23 16:41:21 ezgo /plugininstall.py: "Plugin %s failed with code %s" % (plugin.NAME, ret))
Sep 23 16:41:21 ezgo /plugininstall.py: ubiquity.install_misc.InstallStepError: Plugin console_setup failed with code 1
Sep 23 16:41:21 ezgo /plugininstall.py:

tags: added: installer-crash
Changed in ubiquity (Ubuntu):
importance: Undecided → High
tags: removed: regression-update
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: ubi-console-setup failed with exit code 141 with "KeyError: '英語 (美式)'" even in 2.18.8.2

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel (trilader) wrote :

For me the bug also triggers when selecting german in the Ubiquity language selection

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

Hi Daniel,
Bug #1182784 has been fixed since ubiquity 2.18.8.2, please make sure you can still reproduce the issue after upgrading ubiquity package(Ubuntu 14.04 installation media still has buggy version pre-installed)!

This bug is for people who still have the issue even after upgrading to 2.18.8.2.

Revision history for this message
Daniel (trilader) wrote :

Hi,
I can reproduce the bug with german language selected with the latest daily built live cd (30.09.2014) as well as with a custom remastered Kubutu CD in which I had the issue first. Ubiquity has version 2.18.8.2.

I will attach my logfiles to this bug.

Revision history for this message
Daniel (trilader) wrote :
Revision history for this message
Daniel (trilader) wrote :
Revision history for this message
Daniel (trilader) wrote :

The relevant snippet from the installer debug log is:
Exception caught in process_line:
Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 145, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 287, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 488, in run
    self.ui.set_keyboard(misc.utf8(self.db.get(question)))
  File "/usr/lib/ubiquity/ubiquity/plugin.py", line 48, in wrapper
    return target(self, *args, **kwargs)
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 340, in set_keyboard
    ly = keyboard_names.layout_id(l, misc.utf8(layout))
  File "/usr/lib/ubiquity/ubiquity/keyboard_names.py", line 142, in layout_id
    return kn.layout_id(lang, value)
  File "/usr/lib/ubiquity/ubiquity/keyboard_names.py", line 90, in layout_id
    return self._layout_by_human[value]
KeyError: 'Deutsch'
Oct 1 10:57:06 ubiquity: ['log-output', '-t', 'ubiquity', '--pass-stdout', '/usr/lib/ubiquity/console-setup/keyboard-configuration.postinst', 'configure'] exited with code 141

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

I found the same traceback as Daniel's at #9

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

@Brian Murray
Could you kindly point out any link(s) about the 'regression-update' tag removal? IMO this *is* a regression of Bug #1182784 .

tags: added: regression-update
summary: ubi-console-setup failed with exit code 141 with "KeyError: '英語 (美式)'"
- even in 2.18.8.2
+ even in Ubiquity 2.18.8.2
Revision history for this message
Brian Murray (brian-murray) wrote : Re: ubi-console-setup failed with exit code 141 with "KeyError: '英語 (美式)'" even in Ubiquity 2.18.8.2

The regression-update tag is for bugs that did not affect the version of the package in the final release, but do affect the version of the package in the -updates pocket. So it is specifically for bugs introduced by Stable Release Updates.

tags: added: utopic
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

@Brian
Got it, thanks!

tags: removed: regression-update
Revision history for this message
Franklin (franklin-goodhorse) wrote :

Ubiquity 2.18.7, 2.18.8 (Default on Kubuntu 14.04.1) does not have this problem.

I have no way to test 2.18.8.1, but I'm sure that 2.18.8.2 have this problem.

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

Confirmed that this bug is a regression after 2.18.8.2, adding back regression-update
 tag.

summary: ubi-console-setup failed with exit code 141 with "KeyError: '英語 (美式)'"
- even in Ubiquity 2.18.8.2
+ after Ubiquity 2.18.8.2
tags: added: regression-update
description: updated
Revision history for this message
Fierta (fierta) wrote :

V字龍(Vdragon) (vdragon) Please affect me.

https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1374749

Revision history for this message
somekool (somekool) wrote :

This is still happening with 15.04 Vivid

I did not get to keyboard settings.
only setting language to French and after hitting next on the timezone

ubi-console-setup returned error 141

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

marked as duplicate as it's the same issue, should be fixed in today's daily which will shortly become vivid beta 1, testing welcomed. thanks for the report

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.