Bug 1798356 - [abrt] mpdris2: _update_properties(): mpDris2:734:_update_properties:TypeError: 'bool' object is not subscriptable
Summary: [abrt] mpdris2: _update_properties(): mpDris2:734:_update_properties:TypeErro...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mpdris2
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: "FeRD" (Frank Dana)
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:54d2c9505370855622676ace490...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-05 06:52 UTC by Vadim Raskhozhev
Modified: 2020-02-19 01:53 UTC (History)
2 users (show)

Fixed In Version: mpdris2-0.8-4.20200205git491588a.fc30 mpdris2-0.8-4.20200205git491588a.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-19 01:28:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (932 bytes, text/plain)
2020-02-05 06:52 UTC, Vadim Raskhozhev
no flags Details
File: cgroup (351 bytes, text/plain)
2020-02-05 06:52 UTC, Vadim Raskhozhev
no flags Details
File: cpuinfo (2.19 KB, text/plain)
2020-02-05 06:52 UTC, Vadim Raskhozhev
no flags Details
File: environ (1.65 KB, text/plain)
2020-02-05 06:52 UTC, Vadim Raskhozhev
no flags Details
File: mountinfo (6.40 KB, text/plain)
2020-02-05 06:52 UTC, Vadim Raskhozhev
no flags Details
File: namespaces (129 bytes, text/plain)
2020-02-05 06:52 UTC, Vadim Raskhozhev
no flags Details
File: open_fds (799 bytes, text/plain)
2020-02-05 06:52 UTC, Vadim Raskhozhev
no flags Details

Description Vadim Raskhozhev 2020-02-05 06:52:09 UTC
Version-Release number of selected component:
mpdris2-0.8-2.20191223gite06bcf6.fc31

Additional info:
reporter:       libreport-2.11.3
cmdline:        /usr/bin/python3 /usr/bin/mpDris2
crash_function: _update_properties
exception_type: TypeError
executable:     /usr/bin/mpDris2
interpreter:    python3-3.7.6-1.fc31.x86_64
kernel:         5.4.14-200.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
mpDris2:734:_update_properties:TypeError: 'bool' object is not subscriptable

Traceback (most recent call last):
  File "/usr/bin/mpDris2", line 454, in timer_callback
    self._update_properties(force=False)
  File "/usr/bin/mpDris2", line 734, in _update_properties
    if old_status['state'] != new_status['state']:
TypeError: 'bool' object is not subscriptable

Local variables in innermost frame:
self: <__main__.MPDWrapper object at 0x7f365b81ba50>
force: False
old_status: False
old_position: 228.723
old_time: 1580885354
new_status: {'volume': '40', 'repeat': '0', 'random': '1', 'single': '0', 'consume': '0', 'playlist': '2', 'playlistlength': '13080', 'mixrampdb': '0.000000', 'state': 'pause', 'song': '10067', 'songid': '10068', 'time': '229:240', 'elapsed': '228.723', 'bitrate': '320', 'duration': '239.647', 'audio': '44100:24:2', 'nextsong': '8546', 'nextsongid': '8547'}
new_time: 1580885355
new_position: 228.723

Comment 1 Vadim Raskhozhev 2020-02-05 06:52:12 UTC
Created attachment 1657752 [details]
File: backtrace

Comment 2 Vadim Raskhozhev 2020-02-05 06:52:13 UTC
Created attachment 1657753 [details]
File: cgroup

Comment 3 Vadim Raskhozhev 2020-02-05 06:52:15 UTC
Created attachment 1657754 [details]
File: cpuinfo

Comment 4 Vadim Raskhozhev 2020-02-05 06:52:16 UTC
Created attachment 1657755 [details]
File: environ

Comment 5 Vadim Raskhozhev 2020-02-05 06:52:18 UTC
Created attachment 1657756 [details]
File: mountinfo

Comment 6 Vadim Raskhozhev 2020-02-05 06:52:19 UTC
Created attachment 1657757 [details]
File: namespaces

Comment 7 Vadim Raskhozhev 2020-02-05 06:52:20 UTC
Created attachment 1657758 [details]
File: open_fds

Comment 8 "FeRD" (Frank Dana) 2020-02-05 10:38:53 UTC
Thanks for the report. I've submitted PR #128 upstream[1] to address the issue, and will get a new build out soon containing that patch.

[1]: https://github.com/eonpatapon/mpDris2/pull/128

Comment 9 Fedora Update System 2020-02-10 12:29:52 UTC
FEDORA-2020-15c8faf3af has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-15c8faf3af

Comment 10 Fedora Update System 2020-02-11 01:10:35 UTC
mpdris2-0.8-4.20200205git491588a.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a65e362fa3

Comment 11 Fedora Update System 2020-02-11 01:24:42 UTC
mpdris2-0.8-4.20200205git491588a.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-15c8faf3af

Comment 12 Fedora Update System 2020-02-19 01:28:07 UTC
mpdris2-0.8-4.20200205git491588a.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-02-19 01:53:17 UTC
mpdris2-0.8-4.20200205git491588a.fc31 has been pushed to the Fedora 31 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.