Bug 1208399
| Summary: | dnf-3 copr enable plautrba/selinux: NameError: name 'raw_input' is not defined | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Lautrbach <plautrba> |
| 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: | rawhide | CC: | jsilhan, lsm5, mluscon, msuchy, packaging-team-maint, pnemade, rholy, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-core-0.1.6-3.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-21 19:26:04 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: | |||
Yet another Python 3 incompatibility :( Mirek, can you please take a look? Fixed in commit: * 2772c9e migrate raw_input() to Python3 (RhBug:1208399) *** Bug 1208673 has been marked as a duplicate of this bug. *** 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). This works as expected for me now on rawhide. Thanks! 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. |
# dnf install dnf-plugins-core.noarch ... Installed: dnf-plugins-core.noarch 0.1.6-2.fc23 python3-dnf-plugins-core.noarch 0.1.6-2.fc23 Complete! # dnf copr enable plautrba/selinux Traceback (most recent call last): File "/usr/bin/dnf", 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 1064, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.4/site-packages/dnf-plugins/copr.py", line 111, in run Do you want to continue? [y/N]: """) File "/usr/lib/python3.4/site-packages/dnf-plugins/copr.py", line 179, in _ask_user answer = raw_input(question).lower() NameError: name 'raw_input' is not defined