Bug 1144772 - [abrt] dnf: debuginfo-install.py:37:__init__:AttributeError: 'Cli' object has no attribute 'logger'
Summary: [abrt] dnf: debuginfo-install.py:37:__init__:AttributeError: 'Cli' object has...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:345d385f2571ae04a433e799998...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-20 15:29 UTC by Vadim Rutkovsky
Modified: 2014-09-22 07:48 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-22 07:48:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.18 KB, text/plain)
2014-09-20 15:29 UTC, Vadim Rutkovsky
no flags Details
File: environ (1.76 KB, text/plain)
2014-09-20 15:29 UTC, Vadim Rutkovsky
no flags Details

Description Vadim Rutkovsky 2014-09-20 15:29:35 UTC
Version-Release number of selected component:
dnf-0.6.1-1.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -OO /bin/dnf copr enable thm/geary
dso_list:       dnf-plugins-core-0.1.1-3.fc20.noarch
executable:     /bin/dnf
kernel:         3.16.2-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
debuginfo-install.py:37:__init__:AttributeError: 'Cli' object has no attribute 'logger'

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 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 974, 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/debuginfo-install.py", line 37, in __init__
    cli.logger.debug("initialized DebuginfoInstall plugin")
AttributeError: 'Cli' object has no attribute 'logger'

Local variables in innermost frame:
self: <dnf.plugin.dynamic.debuginfo-install.DebuginfoInstall object at 0x7f844af8b710>
base: <dnf.cli.cli.BaseCli object at 0x7f844c5f98d0>
cli: <dnf.cli.cli.Cli object at 0x7f844c581e90>

Comment 1 Vadim Rutkovsky 2014-09-20 15:29:38 UTC
Created attachment 939587 [details]
File: backtrace

Comment 2 Vadim Rutkovsky 2014-09-20 15:29:39 UTC
Created attachment 939588 [details]
File: environ

Comment 3 Parag Nemade 2014-09-20 15:34:41 UTC
This is fixed in F21 and F22 but not in f20 yet.

Comment 4 Ales Kozumplik 2014-09-22 06:41:37 UTC
Vadim,

can you please update your dnf-plugins-core and try again? The combination of the used versions (dnf-0.6.1 and dnf-plugins-core-0.1.1) is unsupported in this case I'm afraid.

Thanks!

Comment 5 Vadim Rutkovsky 2014-09-22 07:48:32 UTC
Sorry, my fault, for some reason dnf didn't want to install dnf-plugins-core-0.1.3-1.fc21.noarch until I specify '--releasever=21' - and now dnf works correctly, thanks


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