Bug 1053308

Summary: [abrt] policycoreutils-devel: gui.py:1858:on_show_modified_only:KeyError: 'user'
Product: [Fedora] Fedora Reporter: Farid <shawnx>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2f750cc0084c301e6f7c10e65a9865f1cf9b6d25
Whiteboard: abrt_hash:7fffa79f07b0a573ec6ea2d9941048dea819d3cd
Fixed In Version: policycoreutils-2.2.5-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-10 03:15:51 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 Farid 2014-01-15 00:52:33 UTC
Version-Release number of selected component:
policycoreutils-devel-2.2.5-1.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python -Es /usr/bin/sepolicy gui
dso_list:       policycoreutils-gui-2.2.5-1.fc20.x86_64
executable:     /usr/bin/sepolicy
kernel:         3.12.7-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
gui.py:1858:on_show_modified_only:KeyError: 'user'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/sepolicy/gui.py", line 1858, in on_show_modified_only
    if row[0] in self.cust_dict["user"]:
KeyError: 'user'

Local variables in innermost frame:
dup_row: <function dup_row at 0x2c1a938>
self: <sepolicy.gui.SELinuxGui instance at 0x2bb5ef0>
checkbutton: <CheckButton object at 0x2c2b7d0 (GtkCheckButton at 0x2ceade0)>
append_list: []
length: 5
row: <gi.overrides.Gtk.TreeModelRow object at 0x327c450>

Comment 1 Farid 2014-01-15 00:52:38 UTC
Created attachment 850313 [details]
File: backtrace

Comment 2 Farid 2014-01-15 00:52:39 UTC
Created attachment 850314 [details]
File: environ

Comment 4 Daniel Walsh 2014-01-16 17:38:33 UTC
Fixed in policycoreutils-2.2.5-3.fc20

Comment 5 Fedora Update System 2014-01-16 20:23:43 UTC
policycoreutils-2.2.5-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/policycoreutils-2.2.5-3.fc20

Comment 6 Fedora Update System 2014-01-18 04:29:15 UTC
Package policycoreutils-2.2.5-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing policycoreutils-2.2.5-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1089/policycoreutils-2.2.5-3.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-02-10 03:15:51 UTC
policycoreutils-2.2.5-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.