ubuntu-bug on ec2 causes stack trace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
running 'ubuntu-bug' on ec2 to report a bug results in:
ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
add_
File "/usr/share/
if ami and ami.startswith(
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
The fix to this as-yet-
--- data/general-
+++ data/general-
@@ -337,7 +337,7 @@
except:
ami = None
- if ami and ami.startswith(
+ if ami and ami.startswith(
fields = {'Ec2AMIManifest': 'ami-manifest-
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: apport 2.2.5-0ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-2-generic x86_64
Architecture: amd64
Date: Wed Jun 27 19:32:56 2012
PackageArchitec
ProcEnviron:
TERM=screen
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Ubuntu Development Team: Pending requested
-
Diff: 26 lines (+7/-1)2 files modifieddata/general-hooks/ubuntu.py (+1/-1)
debian/changelog (+6/-0)
Status changed to 'Confirmed' because the bug affects multiple users.