Bug 1114594

Summary: Failed loading plugin: copr (due to missing python-requests)
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: dnf-plugins-coreAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, msuchy, packaging-team-maint, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-30 13:15:40 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:

Description Miro Hrončok 2014-06-30 13:05:03 UTC
Description of problem:
copr plugin fails to load

Version-Release number of selected component (if applicable):
dnf-0.5.2-1.fc20.noarch
dnf-plugins-core-0.1.0-2.fc20.noarch

How reproducible:
On fresh Fedora 20 install 

Steps to Reproduce:
1. Install F20
2. Install dnf and dnf-plugins-core
3. Run dnf copr

Actual results:
# LANG=C dnf -v copr
Config time: 0.006
cachedir: /var/cache/dnf/x86_64/20
Failed loading plugin: copr
Loaded plugins: debuginfo-install, download, builddep, generate_completion_cache, noroot, kickstart, Query
initialized DebuginfoInstall plugin
initialized BuildDep plugin
initialized Noroot plugin
Initialized Query plugin
dnf version: 0.5.2
No such command: copr. Please use /bin/dnf --help
Cleaning up.


Expected results:
# LANG=C dnf -v copr
Config time: 0.006
cachedir: /var/cache/dnf/x86_64/20
Loaded plugins: debuginfo-install, download, builddep, generate_completion_cache, noroot, kickstart, copr, playground, Query
initialized DebuginfoInstall plugin
initialized BuildDep plugin
initialized Noroot plugin
initialized Copr plugin
initialized Playground plugin
Initialized Query plugin
dnf version: 0.5.2
Error: exactly two additional parameters to copr command are required
 Mini usage:

copr 
  enable name/project [chroot]
  disable name/project
  list name
  search project

  Examples:
  copr enable rhscl/perl516 epel-6-x86_64
  copr enable ignatenkobrain/ocltoys
  copr disable rhscl/perl516
  copr list ignatenkobrain
  copr search tests
    

Interact with Copr repositories.
Error: exactly two additional parameters to copr command are required
Cleaning up.

Additional info:
copr plugin needs python-requests, while dnf-plugins-core does not require it

Permission to fix this?

Comment 1 Tim Lauridsen 2014-06-30 13:14:18 UTC
Duplicate of 

https://bugzilla.redhat.com/show_bug.cgi?id=1104088

Comment 2 Ales Kozumplik 2014-06-30 13:15:40 UTC

*** This bug has been marked as a duplicate of bug 1104088 ***