Bug 1612127

Summary: [abrt] dnfdragora-updater: saveUserPreference(): ui.py:1082:saveUserPreference:TypeError: 'NoneType' object does not support item assignment
Product: [Fedora] Fedora Reporter: Фукидид <fukidid>
Component: dnfdragoraAssignee: Björn Esser (besser82) <besser82>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: besser82, lupinix.fedora, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c0b538cb7352bd959bcde844a7d6249f74f111b6
Whiteboard: abrt_hash:3f19959a046b062b5aa38d1b2232f82c187a8d16;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-28 22:50:30 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: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Фукидид 2018-08-03 14:21:57 UTC
Version-Release number of selected component:
dnfdragora-updater-1.0.1-10.git20180108.b0e8a66.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/dnfdragora-updater
crash_function: saveUserPreference
exception_type: TypeError
executable:     /usr/bin/dnfdragora-updater
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.9-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
ui.py:1082:saveUserPreference:TypeError: 'NoneType' object does not support item assignment

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pystray/_base.py", line 236, in inner
    callback(self)
  File "/usr/lib/python3.6/site-packages/pystray/_base.py", line 320, in __call__
    return self._action(icon, self)
  File "/usr/lib/python3.6/site-packages/pystray/_base.py", line 414, in wrapper1
    return action(icon)
  File "/usr/lib/python3.6/site-packages/dnfdragora/updater.py", line 131, in __run_dnfdragora
    return self.__run_dialog({})
  File "/usr/lib/python3.6/site-packages/dnfdragora/updater.py", line 120, in __run_dialog
    self.__main_gui.handleevent()
  File "/usr/lib/python3.6/site-packages/dnfdragora/ui.py", line 1295, in handleevent
    self.saveUserPreference()
  File "/usr/lib/python3.6/site-packages/dnfdragora/ui.py", line 1082, in saveUserPreference
    'filter': filter
TypeError: 'NoneType' object does not support item assignment

Local variables in innermost frame:
view: 'all'
filter: 'to_update'
self: <dnfdragora.ui.mainGui object at 0x7feaf22c04a8>

Comment 1 Фукидид 2018-08-03 14:22:02 UTC
Created attachment 1473017 [details]
File: backtrace

Comment 2 Фукидид 2018-08-03 14:22:04 UTC
Created attachment 1473018 [details]
File: cgroup

Comment 3 Фукидид 2018-08-03 14:22:05 UTC
Created attachment 1473019 [details]
File: cpuinfo

Comment 4 Фукидид 2018-08-03 14:22:06 UTC
Created attachment 1473020 [details]
File: environ

Comment 5 Фукидид 2018-08-03 14:22:08 UTC
Created attachment 1473021 [details]
File: mountinfo

Comment 6 Фукидид 2018-08-03 14:22:10 UTC
Created attachment 1473022 [details]
File: namespaces

Comment 7 Фукидид 2018-08-03 14:22:11 UTC
Created attachment 1473023 [details]
File: open_fds

Comment 8 Ben Cotton 2019-05-02 20:42:06 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 9 Ben Cotton 2019-05-28 22:50:30 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 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.