[Natty] Apport crashes when collecting data for audio problem

Bug #779209 reported by marzojr
56
This bug affects 6 people
Affects Status Importance Assigned to Milestone
apport-symptoms (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apport-symptoms

When trying to collect data to report an audio issue, apport-bug crashes with the following error:

ERROR: symptom script /usr/share/apport/symptoms/audio.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 56, in thread_collect_info
    package = symb['run'](report, ui)
  File "/usr/share/apport/symptoms/audio.py", line 203, in run
    package = problem_func(report, ui, card, isOutput, jack)
  File "/usr/share/apport/symptoms/audio.py", line 78, in symptom_fails_after_a_while
    pa_finish_logging()
TypeError: pa_finish_logging() takes exactly 1 argument (0 given)

This occurs every time, and is preventing me from filing a bug report regarding my audio woes in Natty. This is on a mostly clean installation of Natty -- I kept only my home folder, and manually deleted all configuration files and folders contained therein (except for Wine prefixes and virtual machines).

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: apport-symptoms 0.12
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
Date: Sat May 7 18:30:52 2011
Dependencies:

InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apport-symptoms
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Tim Lunn (darkxst) wrote :

I also have this problem. Change line 78 to

pa_finish_logging(report)

and it appears to fix the problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport-symptoms - 0.13

---------------
apport-symptoms (0.13) oneiric; urgency=low

  * symptoms/audio.py: Add missing "report" argument to pa_finish_logging()
    calls. (LP: #779209)
 -- Martin Pitt <email address hidden> Mon, 06 Jun 2011 08:48:04 +0200

Changed in apport-symptoms (Ubuntu):
status: New → Fix Released
Revision history for this message
Shahar Or (mightyiam) wrote :

In response to https://bugs.launchpad.net/ubuntu/+source/apport-symptoms/+bug/847042/comments/4

In response to the question whether to backport it to natty... I would sure like to report my audio problem. I've quite a serious one. Audio goes noisy at seemingly random times and well I'd like to be able to use apport to report that.

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.