Bug 902868 - [abrt] AttributeError: 'YumBaseCli' object has no attribute 'rpmdb'
Summary: [abrt] AttributeError: 'YumBaseCli' object has no attribute 'rpmdb'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f1272cba5a45c97907057b754b1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-22 15:12 UTC by Filipe Sousa
Modified: 2014-09-30 23:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-08 13:29:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1006 bytes, text/plain)
2013-01-22 15:12 UTC, Filipe Sousa
no flags Details
File: core_backtrace (509 bytes, text/plain)
2013-01-22 15:12 UTC, Filipe Sousa
no flags Details
File: environ (1.83 KB, text/plain)
2013-01-22 15:13 UTC, Filipe Sousa
no flags Details
File: smolt_data (4.23 KB, text/plain)
2013-01-22 15:13 UTC, Filipe Sousa
no flags Details

Description Filipe Sousa 2013-01-22 15:12:53 UTC
Description of problem:
dnf upgrade

Version-Release number of selected component:
dnf-0.2.17-1.git6a055e6.fc18

Additional info:
cmdline:        /usr/bin/python /bin/dnf upgrade
executable:     /bin/dnf
kernel:         3.7.2-204.fc18.x86_64
uid:            0

Truncated backtrace:
__init__.py:780:yumUtilsMsg:AttributeError: 'YumBaseCli' object has no attribute 'rpmdb'

Traceback (most recent call last):
  File "/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 314, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 182, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.7/site-packages/dnf/yum/__init__.py", line 847, in buildTransaction
    self.yumUtilsMsg(self.logger.critical, "yum-complete-transaction")
  File "/usr/lib/python2.7/site-packages/dnf/yum/__init__.py", line 780, in yumUtilsMsg
    if self.rpmdb.contains(name="yum-utils"):
AttributeError: 'YumBaseCli' object has no attribute 'rpmdb'

Local variables in innermost frame:
prog: 'yum-complete-transaction'
self: <dnf.cli.cli.YumBaseCli object at 0x1f59650>
func: <bound method Logger.critical of <logging.Logger object at 0x1f597d0>>

Comment 1 Filipe Sousa 2013-01-22 15:12:56 UTC
Created attachment 685220 [details]
File: backtrace

Comment 2 Filipe Sousa 2013-01-22 15:12:59 UTC
Created attachment 685221 [details]
File: core_backtrace

Comment 3 Filipe Sousa 2013-01-22 15:13:03 UTC
Created attachment 685222 [details]
File: environ

Comment 4 Filipe Sousa 2013-01-22 15:13:05 UTC
Created attachment 685223 [details]
File: smolt_data

Comment 5 Ales Kozumplik 2013-01-23 11:30:25 UTC
Hello,

I think this has been fixed with ac51e21c905e36142619718d149747c6a2c82147. Can you please try again with dnf-0.2.20-1 (currently in updates-testing in F18) and comment here if the problem has gone away?

Thank you, Ales

Comment 6 Filipe Sousa 2013-01-30 11:59:09 UTC
hello, 

so far so good.

Comment 7 Ales Kozumplik 2013-02-08 13:29:19 UTC
Thanks, closing this as fixed based on comment 6, please reopen if you see the same traceback with dnf-0.2.20 or later again.


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