Bug 547526

Summary: [abrt] crash detected in exaile-0.3.0.2-1.fc12
Product: [Fedora] Fedora Reporter: Aaron Clark <ad2clark>
Component: exaileAssignee: Deji Akingunola <dakingun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dakingun, dmaphy, tvvikram.sjce
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:8c4a5919
Fixed In Version: exaile-0.3.0.2-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-20 00:32:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Aaron Clark 2009-12-14 21:09:29 UTC
abrt 1.0.0 detected a crash.

How to reproduce
-----
1. Have an existing playlist stored
2. Export that playlist as m3u
3. view the m3u file's contents

Comment: Attempted to export an existing playlist in Exaile.  Ended up with an empty file and an abrt crash report

backtrace
-----
Summary: TB8c4a5919 playlist.py:89:save_to_m3u:AttributeError: 'Track' object has no attribute 'get'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/exaile/xlgui/panel/playlists.py", line 538, in <lambda>
    self.export_selected_playlist(path))
  File "/usr/lib/python2.6/site-packages/exaile/xlgui/panel/playlists.py", line 945, in export_selected_playlist
    playlist.export_playlist(pl, path)
  File "/usr/lib/python2.6/site-packages/exaile/xl/playlist.py", line 368, in export_playlist
    return save_to_m3u(playlist, path)
  File "/usr/lib/python2.6/site-packages/exaile/xl/playlist.py", line 89, in save_to_m3u
    leng = round(float(track.get('__length', -1)))
AttributeError: 'Track' object has no attribute 'get'

Local variables in innermost frame:
track: 'Harder, Better, Faster, Stronger' by 'Daft Punk'
path: /home/aclark/Music/focused.m3u
playlist: <class 'xl.playlist.Playlist'>: Focused
handle: <open file '/home/aclark/Music/focused.m3u', mode 'w' at 0x99b1d90>

cmdline: python /usr/lib/python2.6/site-packages/exaile/exaile.py --datadir=/usr/share/exaile/data --startgui 
component: exaile
executable: /usr/lib/python2.6/site-packages/exaile/exaile.py
kernel: 2.6.31.6-166.fc12.i686.PAE
package: exaile-0.3.0.2-1.fc12
uuid: 8c4a5919

Comment 1 Aaron Clark 2009-12-14 21:09:32 UTC
Created attachment 378358 [details]
File: backtrace

Comment 2 Fedora Update System 2010-02-10 16:18:10 UTC
exaile-0.3.0.2-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/exaile-0.3.0.2-1.fc12

Comment 3 Fedora Update System 2010-02-11 14:32:46 UTC
exaile-0.3.0.2-1.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1693

Comment 4 Fedora Update System 2010-02-20 00:31:07 UTC
exaile-0.3.0.2-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.