Bug 1104088
| Summary: | Failed loading plugin: copr / ImportError: No module named requests | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Monreal <michael.monreal> |
| Component: | dnf-plugins-core | Assignee: | Miroslav Suchý <msuchy> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | akozumpl, mhroncok, packaging-team-maint, pnemade, rholy, tim.lauridsen, travneff |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-core-0.1.1-2.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-09 02:30:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Moving to Mirek. Mirek, I see this as further evidence that copr should be split out of the core plugins since by adding this dependency all users that need one of the other core plugins but not the copr plugin will have to have installed python-request. Fixed in: * e87fab2 build: add python-requests to requires (RHBZ: 1104088) *** Bug 1114594 has been marked as a duplicate of this bug. *** dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.5.3-1.fc20,hawkey-0.4.17-1.fc20,dnf-plugins-core-0.1.1-2.fc20 Package dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.1-2.fc20 dnf-0.5.3-1.fc20 hawkey-0.4.17-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-8167/dnf-0.5.3-1.fc20,hawkey-0.4.17-1.fc20,dnf-plugins-core-0.1.1-2.fc20 then log in and leave karma (feedback). dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. dnf-3 has the same with python3-requests |
Description of problem: (split out from #1094396) Failed loading plugin: copr From the log: Jun 03 11:09:26 ERROR Failed loading plugin: copr Jun 03 11:09:26 SUBDEBUG Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 119, in import_modules module = importlib.import_module(name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/dnf-plugins/copr.py", line 29, in <module> import requests ImportError: No module named requests Version-Release number of selected component (if applicable): dnf-plugins-core-0.0.8-2.fc20.noarch How reproducible: 100% Steps to Reproduce: 1. dnf update Additional info: On my system, the "python-requests" package was not installed. It should be in the requires of dnf-plugins-core. After adding the package manually, the plugin works again.