Bug 1208673 - dnf-3 copr enable user/project gives traceback
Summary: dnf-3 copr enable user/project gives traceback
Keywords:
Status: CLOSED DUPLICATE of bug 1208399
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-02 19:56 UTC by Lokesh Mandvekar
Modified: 2015-04-03 09:06 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-03 04:02:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lokesh Mandvekar 2015-04-02 19:56:28 UTC
Description of problem:

unable to add a copr repository on rawhide

Version-Release number of selected component (if applicable):
dnf-plugins-core-0.1.6-2.fc23.noarch


How reproducible: always


Steps to Reproduce:
1. sudo dnf copr enable lsm5/rkt


Actual results:
Traceback (most recent call last):
  File "/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 185, 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 1071, 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



Expected results: repository should be enabled

Comment 1 Lokesh Mandvekar 2015-04-03 03:31:01 UTC
btw, this does work as expected on my f21 instance.

Comment 2 Parag Nemade 2015-04-03 04:02:29 UTC

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


Note You need to log in before you can comment on or make changes to this bug.