[Bug 919956] Re: Apport hook breaks with Pyhton2 due to non-ASCII character

Brian Murray brian at ubuntu.com
Wed Sep 5 14:31:31 UTC 2012


Its in the queue now, thanks for the reminder.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/919956

Title:
  Apport hook breaks with Pyhton2 due to non-ASCII character

Status in “grub2” package in Ubuntu:
  Fix Committed

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/apport/package-hooks//source_grub2.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 692, in add_hooks_info
      execfile(hook, symb)
    File "/usr/share/apport/package-hooks//source_grub2.py", line 30
  SyntaxError: Non-ASCII character '\xe2' in file /usr/share/apport/package-hooks//source_grub2.py on line 30, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
  .

  *** 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
  ProcVersionSignature: Ubuntu 3.0.0-14.23-server 3.0.9
  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)
  PackageArchitecture: all
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=de_DE.UTF-8
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/919956/+subscriptions




More information about the foundations-bugs mailing list