Bug 1130431 - [abrt] dnf: langpacks.py:379:__init__:AttributeError: 'Cli' object has no attribute 'logger'
Summary: [abrt] dnf: langpacks.py:379:__init__:AttributeError: 'Cli' object has no att...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-langpacks
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:087aadd670a76acd5921659419b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-15 08:25 UTC by Pavel Chalyi
Modified: 2014-09-01 07:15 UTC (History)
5 users (show)

Fixed In Version: dnf-langpacks-0.3.1-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-01 07:15:00 UTC


Attachments (Terms of Use)
File: backtrace (1.15 KB, text/plain)
2014-08-15 08:25 UTC, Pavel Chalyi
no flags Details
File: environ (2.41 KB, text/plain)
2014-08-15 08:25 UTC, Pavel Chalyi
no flags Details

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


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