Bug 612075 - [abrt] crash in exaile- playlist.py:563:index:ValueError: list.index(x): x not in list
[abrt] crash in exaile- playlist.py:563:index:ValueError: list...
Product: Fedora
Classification: Fedora
Component: exaile (Show other bugs)
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Deji Akingunola
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-07-07 05:23 EDT by Hexchain Tong
Modified: 2011-03-28 15:25 EDT (History)
2 users (show)

See Also:
Fixed In Version: exaile-
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-03-28 15:25:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (542 bytes, text/plain)
2010-07-07 05:23 EDT, Hexchain Tong
no flags Details

  None (edit)
Description Hexchain Tong 2010-07-07 05:23:10 EDT
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: python /usr/lib/python2.6/site-packages/exaile/exaile.py --datadir=/usr/share/exaile/data --startgui
comment: Playing a track
component: exaile
executable: /usr/lib/python2.6/site-packages/exaile/exaile.py
package: exaile-
reason: playlist.py:563:index:ValueError: list.index(x): x not in list
release: Fedora release 13 (Goddard)

playlist.py:563:index:ValueError: list.index(x): x not in list

Traceback (most recent call last):
  File "/usr/share/exaile/plugins/minimode/__init__.py", line 340, in on_track_change
    index = self.exaile.queue.current_playlist.index(track)
  File "/usr/lib/python2.6/site-packages/exaile/xl/playlist.py", line 563, in index
    return self.ordered_tracks.index(track)
ValueError: list.index(x): x not in list

Local variables in innermost frame:
track: "'Track' from 'Album' by 'Artist'"
self: <xl.playlist.Playlist object at 0x25cf390>

How to reproduce
Enter 'Mini mode' and choose another track
Comment 1 Hexchain Tong 2010-07-07 05:23:12 EDT
Created attachment 430003 [details]
File: backtrace
Comment 2 vinced 2010-10-27 19:19:26 EDT
Package: exaile-
Architecture: i686
OS Release: Fedora release 13 (Goddard)

it was a bit weird ... I had a playlist. I selected half of the tracks and pressed "del" : they disappeared : ok.
I played the first track which wasn't deleted : ok
the next track wasn't the one written in the software, but the former track that had been deleted with del,
wasn't present on screen but seemed to have its place in the playlist. With the arrows, I kept moving inside the former playlist.

I moved a track with the mouse and exaile gave this error. 
Now everything's ok O_o

hope it's a good enough bug report
Comment 3 Fedora Update System 2011-03-04 10:49:21 EST
Package exaile-
* should fix your issue,
* was pushed to the Fedora 13 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing exaile-'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
Comment 4 Fedora Update System 2011-03-04 21:22:03 EST
exaile- has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update exaile'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/exaile-
Comment 5 Fedora Update System 2011-03-28 15:22:55 EDT
exaile- has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.