Bug 1178548 - [abrt] python3-cpuinfo: pkg_resources.py:567:resolve:DistributionNotFound: py-cpuinfo==0.1.2
Summary: [abrt] python3-cpuinfo: pkg_resources.py:567:resolve:DistributionNotFound: py...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cpuinfo
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:222dedc72147590dffb39bf13ae...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-04 19:12 UTC by Scott Worley
Modified: 2015-02-22 06:03 UTC (History)
2 users (show)

Fixed In Version: python-cpuinfo-0.1.4-1.fc21
Clone Of:
Environment:
Last Closed: 2015-02-15 02:58:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (916 bytes, text/plain)
2015-01-04 19:12 UTC, Scott Worley
no flags Details
File: environ (2.82 KB, text/plain)
2015-01-04 19:12 UTC, Scott Worley
no flags Details

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.


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