[Bug 833813] Re: ubiquity crashed in run() with UnicodeDecodeError when mount point contains accented character
Launchpad Bug Tracker
833813 at bugs.launchpad.net
Mon Aug 29 17:02:47 UTC 2011
This bug was fixed in the package ubiquity - 2.7.19
---------------
ubiquity (2.7.19) oneiric; urgency=low
[ Stéphane Graber ]
* Properly handle unicode in calls to preseed (LP: #831455)
* Properly handle unicode for device and mountpoints name (LP: #833813)
* Port Ubiquity's accessibility indicator to gobject introspection
* Fix a minor gobject introspection port issue (Gdk.CONTROL_MASK should
be Gdk.ModifierType.CONTROL_MASK)
* Fix ubi-timezone changed() function missing a parameter
[ Colin Watson ]
* Adjust timezone tests for change in timezone changed() signature.
* Mock ubiquity.misc.drop_privileges and ubiquity.misc.regain_privileges
during test_face_selector_save_to.
* Mock ubiquity.frontend.base.drop_privileges in GTK frontend tests to
cope with 'from ubiquity.misc import drop_privileges' form.
* Mock ubiquity.nm.wireless_hardware_present in GTK frontend tests, as it
may not be able to talk to D-Bus.
-- Colin Watson <cjwatson at ubuntu.com> Mon, 29 Aug 2011 17:26:51 +0100
** Changed in: ubiquity (Ubuntu Oneiric)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/833813
Title:
ubiquity crashed in run() with UnicodeDecodeError when mount point
contains accented character
Status in “ubiquity” package in Ubuntu:
Fix Released
Status in “ubiquity” source package in Oneiric:
Fix Released
Bug description:
TEST CASE:
1. Launch ubiquity and proceed to 'Advanced Partitioning'
2. Create a partition and enter a mount point with an accent
result:
Ubiquity crashes with:
Exception caught in process_line:
Traceback (most recent call last):
File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 132, 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-partman.py", line 2686, in run
self.preseed(question, request['mountpoint'], seen=False)
File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 336, in preseed
value = value.encode("UTF-8", "ignore")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubiquity 2.7.17
ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
Uname: Linux 3.0.0-9-generic i686
Architecture: i386
CasperVersion: 1.279
Date: Thu Aug 25 14:37:24 2011
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110825)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/833813/+subscriptions
More information about the foundations-bugs
mailing list