File "/usr/bin/apport-collect", line 125, in <module>

Bug #334823 reported by Fernando Miguel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: apport

$ apport-collect 330814
Logging into Launchpad...
The authorization page (https://edge.launchpad.net/+authorize-token?oauth_token=OMITED) should be opening in your browser. After you have authorized this program to access Launchpad on your behalf you should come back here and press <Enter> to finish the authentication process.

Downloading bug...
Bug title: pulseaudio[4255]: segfault
Collecting apport information for source package alsa-lib...
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 125, in <module>
    report.add_package_info(src)
  File "/usr/lib/python2.5/site-packages/apport/report.py", line 209, in add_package_info
    packaging.get_version(package),
  File "/usr/lib/python2.5/site-packages/apport/packaging_impl.py", line 56, in get_version
    return self._cache(package).installedVersion
  File "/usr/lib/python2.5/site-packages/apport/packaging_impl.py", line 51, in _cache
    raise ValueError, 'package does not exist'
ValueError: package does not exist

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: apport 0.138
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: apport
Uname: Linux 2.6.28-8-generic x86_64

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Changed in apport:
assignee: nobody → pitti
Revision history for this message
Martin Pitt (pitti) wrote :

Can reproduce.

Changed in apport:
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in r1287; I also updated http://people.ubuntu.com/~pitti/scripts/apport-collect to the latest version.

Changed in apport:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 0.139

---------------
apport (0.139) jaunty; urgency=low

  * apport/report.py, anonymize(): Do not anonymize "root". (Side
    issue in LP #333542)
  * debian/rules: Supply --install-layout=deb to setup.py.
  * debian/local/apport-collect: Attach new info to
    staging.launchpad.net if $APPORT_STAGING is defined. This makes
    testing easier. Describe in debian/local/apport-collect.1.
  * debian/local/apport-collect: Ignore ValueErrors from
    add_package_info(), which happens if the bug has a source package
    task which does not have an identically named binary package name.
    Slightly ugly, but it's nontrivial to do that in a sensible
    manner; let's just fix the crash for now, since the focus of this
    tool is to collect information from hooks. (LP: #334823)
  * apport/hookutils.py, hal_dump_udi(): Filter out serial numbers.
    (Mentioned in LP #107103)

 -- Martin Pitt <email address hidden> Mon, 02 Mar 2009 11:36:18 +0100

Changed in apport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.