Bug 1631785 - [abrt] policycoreutils-python-utils: module(): __init__.py:24:<module>:AttributeError: module 'pkg_resources' has no attribute 'get_distribution'
Summary: [abrt] policycoreutils-python-utils: module(): __init__.py:24:<module>:Attrib...
Keywords:
Status: CLOSED DUPLICATE of bug 1550368
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pip
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Orsava
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:296380b929456e42d359b25205a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-21 14:50 UTC by yuhan
Modified: 2018-09-24 12:19 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-24 12:19:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (7.55 KB, text/plain)
2018-09-21 14:50 UTC, yuhan
no flags Details
File: cgroup (399 bytes, text/plain)
2018-09-21 14:50 UTC, yuhan
no flags Details
File: cpuinfo (1.41 KB, text/plain)
2018-09-21 14:50 UTC, yuhan
no flags Details
File: environ (2.16 KB, text/plain)
2018-09-21 14:50 UTC, yuhan
no flags Details
File: mountinfo (3.89 KB, text/plain)
2018-09-21 14:50 UTC, yuhan
no flags Details
File: namespaces (129 bytes, text/plain)
2018-09-21 14:50 UTC, yuhan
no flags Details
File: open_fds (254 bytes, text/plain)
2018-09-21 14:50 UTC, yuhan
no flags Details

Description yuhan 2018-09-21 14:50:42 UTC
Version-Release number of selected component:
policycoreutils-python-utils-2.8-1.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 -Es /sbin/semanage fcontext -a -t bin_t /usr/lib/chromium-browser
crash_function: module
exception_type: AttributeError
executable:     /sbin/semanage
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.18.7-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
#1 <module> in /usr/lib64/python3.6/site-packages/setools/__init__.py:24
#2 <module> in /usr/lib/python3.6/site-packages/sepolicy/__init__.py:9
#3 <module> in /usr/lib/python3.6/site-packages/seobject.py:34
#4 <module> in /sbin/semanage:28

Comment 1 yuhan 2018-09-21 14:50:48 UTC
Created attachment 1485625 [details]
File: backtrace

Comment 2 yuhan 2018-09-21 14:50:50 UTC
Created attachment 1485626 [details]
File: cgroup

Comment 3 yuhan 2018-09-21 14:50:51 UTC
Created attachment 1485627 [details]
File: cpuinfo

Comment 4 yuhan 2018-09-21 14:50:53 UTC
Created attachment 1485629 [details]
File: environ

Comment 5 yuhan 2018-09-21 14:50:54 UTC
Created attachment 1485630 [details]
File: mountinfo

Comment 6 yuhan 2018-09-21 14:50:55 UTC
Created attachment 1485631 [details]
File: namespaces

Comment 7 yuhan 2018-09-21 14:50:57 UTC
Created attachment 1485632 [details]
File: open_fds

Comment 8 Petr Lautrbach 2018-09-21 15:35:49 UTC
  File "/usr/lib64/python3.6/site-packages/setools/__init__.py", line 24, in <module>
    __version__ = pkg_resources.get_distribution("setools").version
AttributeError: module 'pkg_resources' has no attribute 'get_distribution'

Do you use pip? Please see https://bugzilla.redhat.com/show_bug.cgi?id=1550368#c21 and later

Comment 9 Petr Viktorin (pviktori) 2018-09-24 12:19:14 UTC

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


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