Bug 1955907 - dnf playground throws an error
Summary: dnf playground throws an error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 34
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Silvie Chlupova
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-09-24 20:32 UTC (History)
10 users (show)

Fixed In Version: dnf-plugins-core-4.0.23-1.fc34
Clone Of:
Environment:
Last Closed: 2021-09-24 20:32:29 UTC
Type: Bug
Embargoed:


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 is the assignee to use.

Comment 3 Fedora Update System 2021-09-23 13:04:49 UTC
FEDORA-2021-a3a73697b8 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a3a73697b8

Comment 4 Fedora Update System 2021-09-23 19:41:48 UTC
FEDORA-2021-a3a73697b8 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a3a73697b8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a3a73697b8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-09-24 20:32:29 UTC
FEDORA-2021-a3a73697b8 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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