Bug 1049392
| Summary: | [abrt] copr-cli: copr-cli:5:<module>:ImportError: No module named pkg_resources | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||||
| Component: | copr | Assignee: | Miroslav Suchý <msuchy> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 20 | CC: | bkabrda, jpacner, lnie, msuchy | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/238159e24a984a81112c316697ef7cdcab279625 | ||||||||
| Whiteboard: | abrt_hash:ae16df92c5e6f1986be7736b44b57ae423244948 | ||||||||
| Fixed In Version: | copr-1.21-1.fc19 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-01-10 07:46:12 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: |
|
||||||||
Created attachment 846694 [details]
File: backtrace
Created attachment 846695 [details]
File: environ
copr-cli is missing Requires: python-setuptools (if a package uses an entry point, it always requries setuptools to run). Heh, was going to point that out right now :) "$ sudo dnf install python-setuptools" was the cured the issue for me. Fixed in upstream in commit c6edc18 copr-1.20-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/copr-1.20-1.fc19 copr-1.20-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/copr-1.20-1.fc20 copr-1.20-1.fc20 works fine 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). 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. *** Bug 1054251 has been marked as a duplicate of this bug. *** 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. |
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