Bug 1458986

Summary: [abrt] fusion-icon: util.py:247:__init__:TypeError: 'dict_keys' object does not support indexing
Product: [Fedora] Fedora Reporter: sajjad <sajjaddns>
Component: fusion-iconAssignee: Wolfgang Ulbrich <raveit65.sun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: raveit65.sun
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7afda40242a9335216c1e7dd5cb1b484a03e41b2
Whiteboard: abrt_hash:9670345273d493ed9e9cb774e37f305425921aa1;
Fixed In Version: fusion-icon-0.2.4-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-20 01:49:34 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
File: environ none

Description sajjad 2017-06-06 03:03:10 UTC
Version-Release number of selected component:
fusion-icon-0.2.3-1.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        /usr/bin/python3 -s /usr/bin/fusion-icon
executable:     /usr/bin/fusion-icon
kernel:         4.11.3-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
util.py:247:__init__:TypeError: 'dict_keys' object does not support indexing

Traceback (most recent call last):
  File "/usr/bin/fusion-icon", line 59, in <module>
    from FusionIcon.interface import choose_interface
  File "/usr/lib/python3.5/site-packages/FusionIcon/interface.py", line 22, in <module>
    from FusionIcon.util import env
  File "/usr/lib/python3.5/site-packages/FusionIcon/util.py", line 428, in <module>
    decorators = CompizDecorators(_installed)
  File "/usr/lib/python3.5/site-packages/FusionIcon/util.py", line 247, in __init__
    self.default = self.keys()[0]
TypeError: 'dict_keys' object does not support indexing

Local variables in innermost frame:
decorator: []
self: {'gwd': <FusionIcon.util.CompizDecorator object at 0x7ff0d588bac8>}
context: <compizconfig.Context object at 0x7ff0da26fba8>
installed: <FusionIcon.util.Installed object at 0x7ff0d5efd1d0>

Comment 1 sajjad 2017-06-06 03:03:15 UTC
Created attachment 1285194 [details]
File: backtrace

Comment 2 sajjad 2017-06-06 03:03:17 UTC
Created attachment 1285195 [details]
File: environ

Comment 3 Wolfgang Ulbrich 2017-06-11 06:24:42 UTC
This should fix the issue.
https://bodhi.fedoraproject.org/updates/FEDORA-2017-f06e0b64da

Comment 4 Fedora Update System 2017-06-12 06:32:07 UTC
fusion-icon-0.2.4-1.fc25 has been pushed to the Fedora 25 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-2017-f06e0b64da

Comment 5 Fedora Update System 2017-06-20 01:49:34 UTC
fusion-icon-0.2.4-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.