media_control.py crashed with IndexError in get_media_info()

Bug #537629 reported by Andrew Crowder
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
Gabor Karsay
awn-extras (Ubuntu)
Fix Released
Medium
Julien Lavergne

Bug Description

While using Listen this crash seems to occur frequently, but I do not know the cause

ProblemType: Crash
Architecture: amd64
Date: Thu Mar 11 15:30:28 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/share/avant-window-navigator/applets/media-control/media_control.py
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: awn-applets-python-core 0.3.9~bzr1944-0ubuntu1
PackageArchitecture: all
ProcCmdline: python /usr/share/avant-window-navigator/applets/media-control/media_control.py --uid=1268321667 --window=92285807 --panel-id=1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
PythonArgs: ['/usr/share/avant-window-navigator/applets/media-control/media_control.py', '--uid=1268321667', '--window=92285807', '--panel-id=1']
SourcePackage: awn-extras-applets
Title: media_control.py crashed with IndexError in get_media_info()
Uname: Linux 2.6.32-16-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/media-control/media_control.py", line 42, in errors
    fn(cls, *args)
  File "/usr/share/avant-window-navigator/applets/media-control/media_control.py", line 545, in button_pp_press
    self.update_song_info()
  File "/usr/share/avant-window-navigator/applets/media-control/media_control.py", line 42, in errors
    fn(cls, *args)
  File "/usr/share/avant-window-navigator/applets/media-control/media_control.py", line 470, in update_song_info
    song_info = self.MediaPlayer.get_media_info()
  File "/usr/lib/pymodules/python2.6/awn/extras/awnmediaplayers.py", line 541, in get_media_info
    result['artist'] = self.player.current_playing().split(" - ",3)[2]
IndexError: list index out of range

Revision history for this message
Andrew Crowder (andrewcrowder) wrote :
tags: removed: need-duplicate-check
Julien Lavergne (gilir)
visibility: private → public
Revision history for this message
Julien Lavergne (gilir) wrote :

Thank you for your bug report.

Do you still have this problem with the 0.4.0 rc1 version of Awn and Awn-extras ?

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)

Thanks in advance for your cooperation and understanding.

Changed in awn-extras-applets (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Tarnay Kálmán (tarnay-kalman) wrote :

Happens for me in lucid if I start Listen and try to start a stream and then click on media_control.py while it is still buffering.

Changed in awn-extras-applets (Ubuntu):
status: Incomplete → New
Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks for your feedback. Forwarded upstream.

Changed in awn-extras-applets (Ubuntu):
status: New → Triaged
tags: added: applet media-control traceback
Changed in awn-extras:
assignee: nobody → Gabor Karsay (gabor-karsay)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Fix committed in revision 1414.

Changed in awn-extras:
milestone: none → 0.4.2
status: In Progress → Fix Committed
tags: removed: applet
description: updated
Julien Lavergne (gilir)
Changed in awn-extras-applets (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Julien Lavergne (gilir)
Julien Lavergne (gilir)
affects: awn-extras-applets (Ubuntu) → awn-extras (Ubuntu)
Changed in awn-extras (Ubuntu):
status: In Progress → Fix Released
Povilas Kanapickas (p12)
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.