volume-control.py crashed with ALSAAudioError in get_volume()

Bug #347528 reported by LCID Fire
310
This bug affects 56 people
Affects Status Importance Assigned to Milestone
Awn Extras
Won't Fix
Undecided
onox
awn-extras-applets (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Crashed shortly after deleting files in
~/.pulse

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/share/avant-window-navigator/applets/volume-control/volume-control.py
InterpreterPath: /usr/bin/python2.6
Package: awn-applets-python-core 0.3.2.1-0ubuntu1
PackageArchitecture: all
ProcCmdline: python /usr/share/avant-window-navigator/applets/volume-control/volume-control.py --uid=1237582696 --window=37748788 --orient=0 --height=48
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/avant-window-navigator/applets/volume-control/volume-control.py', '--uid=1237582696', '--window=37748788', '--orient=0', '--height=48']
SourcePackage: awn-extras-applets
Title: volume-control.py crashed with ALSAAudioError in get_volume()
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev sambashare scanner video

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/awn/extras/awnlib.py", line 1220, in __run
    self.__callback()
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 230, in refresh_icon
    volume = self.backend.get_volume()
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 342, in get_volume
    volume_channels = alsaaudio.Mixer(self.channel).getvolume()
ALSAAudioError: Connection refused

Revision history for this message
LCID Fire (lcid-fire) wrote :
Julien Lavergne (gilir)
visibility: private → public
Revision history for this message
Mark Lee (malept) wrote :

Reporting upstream.

tags: added: applet volume-control
Changed in awn-extras:
assignee: nobody → onox (onox)
milestone: none → 0.3.2.2
onox (onox)
description: updated
Revision history for this message
onox (onox) wrote :

Can you check whether it happens always? (everytime restarting Awn or adding a new instance of Volume Control)

Changed in awn-extras:
status: New → Incomplete
Revision history for this message
onox (onox) wrote :

Sorry jackalopes, without any info I cannot possibly fix this. Try to use testing PPA's of trunk which use GStreamer.

Changed in awn-extras:
status: Incomplete → Won't Fix
Revision history for this message
Mark Lee (malept) wrote :

Removing milestone.

Changed in awn-extras:
milestone: 0.3.2.2 → none
tags: added: alsaaudio
Revision history for this message
gallobea (gallobeata) wrote :

This crash occured on login.

Revision history for this message
onox (onox) wrote :

Install the testing PPA. Old 0.3.2 uses lame pyalsaaudio, while trunk and rewrite use GStreamer.

Revision history for this message
Julien Lavergne (gilir) wrote :

It should be fixed with Awn 0.4.0. Volume applet doesn't use pyalsaaudio anymore.

You can obtain this version by one of the following ways :
- Using Ubuntu 10.04 (Lucid) up-to-date.
- Using the Awn-testing PPA (https://launchpad.net/~awn-testing/+archive/ppa) and installing avant-window-navigator-trunk.
- Using Ubuntu 9.10 (Karmic) and my PPA (https://launchpad.net/~gilir/+archive/backports/+packages)

Changed in awn-extras-applets (Ubuntu):
status: New → 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.