IndexError in Volume Control: list index out of range

Bug #625310 reported by Michael Hansen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Awn Extras
Confirmed
Low
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1462, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 104, in __init__
    self.setup_context_menu(prefs)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 169, in setup_context_menu
    self.load_track_pref(prefs)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 220, in load_track_pref
    self.reload_tracks()
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 232, in reload_tracks
    self.backend.set_track(self.applet.settings["track"])
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 453, in set_track
    self.__parent.refresh_icon(True)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 264, in refresh_icon
    icon = [key for key, value in volume_ranges.iteritems() if volume <= value[0] and volume >= value[1]][0]
IndexError: list index out of range

-----

I tried to shift between different icons for the volume applet, when this error appeared.

My version of AWN is 0.4.0
Linux is Ubuntu 10.04 with Gnome.
I installed via repository.

Revision history for this message
Mark Lee (malept) wrote :

Thanks for reporting a bug.

For future reference, you reported a bug in the Volume Control applet, which is part of the Awn Extras project. Please file any other bugs regarding this applet in the Awn Extras bug tracker.

affects: awn → awn-extras
Changed in awn-extras:
importance: Undecided → Low
status: New → Confirmed
tags: added: applet traceback volume-control
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.