IndexError in Volume Control when device has no mixer tracks

Bug #387437 reported by Michael M
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
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.

Revision history for this message
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
Revision history for this message
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)
tags: added: applet volume-control
onox (onox)
summary: - IndexError in Volume Control
+ IndexError in Volume Control when device has no mixer tracks
onox (onox)
tags: added: traceback
Revision history for this message
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)
Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.