Bug 1648516 - [abrt] setroubleshoot-server: results(): typeattrquery.py:65:results:AttributeError: 'NoneType' object has no attribute 'typeattributes'
Summary: [abrt] setroubleshoot-server: results(): typeattrquery.py:65:results:Attribut...
Keywords:
Status: CLOSED DUPLICATE of bug 1558861
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6cea73593a0b597c73a3a7978ad...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-10 07:58 UTC by Stephen Baber
Modified: 2018-11-29 12:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-29 12:25:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (975 bytes, text/plain)
2018-11-10 07:58 UTC, Stephen Baber
no flags Details
File: cgroup (331 bytes, text/plain)
2018-11-10 07:58 UTC, Stephen Baber
no flags Details
File: cpuinfo (1.11 KB, text/plain)
2018-11-10 07:58 UTC, Stephen Baber
no flags Details
File: environ (1.36 KB, text/plain)
2018-11-10 07:58 UTC, Stephen Baber
no flags Details
File: mountinfo (3.39 KB, text/plain)
2018-11-10 07:58 UTC, Stephen Baber
no flags Details
File: namespaces (129 bytes, text/plain)
2018-11-10 07:58 UTC, Stephen Baber
no flags Details
File: open_fds (262 bytes, text/plain)
2018-11-10 07:58 UTC, Stephen Baber
no flags Details

Description Stephen Baber 2018-11-10 07:58:06 UTC
Version-Release number of selected component:
setroubleshoot-server-3.3.17-1.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 -Es /usr/bin/sealert -b
crash_function: results
exception_type: AttributeError
executable:     /usr/bin/sealert
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.18.17-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
typeattrquery.py:65:results:AttributeError: 'NoneType' object has no attribute 'typeattributes'

Traceback (most recent call last):
  File "/usr/bin/sealert", line 56, in <module>
    from setroubleshoot.util import get_identity, load_plugins, log_init, log_debug
  File "/usr/lib/python3.6/site-packages/setroubleshoot/util.py", line 326, in <module>
    file_types =  get_all_file_types()
  File "/usr/lib/python3.6/site-packages/sepolicy/__init__.py", line 914, in get_all_file_types
    file_types = list(sorted(info(ATTRIBUTE, "file_type"))[0]["types"])
  File "/usr/lib/python3.6/site-packages/sepolicy/__init__.py", line 197, in <genexpr>
    return ({
  File "/usr/lib64/python3.6/site-packages/setools/typeattrquery.py", line 65, in results
    for attr in self.policy.typeattributes():
AttributeError: 'NoneType' object has no attribute 'typeattributes'

Local variables in innermost frame:
self: <setools.typeattrquery.TypeAttributeQuery object at 0x7f26ff5b9e48>

Potential duplicate: bug 1528993

Comment 1 Stephen Baber 2018-11-10 07:58:10 UTC
Created attachment 1503948 [details]
File: backtrace

Comment 2 Stephen Baber 2018-11-10 07:58:11 UTC
Created attachment 1503949 [details]
File: cgroup

Comment 3 Stephen Baber 2018-11-10 07:58:12 UTC
Created attachment 1503950 [details]
File: cpuinfo

Comment 4 Stephen Baber 2018-11-10 07:58:13 UTC
Created attachment 1503951 [details]
File: environ

Comment 5 Stephen Baber 2018-11-10 07:58:14 UTC
Created attachment 1503952 [details]
File: mountinfo

Comment 6 Stephen Baber 2018-11-10 07:58:15 UTC
Created attachment 1503953 [details]
File: namespaces

Comment 7 Stephen Baber 2018-11-10 07:58:15 UTC
Created attachment 1503954 [details]
File: open_fds

Comment 8 Vit Mojzis 2018-11-29 12:25:49 UTC

*** This bug has been marked as a duplicate of bug 1558861 ***


Note You need to log in before you can comment on or make changes to this bug.