Bug 1024794 - dnf grouplist exeption: "NameError: global name 'patterns' is not defined"
Summary: dnf grouplist exeption: "NameError: global name 'patterns' is not defined"
Keywords:
Status: CLOSED DUPLICATE of bug 1020101
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
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: 2013-10-30 13:00 UTC by Joachim Backes
Modified: 2013-10-30 13:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-30 13:42:26 UTC
Type: Bug


Attachments (Terms of Use)

Description Joachim Backes 2013-10-30 13:00:31 UTC
Description of problem:

running "dnf grouplist" fails:
NameError: global name 'patterns' is not defined

Version-Release number of selected component (if applicable):
dnf-0.4.5-1.fc20.noarch

How reproducible:
always

Steps to Reproduce:
1.dnf grouplist
2.
3.

Actual results:
Setting up Group Process
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/python2.7/site-packages/dnf/cli/main.py", line 272, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 133, in _main
    result, resultmsgs = cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1305, in run
    return self.command.doCommand(self.base.basecmd, self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 873, in doCommand
    return self.base.returnGroupSummary(extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 832, in returnGroupSummary
    installed, available = self.group_lists(uservisible, patterns)
NameError: global name 'patterns' is not defined


Expected results:
grouplist is shown

Additional info:

Comment 1 Ales Kozumplik 2013-10-30 13:42:26 UTC
Hello this is fixed in the dnf version that was released today. See bug 1020101.

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


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