apport-collect broken (with source pkg name != binary pkg name?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running apport-collect on a bug against alsa-driver results in the following stack trace. My guess is that this has something to do with that the source package name is "alsa-driver" but there is no binary package with that name (it's named "alsa-base", among others).
Running apport-collect on a bug against "pulseaudio" succeeds. There is both a source and a binary package named "pulseaudio".
No packages found matching alsa-driver.
Traceback (most recent call last):
File "/usr/share/
GLib.
File "/usr/lib/
icthread.
File "/usr/lib/
self._retval = self.__
File "/usr/lib/
report.
File "/usr/lib/
self[
File "/usr/lib/
if self._apt_
File "/usr/lib/
raise ValueError('package does not exist')
ValueError: package does not exist
trunk fix (with test cases): http://
SRU TEST CASE
=============
- Subscribe to a bug which has a "linux" or an "alsa-driver" task. Martin Pitt used bug 973787 and bug 1005849 for testing.
- Run "apport-collect 973787" (or whichever bug you subscribed to)
- In the current precise version you will see a crash traceback and the Apport window stays empty with a spinner.
- With this fixed version there is no crash and the Apport window shows a rich variety of collected information.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport 2.0.1-0ubuntu7
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CrashReports: 640:1000:
Date: Thu May 3 10:19:21 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120421)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in apport (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
Changed in apport (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in apport (Ubuntu): | |
status: | In Progress → Fix Committed |
Note to self: This has been introduced with the UI rewrite. It seems apport-gtk collects information twice, and the second time the report does not have a ProblemType field any more (run_update_ report( ) deletes it as it is not relevant for this operation).