Bug 1130431

Summary: [abrt] dnf: langpacks.py:379:__init__:AttributeError: 'Cli' object has no attribute 'logger'
Product: [Fedora] Fedora Reporter: Pavel Chalyi <c6h6nh2>
Component: dnf-langpacksAssignee: Parag Nemade <pnemade>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, jsilhan, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ce2c7db69417fc16932f57592db8181529306f61
Whiteboard: abrt_hash:087aadd670a76acd5921659419b63ee3f4d82e9d
Fixed In Version: dnf-langpacks-0.3.1-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-01 07:15:00 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 Pavel Chalyi 2014-08-15 08:25:48 UTC
Version-Release number of selected component:
dnf-0.6.0-1.fc22

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -OO /usr/bin/dnf list --cacheonly
dso_list:       dnf-langpacks-0.3.0-1.fc22.noarch
executable:     /usr/bin/dnf
kernel:         3.11.10-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
langpacks.py:379:__init__:AttributeError: 'Cli' object has no attribute 'logger'

Traceback (most recent call last):
  File "/usr/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 182, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 115, in _main
    cli.configure(map(ucd, args))
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 973, in configure
    self.base.plugins.run_init(self.base, self)
  File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 104, in run_init
    plugin = p_cls(base, cli)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/langpacks.py", line 379, in __init__
    cli.logger.debug("initialized Langpacks plugin")
AttributeError: 'Cli' object has no attribute 'logger'

Local variables in innermost frame:
self: <dnf.plugin.dynamic.langpacks.Langpacks object at 0x7f8b6000df90>
base: <dnf.cli.cli.BaseCli object at 0x7f8b612f7fd0>
cli: <dnf.cli.cli.Cli object at 0x7f8b6130a590>

Comment 1 Pavel Chalyi 2014-08-15 08:25:51 UTC
Created attachment 927012 [details]
File: backtrace

Comment 2 Pavel Chalyi 2014-08-15 08:25:52 UTC
Created attachment 927013 [details]
File: environ

Comment 3 Honza Silhan 2014-08-15 09:29:35 UTC
Hi, thanks for the report. We'll take a look.

Comment 4 Parag Nemade 2014-08-15 10:56:28 UTC
Thanks Jan. Let me check what happened to have this abrt here. I have yet not got time to test dnf-0.6.0 as its not on F20.

Comment 5 Parag Nemade 2014-09-01 07:14:41 UTC
This has been fixed now in dnf-langpacks-0.3.1-1.fc21