Bug 2012236

Summary: [abrt] policycoreutils-gui: gen_interfaces(): selinux-polgengui:353:__init__:AttributeError: 'ValueError' object has no attribute 'message'
Product: [Fedora] Fedora Reporter: ricky.tigg
Component: policycoreutilsAssignee: Petr Lautrbach <plautrba>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: dwalsh, grepl.miroslav, lvrabec, mmalik, plautrba, vmojzis
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/282e3bb5fd177c308dd550f99fe4ec7be9bae5b5
Whiteboard: abrt_hash:6a9800f392d827dfa76414638da71153c6114b3e;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-13 15:39:13 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: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description ricky.tigg 2021-10-08 15:50:46 UTC
Version-Release number of selected component:
policycoreutils-gui-3.2-6.fc35

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-selinux\x2dpolgengui-72912.scope
cmdline:        /usr/bin/python3 -Es /usr/bin/selinux-polgengui
crash_function: gen_interfaces
exception_type: ValueError
executable:     /usr/bin/selinux-polgengui
interpreter:    python3-3.10.0-1.fc35.x86_64
kernel:         5.14.9-300.fc35.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
selinux-polgengui:353:__init__:AttributeError: 'ValueError' object has no attribute 'message'

Traceback (most recent call last):
  File "/usr/bin/selinux-polgengui", line 345, in __init__
    for u in sepolicy.interface.get_user():
  File "/usr/lib/python3.10/site-packages/sepolicy/interface.py", line 111, in get_user
    for i in sepolicy.get_methods():
  File "/usr/lib/python3.10/site-packages/sepolicy/__init__.py", line 798, in get_methods
    gen_interfaces()
  File "/usr/lib/python3.10/site-packages/sepolicy/__init__.py", line 880, in gen_interfaces
    raise ValueError(_("You must regenerate interface info by running /usr/bin/sepolgen-ifgen"))
ValueError: You must regenerate interface info by running /usr/bin/sepolgen-ifgen

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/selinux-polgengui", line 783, in <module>
    app = childWindow()
  File "/usr/bin/selinux-polgengui", line 353, in __init__
    self.error(e.message)
AttributeError: 'ValueError' object has no attribute 'message'

Local variables in innermost frame:
self: <__main__.childWindow object at 0x7fef7783fd60>
label: <Gtk.TreeView object at 0x7fef7768d640 (GtkTreeView at 0x55f9fe1543c0)>
handlers: {'on_delete_clicked': <bound method childWindow.delete of <__main__.childWindow object at 0x7fef7783fd60>>, 'on_delete_boolean_clicked': <bound method childWindow.delete_boolean of <__main__.childWindow object at 0x7fef7783fd60>>, 'on_exec_select_clicked': <bound method childWindow.exec_select of <__main__.childWindow object at 0x7fef7783fd60>>, 'on_init_script_select_clicked': <bound method childWindow.init_script_select of <__main__.childWindow object at 0x7fef7783fd60>>, 'on_add_clicked': <bound method childWindow.add of <__main__.childWindow object at 0x7fef7783fd60>>, 'on_add_boolean_clicked': <bound method childWindow.add_boolean of <__main__.childWindow object at 0x7fef7783fd60>>, 'on_add_dir_clicked': <bound method childWindow.add_dir of <__main__.childWindow object at 0x7fef7783fd60>>, 'on_about_clicked': <bound method childWindow.on_about_clicked of <__main__.childWindow object at 0x7fef7783fd60>>}
i: 'xguest_u'
b: <Gtk.CheckButton object at 0x7fef7768d5c0 (GtkCheckButton at 0x55f9fe124570)>
col: <Gtk.TreeViewColumn object at 0x7fef747c04c0 (GtkTreeViewColumn at 0x55f9ff162e60)>
iter: <Gtk.TreeIter object at 0x7fef747738e0 (GtkTreeIter at 0x55f9fddb6b60)>

Potential duplicate: bug 1594696

Comment 1 ricky.tigg 2021-10-08 15:50:49 UTC
Created attachment 1830891 [details]
File: backtrace

Comment 2 ricky.tigg 2021-10-08 15:50:52 UTC
Created attachment 1830892 [details]
File: cpuinfo

Comment 3 ricky.tigg 2021-10-08 15:50:53 UTC
Created attachment 1830893 [details]
File: environ

Comment 4 ricky.tigg 2021-10-08 15:50:54 UTC
Created attachment 1830894 [details]
File: mountinfo

Comment 5 ricky.tigg 2021-10-08 15:50:56 UTC
Created attachment 1830895 [details]
File: namespaces

Comment 6 ricky.tigg 2021-10-08 15:50:57 UTC
Created attachment 1830896 [details]
File: open_fds

Comment 7 Ben Cotton 2022-11-29 17:08:02 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
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
'version' of '35'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Ben Cotton 2022-12-13 15:39:13 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 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 Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

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