global name 'set_title' is not defined while trying to report an audio bug

Bug #1023949 reported by Aaron C. de Bruyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport-symptoms (Ubuntu)
Fix Released
Medium
Martin Pitt
Precise
Won't Fix
Medium
Unassigned

Bug Description

root@bob-linux:~# ubuntu-bug audio
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 187, in run
    package = check_pulseaudio_running(report, ui)
  File "/usr/share/apport/symptoms/_audio_checks.py", line 80, in check_pulseaudio_running
    return set_title(report, 'pulseaudio', 'Pulseaudio is not running')
NameError: global name 'set_title' is not defined
root@bob-linux:~#

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport 2.0.1-0ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jul 12 08:24:28 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
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)

Revision history for this message
Aaron C. de Bruyn (darkpixel2k) wrote :
affects: apport (Ubuntu) → apport-symptoms (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

Fix uploaded, waiting in unapproved now.

Changed in apport-symptoms (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
apport-symptoms (0.19) quantal; urgency=low

  * symptoms/_audio_checks.py: Dot not try to call nonexisting set_title()
    function. (LP: #1023949)
 -- Martin Pitt <email address hidden> Fri, 31 Aug 2012 11:37:51 +0200

Changed in apport-symptoms (Ubuntu):
status: Fix Committed → Fix Released
Changed in apport-symptoms (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Medium
milestone: none → ubuntu-12.04.3
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in apport-symptoms (Ubuntu Precise):
status: Triaged → Won't Fix
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.