Bug 1262524

Summary: [abrt] dnf: main.py:94:main:NameError: global name 'self' is not defined
Product: [Fedora] Fedora Reporter: Gerhard <bugzilla>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bugzilla, jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/aec1acf4760b655731d7e98e2a2ecf4a677de307
Whiteboard: abrt_hash:f95385d77a19de08e2edf06a1c615f2f49b47db4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-14 12:04:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Gerhard 2015-09-12 07:27:45 UTC
Version-Release number of selected component:
dnf-1.1.1-1.fc22

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python -OO /bin/dnf install steam
dso_list:       python-dnf-1.1.1-1.fc22.noarch
executable:     /bin/dnf
kernel:         4.1.6-200.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
main.py:94:main:NameError: global name 'self' is not defined

Traceback (most recent call last):
  File "/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 195, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 94, in main
    demands = self.cli.demands
NameError: global name 'self' is not defined

Local variables in innermost frame:
base: <dnf.cli.cli.BaseCli object at 0x7fa9d3152dd0>
e: DepsolveError()
args: ['install', 'steam']

Comment 1 Gerhard 2015-09-12 07:27:49 UTC
Created attachment 1072682 [details]
File: backtrace

Comment 2 Gerhard 2015-09-12 07:27:50 UTC
Created attachment 1072683 [details]
File: environ

Comment 3 Michal Luscon 2015-09-14 12:04:07 UTC

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