Bug 1178548

Summary: [abrt] python3-cpuinfo: pkg_resources.py:567:resolve:DistributionNotFound: py-cpuinfo==0.1.2
Product: [Fedora] Fedora Reporter: Scott Worley <dswbike>
Component: python-cpuinfoAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: lnie, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2512f1c49e8a2cb3d47b8212f685cb7c7eff693b
Whiteboard: abrt_hash:222dedc72147590dffb39bf13aef18e4d296c566
Fixed In Version: python-cpuinfo-0.1.4-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-15 02:58:47 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 Scott Worley 2015-01-04 19:12:00 UTC
Description of problem:
Running cpuinfo from terminal as normal user.

Version-Release number of selected component:
python3-cpuinfo-0.1.2-2.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python2 /usr/bin/cpuinfo
dso_list:       python-setuptools-2.0-8.fc21.noarch
executable:     /usr/bin/cpuinfo
kernel:         3.17.7-300.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
pkg_resources.py:567:resolve:DistributionNotFound: py-cpuinfo==0.1.2

Traceback (most recent call last):
  File "/usr/bin/cpuinfo", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2709, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 664, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 567, in resolve
    raise DistributionNotFound(req)
DistributionNotFound: py-cpuinfo==0.1.2

Local variables in innermost frame:
dist: None
to_activate: []
req: Requirement.parse('py-cpuinfo==0.1.2')
requirements: []
processed: {}
env: <pkg_resources.Environment object at 0x7fdb4ce71bd0>
installer: None
self: <pkg_resources.WorkingSet object at 0x7fdb4ce71b90>
best: {'py-cpuinfo': None}

Comment 1 Scott Worley 2015-01-04 19:12:02 UTC
Created attachment 976037 [details]
File: backtrace

Comment 2 Scott Worley 2015-01-04 19:12:03 UTC
Created attachment 976038 [details]
File: environ

Comment 3 Fedora Update System 2015-02-03 17:06:16 UTC
python-cpuinfo-0.1.2-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-cpuinfo-0.1.2-3.fc21

Comment 4 Fedora Update System 2015-02-04 08:02:18 UTC
Package python-cpuinfo-0.1.2-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-cpuinfo-0.1.2-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1663/python-cpuinfo-0.1.2-3.fc21
then log in and leave karma (feedback).

Comment 5 lnie 2015-02-05 08:32:55 UTC
Tested with python-cpuinfo-0.1.2-3.fc21,the crash is still there

Comment 6 Parag Nemade 2015-02-05 08:42:41 UTC
Thanks lnie. Can you report that as a new bug?

Comment 7 Parag Nemade 2015-02-06 03:26:06 UTC
I tested on some other physical machine and found cpuinfo command working fine. If anyone see crash please report new bugzilla with all the details.

Comment 8 lnie 2015-02-09 04:20:35 UTC
(In reply to Parag from comment #6)
> Thanks lnie. Can you report that as a new bug?

sure,opened one #bz1190549

Comment 9 Fedora Update System 2015-02-12 03:35:29 UTC
python-cpuinfo-0.1.4-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-cpuinfo-0.1.4-1.fc21

Comment 10 Fedora Update System 2015-02-15 02:58:47 UTC
python-cpuinfo-0.1.2-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-02-22 06:03:08 UTC
python-cpuinfo-0.1.4-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.