Version-Release number of selected component: dnf-0.6.3-2.fc21 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python -OO /bin/dnf copr enable dvratil/plasma-5 dnf enable dvratil/kf5-next dso_list: dnf-plugins-core-0.1.4-1.fc21.noarch executable: /bin/dnf kernel: 3.18.3-201.fc21.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: copr.py:230:_download_repo:NameError: global name 'e' is not defined Traceback (most recent call last): File "/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 182, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 134, in _main cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1059, in run return self.command.run(self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf-plugins/copr.py", line 111, in run self._download_repo(project_name, repo_filename, chroot) File "/usr/lib/python2.7/site-packages/dnf-plugins/copr.py", line 230, in _download_repo raise dnf.exceptions.Error(str(e)) NameError: global name 'e' is not defined Local variables in innermost frame: api_path: '/coprs/dvratil/plasma-5/repo/dnf/' project_name: u'dvratil/plasma-5' repo_filename: '/etc/yum.repos.d/_copr_dvratil-plasma-5.repo' chroot: u'dnf' r: <Response [500]> cls: <class 'dnf.plugin.dynamic.copr.CoprCommand'>
Created attachment 986218 [details] File: backtrace
Created attachment 986219 [details] File: environ
I'm pretty sure this is a bug in dnf-plugins-core introduced by commit 88d7f2d. Mirek, can you please take a look?
Fixed in commit: * 6821df6 1187773 - replace undefined variable
dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21
Package hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.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 hawkey-0.5.3-2.fc21 dnf-plugins-core-0.1.5-1.fc21 dnf-0.6.4-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2139/dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21 then log in and leave karma (feedback).
hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.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.