oem-config-gtk crashed when using some UTF-8 based languages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Confirmed
|
Medium
|
Unassigned | ||
Xenial |
Confirmed
|
Medium
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Triaged
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* This is a slight improvement and it should not have any impact.
[Test Case]
1. Use live-build to generate a customized Ubuntu image with dell-recovery.
2. Use the customized Ubuntu image to install the system.
3. Select traditional Chinese language in oem-config-gtk's language page.
4. Select the recovery media creation in oem-config-gtk's dell-recovery plugin.
[Regression Potential]
* It should be no regression unless the language will not use UTF-8 encoding by default.
[Other Info]
* The commit has been accepted in lp:ubiquity.
* Right now, we are targeting on xenial series.
[Summary]
oem-config crashed when using some UTF-8 based languages
[Reproduce Steps]
1. Use live-build to generate a customized Ubuntu image with dell-recovery.
2. Use the customized Ubuntu image to install the system.
3. Select traditional Chinese language in oem-config-gtk's language page.
4. Select the recovery media creation in oem-config-gtk's dell-recovery plugin.
[Results]
Expected: The installation process will work fine without any problem.
Actual: Ubiquity crashed in the middle.
[Additional Information]
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
lambda *args, **kw: self.command(
File "/usr/lib/
self.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 44-45: ordinal not in range(128)
...
PROGRESS STOP
Exception during installation:
Traceback (most recent call last):
File "/usr/lib/
res = pm.do_install(
SystemError: E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe), E:寫入錯誤 - write (32: Broken pipe)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/
install.run()
File "/usr/share/
func(self)
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
if not cache.commit(
File "/usr/lib/
res = self.install_
File "/usr/lib/
res = install_
File "/usr/lib/
os.
BrokenPipeError: [Errno 32] Broken pipe
Related branches
- Mathieu Trudel-Lapierre: Approve
- Yuan-Chen Cheng (community): Needs Resubmitting
-
Diff: 23 lines (+5/-1)1 file modifiedscripts/plugininstall.py (+5/-1)
- Ubuntu Installer Team: Pending requested
-
Diff: 37 lines (+11/-1)2 files modifieddebian/changelog (+6/-0)
scripts/plugininstall.py (+5/-1)
description: | updated |
tags: | added: xenial |
Changed in oem-priority: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
Changed in oem-priority: | |
importance: | High → Critical |
Changed in oem-priority: | |
status: | In Progress → Confirmed |
tags: | added: sur |
tags: |
added: sru removed: sur |
Changed in ubiquity (Ubuntu Xenial): | |
status: | New → Triaged |
description: | updated |
tags: | added: oem-priority |
This bug was fixed in the package ubiquity - 17.10.10
---------------
ubiquity (17.10.10) artful; urgency=medium
* tests/test_misc.py: Rip out the test for 'ta' keymap. It's been regularly installer- utils
broken just because gsettings is returning values out of order (and
not all of the variants show every time). We already test a few other
keymaps, so no need to test all of them.
* Automatic update of included source packages: debian-
1.113ubuntu2, netcfg 1.142ubuntu5.
-- Mathieu Trudel-Lapierre <email address hidden> Fri, 13 Oct 2017 10:03:04 -0400