Apport hook breaks with Pyhton2 due to non-ASCII character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
$ ubuntu-bug grub2
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
..ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
execfile(hook, symb)
File "/usr/share/
SyntaxError: Non-ASCII character '\xe2' in file /usr/share/
.
*** Send problem report to the developers?
After the problem report has been sent, please fill out the form in the
automatically opened web browser.
What would you like to do? Your options are:
S: Send report (0.3 KB)
V: View report
K: Keep report file for sending later or copying to somewhere else
C: Cancel
Please choose (S/V/K/C):
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apport 1.23-0ubuntu4
ProcVersionSign
Uname: Linux 3.0.0-14-server x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Jan 22 11:58:41 2012
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=de_DE.UTF-8
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
# GRUB_CMDLINE_ LINUX_DEFAULT= ”quiet splash nomodeset”
It's the fancy quotes which are not ASCII, and make Python 2 trip. As most of Apport uses Python 3 these days, it's not a biggie, but apport-collect is still python2 (due to missing python3- launchpadlib) , so we should fix this.