Bug 1528993 - [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: 27
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: 2017-12-25 16:48 UTC by musasji
Modified: 2018-11-27 15:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-27 15:18:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (975 bytes, text/plain)
2017-12-25 16:48 UTC, musasji
no flags Details
File: cgroup (289 bytes, text/plain)
2017-12-25 16:48 UTC, musasji
no flags Details
File: cpuinfo (1.37 KB, text/plain)
2017-12-25 16:48 UTC, musasji
no flags Details
File: environ (1.86 KB, text/plain)
2017-12-25 16:48 UTC, musasji
no flags Details
File: mountinfo (3.27 KB, text/plain)
2017-12-25 16:48 UTC, musasji
no flags Details
File: namespaces (129 bytes, text/plain)
2017-12-25 16:48 UTC, musasji
no flags Details
File: open_fds (237 bytes, text/plain)
2017-12-25 16:48 UTC, musasji
no flags Details

Description musasji 2017-12-25 16:48:12 UTC
Version-Release number of selected component:
setroubleshoot-server-3.3.14-1.fc27

Additional info:
reporter:       libreport-2.9.3
cmdline:        /usr/bin/python3 -Es /usr/bin/sealert -b
crash_function: results
exception_type: AttributeError
executable:     /usr/bin/sealert
kernel:         4.14.7-300.fc27.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 0x7f35fefa76a0>

Comment 1 musasji 2017-12-25 16:48:19 UTC
Created attachment 1372178 [details]
File: backtrace

Comment 2 musasji 2017-12-25 16:48:21 UTC
Created attachment 1372179 [details]
File: cgroup

Comment 3 musasji 2017-12-25 16:48:22 UTC
Created attachment 1372180 [details]
File: cpuinfo

Comment 4 musasji 2017-12-25 16:48:24 UTC
Created attachment 1372181 [details]
File: environ

Comment 5 musasji 2017-12-25 16:48:26 UTC
Created attachment 1372182 [details]
File: mountinfo

Comment 6 musasji 2017-12-25 16:48:29 UTC
Created attachment 1372183 [details]
File: namespaces

Comment 7 musasji 2017-12-25 16:48:31 UTC
Created attachment 1372184 [details]
File: open_fds

Comment 8 Ben Cotton 2018-11-27 14:32:20 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. 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 '27'.

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 27 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 Vit Mojzis 2018-11-27 15:18:06 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.