Description of problem: I used dnf-3 with copr plugin. Version-Release number of selected component: python3-dnf-0.6.3-2.fc21 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python3 -OO /bin/dnf-3 --enablerepo=updates-testing copr search sssd executable: /bin/dnf-3 kernel: 3.18.7-200.fc21.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: copr.py:146:run:AttributeError: 'module' object has no attribute 'FancyURLopener' Traceback (most recent call last): File "/bin/dnf-3", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 182, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 134, in _main cli.run() File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1059, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.4/site-packages/dnf-plugins/copr.py", line 146, in run opener = urllib.FancyURLopener({}) AttributeError: 'module' object has no attribute 'FancyURLopener' Local variables in innermost frame: project_name: 'sssd' api_path: '/api/coprs/search/sssd/' subcommand: 'search' repo_filename: '/etc/yum.repos.d/_copr_sssd.repo' chroot: 'fedora-21-x86_64' self: <dnf.plugin.dynamic.copr.CoprCommand object at 0x7f3a14cc8b70> extcmds: ['search', 'sssd']
Created attachment 992168 [details] File: backtrace
Created attachment 992169 [details] File: environ
It seems like another Python 2/3 incompatibility in the COPR plugin. Mirek, can you please take a look?
I will wait untill https://github.com/rpm-software-management/dnf-plugins-core/pull/65/ is merged so I can use: dnfpluginscore.lib.urlopen()
Fixed in: * 331fec3 use dnfpluginscore.lib.urlopen() (RhBug:1193047)
dnf-plugins-core-0.1.6-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.6-3.fc22
Package dnf-plugins-core-0.1.6-3.fc22: * should fix your issue, * was pushed to the Fedora 22 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.6-3.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5951/dnf-plugins-core-0.1.6-3.fc22 then log in and leave karma (feedback).
dnf-plugins-core-0.1.6-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.