Traceback when showing menu from the systray with lastfmlove plug-in and no track playing

Bug #1318727 reported by Rocco Aliberti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Low
Unassigned

Bug Description

revno: 4454

Traceback (most recent call last):
  File "/xxx/exaile/xlgui/widgets/menu.py", line 202, in <lambda>
    self.connect('show', lambda *e: self.regenerate_menu())
  File "/xxx/exaile/xlgui/widgets/menu.py", line 270, in regenerate_menu
    subitem = item.factory(self, self._parent, context)
  File "/xxx/exaile/plugins/lastfmlove/__init__.py", line 200, in factory
    track = tracks[0]
IndexError: list index out of range

Patch attached.

Related branches

Revision history for this message
Rocco Aliberti (eri.trabiccolo) wrote :
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Oops, thanks for the fix.

Changed in exaile:
importance: Undecided → Low
milestone: none → 3.4.0
status: New → Fix Committed
Changed in exaile:
status: Fix Committed → 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.