This bug was fixed in the package apport - 2.0.1-0ubuntu12
---------------
apport (2.0.1-0ubuntu12) precise-proposed; urgency=low
[ Martin Pitt ]
* apport_python_hook: Fix UnicodeEncodeError crash with Python 2 for
exceptions with non-ASCII characters. Backported from trunk r2426.
(LP: #972436)
[ Brian Murray ]
* data/general-hooks/ubuntu.py: collect /etc/default/grub on systems where a
package failed to install during when updating grub (LP: #1006633)
-- Brian Murray <[email protected]> Thu, 19 Jul 2012 10:53:25 -0700
** Changed in: apport (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/972436
Title:
backend_helper.py crashed with UnicodeEncodeError in
apport_excepthook(): 'ascii' codec can't encode character u'\xe8' in
position 166: ordinal not in range(128)
Status in “apport” package in Ubuntu:
Fix Released
Status in “apport” source package in Precise:
Fix Released
Bug description:
SRU test case:
- Modify /usr/bin/software-properties (or any other installed Python app
really, add these two lines right after the first one:
# coding: UTF-8
raise ValueError(u'♥')
- Run software-properties-gtk from a Terminal.
- Curent version: You will see the exception from this bug in
apport_python_hook.py, and no crash report generated.
- Fixed version: You just see the ValueError in the terminal, and
/var/crash/ gets a bug report generated.
REGRESSION POTENTIAL: Negligible. Both this new as well as several
already working cases are covered by tests.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: update-notifier-common 0.119ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic-pae 3.2.13
Uname: Linux 3.2.0-21-generic-pae i686
ApportVersion: 2.0-0ubuntu3
Architecture: i386
Date: Tue Apr 3 15:14:46 2012
ExecutablePath: /usr/lib/update-notifier/backend_helper.py
InstallationMedia: Ubuntu-Studio 11.10 "Oneiric Ocelot" - Release i386
(20111011.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/lib/update-notifier/backend_helper.py
install_all_updates
PythonArgs: ['/usr/lib/update-notifier/backend_helper.py',
'install_all_updates']
SourcePackage: update-notifier
Title: backend_helper.py crashed with UnicodeEncodeError in
apport_excepthook(): 'ascii' codec can't encode character u'\xe8' in position
166: ordinal not in range(128)
UpgradeStatus: Upgraded to precise on 2012-04-03 (0 days ago)
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare
mtime.conffile..etc.apt.apt.conf.d.10periodic: 2011-12-13T00:17:50.520984
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/972436/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp