ubuntu-bug audio immediately terminates when pulseaudio does not detect any cards; ERROR: symptom script /usr/share/apport/symptoms/audio.py crashed: .. KeyError: 'Card'

Bug #776270 reported by Chris West
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport-symptoms (Ubuntu)
Fix Released
High
David Henningsson

Bug Description

Binary package hint: apport

faux@wilf:~$ ubuntu-bug audio
1969
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 192, in run
    (package, card, isOutput, jack) = ask_jack_and_card(report, ui)
  File "/usr/share/apport/symptoms/audio.py", line 22, in ask_jack_and_card
    cards = parse_cards()
  File "/usr/share/apport/symptoms/_audio_data.py", line 301, in parse_cards
    cards = add_pa_cards(cards, pactl_parsed)
  File "/usr/share/apport/symptoms/_audio_data.py", line 188, in add_pa_cards
    for pa_card in pactlvalues['Card'].itervalues():
KeyError: 'Card'

The exit status is 0.

This is probably related to my audio BEING BROKEN SINCE THE UPGRADE AAAAAAAAAAAAAAAAAAAAAAAAA

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: apport 1.20.1-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CheckboxSubmission: b0d31efda01870980e2e5a89390b685c
CheckboxSystem: 6ce041aeed0a2c17b3343b66d157175d
Date: Tue May 3 11:14:16 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
SourcePackage: apport
UpgradeStatus: Upgraded to natty on 2011-05-03 (0 days ago)

Revision history for this message
Chris West (faux) wrote :
Revision history for this message
Phill (phill.l) wrote :

Upgrade to 11.04 lost sound, but got this error when running ubuntu-bug. Only different is the 4-digit number at the start, mine if 1563.

affects: apport (Ubuntu) → apport-symptoms (Ubuntu)
Changed in apport-symptoms (Ubuntu):
importance: Undecided → High
Changed in apport-symptoms (Ubuntu):
assignee: nobody → David Henningsson (diwic)
summary: - ubuntu-bug audio immediately terminates; ERROR: symptom script
- /usr/share/apport/symptoms/audio.py crashed: .. KeyError: 'Card'
+ ubuntu-bug audio immediately terminates when pulseaudio does not detect
+ any cards; ERROR: symptom script /usr/share/apport/symptoms/audio.py
+ crashed: .. KeyError: 'Card'
Changed in apport-symptoms (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * symptoms/_audio_data.py: Fix crash when pulseaudio does not detect any
    errors. Thanks to David Henningsson! (LP: #776270)
 -- Martin Pitt <email address hidden> Mon, 04 Jul 2011 15:05:44 +0200

Changed in apport-symptoms (Ubuntu):
status: In Progress → 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.