IndexError in Volume Control when device has no mixer tracks

Bug #387437 reported by Michael M on 2009-06-15
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Medium
onox

Bug Description

Trying to activate the volume control applet produces a "list index out of range" error.

Here is the pasted traceback as requested in the error notification:

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/awn/extras/awnlib.py", line 1580, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 71, in __init__
    self.setup_context_menu()
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 158, in setup_context_menu
    self.load_channel_pref(prefs)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 199, in load_channel_pref
    self.applet.settings["channel"] = self.backend.channels[0]
IndexError: list index out of range

I'm running Fedora 11, and I installed Awn and extras from the fedora 11 repo for X64 architectures, using yum.
The version of Awn is 0.3.2-6.fc11, and Awn extras version is 0.3.2.1-8.fc11.
The windows manager is compiz.
Video card is Intel 82Q963/965 Integrated Graphics Controller.

Mark Lee (malept) wrote :

Could you give some information on the sound card(s) that you have installed?

Changed in awn-extras:
assignee: nobody → onox (onox)
importance: Undecided → Medium
status: New → Incomplete
Michael M (michael-spameater) wrote :

Sure, it's an HDA Intel. Let me know if there's more information I can provide -- I'm not sure what would be helpful.

The advanced volume control also has the following entries (when run from the gnome menu):

QuickCam Pro 9000 (Alsa Mixer)
Playback: Internal Audio (Pulse Audio Mixer)
Capture: QuickCam Pro 9000 (Pulse Audio Mixer)
Capture: Monitor of Internal Audio (Pulse Audio Mixer)
Capture: Internal Audio (Pulse Audio Mixer)

onox (onox) on 2009-06-16
tags: added: applet volume-control
onox (onox) on 2009-07-19
summary: - IndexError in Volume Control
+ IndexError in Volume Control when device has no mixer tracks
onox (onox) on 2009-12-15
tags: added: traceback
onox (onox) wrote :

It seems that in the rewrite (0.3.9) this IndexError can no longer occur because the code computes a list of devices that have at least one mixer track, and if nothing can be found, you'll get to see an error dialog saying "No devices found".

Changed in awn-extras:
milestone: none → 0.4.0
status: Incomplete → Fix Committed
Mark Lee (malept) on 2010-04-12
Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers