Bug 1471481 - [abrt] gnome-music: _get_random_iter(): player.py:410:_get_random_iter:AttributeError: 'NoneType' object has no attribute 'get_iter_first'
Summary: [abrt] gnome-music: _get_random_iter(): player.py:410:_get_random_iter:Attrib...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-music
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: gnome-sig
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:3a0819a57ab7e5512de573f818c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-16 10:35 UTC by daniele.marsella95
Modified: 2018-05-29 12:12 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 12:12:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (830 bytes, text/plain)
2017-07-16 10:35 UTC, daniele.marsella95
no flags Details
File: cgroup (289 bytes, text/plain)
2017-07-16 10:35 UTC, daniele.marsella95
no flags Details
File: cpuinfo (1.21 KB, text/plain)
2017-07-16 10:35 UTC, daniele.marsella95
no flags Details
File: environ (1.42 KB, text/plain)
2017-07-16 10:35 UTC, daniele.marsella95
no flags Details
File: mountinfo (3.67 KB, text/plain)
2017-07-16 10:35 UTC, daniele.marsella95
no flags Details
File: namespaces (102 bytes, text/plain)
2017-07-16 10:35 UTC, daniele.marsella95
no flags Details
File: open_fds (3.53 KB, text/plain)
2017-07-16 10:35 UTC, daniele.marsella95
no flags Details

Description daniele.marsella95 2017-07-16 10:35:18 UTC
Version-Release number of selected component:
gnome-music-3.24.2-1.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        python3 /usr/bin/gnome-music
crash_function: _get_random_iter
exception_type: AttributeError
executable:     /usr/bin/gnome-music
kernel:         4.11.9-300.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
player.py:410:_get_random_iter:AttributeError: 'NoneType' object has no attribute 'get_iter_first'

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/gnomemusic/player.py", line 245, in _on_repeat_setting_changed
    self._validate_next_track()
  File "/usr/lib/python3.6/site-packages/gnomemusic/player.py", line 637, in _validate_next_track
    track = self._get_next_track()
  File "/usr/lib/python3.6/site-packages/gnomemusic/player.py", line 450, in _get_next_track
    nextTrack = self._get_random_iter(currentTrack)
  File "/usr/lib/python3.6/site-packages/gnomemusic/player.py", line 410, in _get_random_iter
    first_iter = self.playlist.get_iter_first()
AttributeError: 'NoneType' object has no attribute 'get_iter_first'

Local variables in innermost frame:
currentTrack: None
self: <Player>

Comment 1 daniele.marsella95 2017-07-16 10:35:24 UTC
Created attachment 1299287 [details]
File: backtrace

Comment 2 daniele.marsella95 2017-07-16 10:35:26 UTC
Created attachment 1299288 [details]
File: cgroup

Comment 3 daniele.marsella95 2017-07-16 10:35:27 UTC
Created attachment 1299289 [details]
File: cpuinfo

Comment 4 daniele.marsella95 2017-07-16 10:35:29 UTC
Created attachment 1299290 [details]
File: environ

Comment 5 daniele.marsella95 2017-07-16 10:35:31 UTC
Created attachment 1299291 [details]
File: mountinfo

Comment 6 daniele.marsella95 2017-07-16 10:35:32 UTC
Created attachment 1299292 [details]
File: namespaces

Comment 7 daniele.marsella95 2017-07-16 10:35:35 UTC
Created attachment 1299293 [details]
File: open_fds

Comment 8 Yajo 2017-08-23 08:08:24 UTC
Similar problem has been detected:

Just opened it.

reporter:       libreport-2.9.1
cmdline:        python3 /usr/bin/gnome-music
crash_function: _get_random_iter
exception_type: AttributeError
executable:     /usr/bin/gnome-music
kernel:         4.11.11-300.fc26.x86_64
package:        gnome-music-3.24.2-1.fc26
reason:         player.py:410:_get_random_iter:AttributeError: 'NoneType' object has no attribute 'get_iter_first'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Alexis Engelke 2017-11-14 14:18:44 UTC
Similar problem has been detected:

Music (sometimes) crashes right after starting when shuffling is enabled.

reporter:       libreport-2.9.1
cmdline:        python3 /usr/bin/gnome-music
crash_function: _get_random_iter
exception_type: AttributeError
executable:     /usr/bin/gnome-music
kernel:         4.13.9-200.fc26.x86_64
package:        gnome-music-3.24.2-1.fc26
reason:         player.py:410:_get_random_iter:AttributeError: 'NoneType' object has no attribute 'get_iter_first'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 10 Fedora End Of Life 2018-05-03 07:51:22 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2018-05-29 12:12:17 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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