Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1694843 - [abrt] lollypop: insert_album(): view_albums_list.py:527:insert_album:IndexError: list index out of range
Summary: [abrt] lollypop: insert_album(): view_albums_list.py:527:insert_album:IndexEr...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: lollypop
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: MartinKG
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b2a3eaf3e3731328dce2fcbe7a6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-01 20:04 UTC by Dario Castellarin
Modified: 2019-04-02 06:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
File: backtrace (deleted)
2019-04-01 20:04 UTC, Dario Castellarin
no flags Details
File: cgroup (deleted)
2019-04-01 20:04 UTC, Dario Castellarin
no flags Details
File: cpuinfo (deleted)
2019-04-01 20:04 UTC, Dario Castellarin
no flags Details
File: environ (deleted)
2019-04-01 20:04 UTC, Dario Castellarin
no flags Details
File: mountinfo (deleted)
2019-04-01 20:04 UTC, Dario Castellarin
no flags Details
File: namespaces (deleted)
2019-04-01 20:05 UTC, Dario Castellarin
no flags Details
File: open_fds (deleted)
2019-04-01 20:05 UTC, Dario Castellarin
no flags Details

Description Dario Castellarin 2019-04-01 20:04:52 UTC
Description of problem:
Lollypop crashes every time I start reproducing an album and then push the "album playlist" button (not sure how it is in english, but it's the one just right of the playack bar.

Version-Release number of selected component:
lollypop-1.0.3-1.fc29

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 /usr/bin/lollypop
crash_function: insert_album
exception_type: IndexError
executable:     /usr/bin/lollypop
interpreter:    python3-3.7.3-1.fc29.x86_64
kernel:         5.0.5-200.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
view_albums_list.py:527:insert_album:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/lollypop/view_albums_list.py", line 663, in _on_album_updated
    self.insert_album(Album(album_id), False, index)
  File "/usr/lib/python3.7/site-packages/lollypop/view_albums_list.py", line 527, in insert_album
    previous_row = children[position]
IndexError: list index out of range

Local variables in innermost frame:
self: <view_current_albums.CurrentAlbumsView object at 0x7f841d4957e0 (lollypop+view_current_albums+CurrentAlbumsView at 0x55b4a66de700)>
album: <lollypop.objects.Album object at 0x7f842ec76da0>
reveal: False
position: 519
cover_uri: None
row: <view_albums_list.AlbumRow object at 0x7f841d484510 (lollypop+view_albums_list+AlbumRow at 0x7f8408147f80)>
children: [<view_albums_list.AlbumRow object at 0x7f841d495a20 (lollypop+view_albums_list+AlbumRow at 0x55b4a7e8ade0)>]

Comment 1 Dario Castellarin 2019-04-01 20:04:54 UTC
Created attachment 1550733 [details]
File: backtrace

Comment 2 Dario Castellarin 2019-04-01 20:04:55 UTC
Created attachment 1550734 [details]
File: cgroup

Comment 3 Dario Castellarin 2019-04-01 20:04:56 UTC
Created attachment 1550735 [details]
File: cpuinfo

Comment 4 Dario Castellarin 2019-04-01 20:04:58 UTC
Created attachment 1550736 [details]
File: environ

Comment 5 Dario Castellarin 2019-04-01 20:04:59 UTC
Created attachment 1550737 [details]
File: mountinfo

Comment 6 Dario Castellarin 2019-04-01 20:05:00 UTC
Created attachment 1550738 [details]
File: namespaces

Comment 7 Dario Castellarin 2019-04-01 20:05:01 UTC
Created attachment 1550739 [details]
File: open_fds

Comment 8 MartinKG 2019-04-02 06:48:10 UTC
upstream ticket: https://gitlab.gnome.org/World/lollypop/issues/1763


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