Bug 1049392 - [abrt] copr-cli: copr-cli:5:<module>:ImportError: No module named pkg_resources
Summary: [abrt] copr-cli: copr-cli:5:<module>:ImportError: No module named pkg_resources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: copr
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ae16df92c5e6f1986be7736b44b...
: 1054251 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-07 14:19 UTC by Vít Ondruch
Modified: 2014-01-17 05:51 UTC (History)
4 users (show)

Fixed In Version: copr-1.21-1.fc19
Clone Of:
Environment:
Last Closed: 2014-01-10 07:46:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (468 bytes, text/plain)
2014-01-07 14:20 UTC, Vít Ondruch
no flags Details
File: environ (2.88 KB, text/plain)
2014-01-07 14:20 UTC, Vít Ondruch
no flags Details

Description Vít Ondruch 2014-01-07 14:19:53 UTC
Description of problem:
$ copr-cli --help
Traceback (most recent call last):
  File "/usr/bin/copr-cli", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Version-Release number of selected component:
copr-cli-1.15-1.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python2 /usr/bin/copr-cli --help
executable:     /usr/bin/copr-cli
kernel:         3.12.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            16025

Truncated backtrace:
copr-cli:5:<module>:ImportError: No module named pkg_resources

Traceback (most recent call last):
  File "/usr/bin/copr-cli", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Local variables in innermost frame:
__builtins__: <module '__builtin__' (built-in)>
__file__: '/usr/bin/copr-cli'
__package__: None
sys: <module 'sys' (built-in)>
__requires__: 'copr-cli==0.1.0'
__name__: '__main__'
__doc__: None

Comment 1 Vít Ondruch 2014-01-07 14:20:13 UTC
Created attachment 846694 [details]
File: backtrace

Comment 2 Vít Ondruch 2014-01-07 14:20:25 UTC
Created attachment 846695 [details]
File: environ

Comment 3 Bohuslav "Slavek" Kabrda 2014-01-07 14:29:05 UTC
copr-cli is missing Requires: python-setuptools (if a package uses an entry point, it always requries setuptools to run).

Comment 4 Vít Ondruch 2014-01-07 14:30:47 UTC
Heh, was going to point that out right now :) "$ sudo dnf install python-setuptools" was the cured the issue for me.

Comment 5 Miroslav Suchý 2014-01-07 22:53:53 UTC
Fixed in upstream in commit c6edc18

Comment 6 Fedora Update System 2014-01-08 14:20:32 UTC
copr-1.20-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/copr-1.20-1.fc19

Comment 7 Fedora Update System 2014-01-08 14:21:35 UTC
copr-1.20-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/copr-1.20-1.fc20

Comment 8 lnie 2014-01-09 03:00:26 UTC
copr-1.20-1.fc20 works fine

Comment 9 Fedora Update System 2014-01-09 07:37:33 UTC
Package copr-1.21-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing copr-1.21-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0438/copr-1.21-1.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-01-10 07:46:12 UTC
copr-1.21-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Miroslav Suchý 2014-01-16 16:52:52 UTC
*** Bug 1054251 has been marked as a duplicate of this bug. ***

Comment 12 Fedora Update System 2014-01-17 05:51:41 UTC
copr-1.21-1.fc19 has been pushed to the Fedora 19 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.