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

Bug #1023949 reported by Aaron C. de Bruyn on 2012-07-12
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport-symptoms (Ubuntu)
Medium
Martin Pitt
Precise
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)

Aaron C. de Bruyn (darkpixel2k) wrote :
affects: apport (Ubuntu) → apport-symptoms (Ubuntu)
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
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers