"ubuntu-bug -u $BUG" not working, but "apport-{kde,gtk} -u $BUG"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: apport
While "/usr/share/
This is related to
export APPORT_
in /usr/bin/ubuntu-bug - commenting this line makes "-u" work as expected, too.
After digging into the code (apport/ui.py) this is caused by:
# no argument: default to "show pending crashes" except when called in
# bug mode
if len(self.args) == 0 and cmd.endswith(
return
self.args is empty in most cases, and what's meant to get checked here is apparently sys.argv.
I'll attach a branch to fix this.
ProblemType: Bug
Architecture: i386
Date: Fri Mar 5 21:40:43 2010
DistroRelease: Ubuntu 10.04
NonfreeKernelMo
Package: apport 1.12.1-0ubuntu4
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.32-15-generic i686
Related branches
- Martin Pitt (community): Approve
-
Diff: 45 lines (+17/-1)2 files modifiedNEWS (+1/-0)
apport/ui.py (+16/-1)
- Martin Pitt: Approve
-
Diff: 50 lines (+24/-1)2 files modifiedapport/ui.py (+16/-1)
debian/changelog (+8/-0)
Changed in apport (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Daniel Hahler (blueyed) |
Changed in apport (Ubuntu): | |
assignee: | Daniel Hahler (blueyed) → nobody |
Nice catch, thanks! Applied to trunk (r1717), thus I didn't merge your branch directly (it doesn't apply to trunk).