Bug 1955907 - dnf playground throws an error
Summary: dnf playground throws an error
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 34
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Copr Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-01 11:27 UTC by glebsmirnov0708
Modified: 2021-05-10 11:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description glebsmirnov0708 2021-05-01 11:27:07 UTC
Description of problem:

`dnf playground` with any of its subcommands (enable, disable and upgrade) throws an error and fails.


Version-Release number of selected component (if applicable):

4.0.19


How reproducible:

Always


Steps to Reproduce:

1. Open terminal
2. Run `dnf playground enable` or `dnf playground disable` or `dnf playground upgrade`


Actual results:

Python throws an error


Expected results:

DNF enables, disables or upgrades Playground repo


Additional info:

Thrown error:

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 201, in user_main
    errcode = main(args)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 67, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 102, in _main
    cli.configure(list(map(ucd, args)), option_parser())
  File "/usr/lib/python3.9/site-packages/dnf/cli/cli.py", line 881, in configure
    self.command.configure()
  File "/usr/lib/python3.9/site-packages/dnf-plugins/copr.py", line 144, in configure
    if len(self.opts.arg):
AttributeError: 'Namespace' object has no attribute 'arg'

Comment 1 Lukáš Hrázký 2021-05-03 13:35:11 UTC
Pavel, reassigning to you, seems like a copr plugin bug.

In case there's a different procedure to assign bugs to the Copr team, let me know, thanks.

Comment 2 Lukáš Hrázký 2021-05-03 13:59:00 UTC
Actually, seems copr-team@redhat.com is the assignee to use.


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