Bug 857710 - [abrt] dnf-0.2.11-1.git9da1268.fc18: cli.py:317:getOptionsConfig:AttributeError: 'YumBaseCli' object has no attribute 'rpmdb'
Summary: [abrt] dnf-0.2.11-1.git9da1268.fc18: cli.py:317:getOptionsConfig:AttributeErr...
Keywords:
Status: CLOSED ERRATA
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:e1f74c27b472483aeb9149dd473...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-16 11:54 UTC by Abhay
Modified: 2014-09-30 23:40 UTC (History)
2 users (show)

Fixed In Version: dnf-0.2.12-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:16:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (400 bytes, text/plain)
2012-09-16 11:54 UTC, Abhay
no flags Details

Description Abhay 2012-09-16 11:54:16 UTC
Version-Release number of selected component:
dnf-0.2.11-1.git9da1268.fc18

Additional info:
libreport version: 2.0.13
abrt_version:   2.0.12
cmdline:        /usr/bin/python /usr/bin/dnf --version
kernel:         3.3.4-5.fc17.x86_64

backtrace:
:cli.py:317:getOptionsConfig:AttributeError: 'YumBaseCli' object has no attribute 'rpmdb'
:
:Traceback (most recent call last):
:  File "/usr/bin/dnf", line 35, in <module>
:    yummain.user_main(sys.argv[1:], exit_code=True)
:  File "/usr/lib/python2.7/site-packages/dnf/cli/yummain.py", line 316, in user_main
:    errcode = main(args)
:  File "/usr/lib/python2.7/site-packages/dnf/cli/yummain.py", line 98, in main
:    base.getOptionsConfig(args)
:  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 317, in getOptionsConfig
:    for pkg in sorted(self.rpmdb.returnPackages(patterns=yum_progs)):
:AttributeError: 'YumBaseCli' object has no attribute 'rpmdb'
:
:Local variables in innermost frame:
:bad_setopt_ne: []
:bad_setopt_tm: []
:pc: <dnf.yum._YumPreBaseConf instance at 0x7fc28aacfe60>
:root: '/'
:self: <dnf.cli.cli.YumBaseCli object at 0x7fc28aacc350>
:args: ['--version']
:sm_ui_date: <function sm_ui_date at 0x7fc28aad6578>
:sm_ui_time: <function sm_ui_time at 0x7fc28aad6500>
:done: False
:yum_progs: set(['dnf', 'rpm'])
:opts: <Values at 0x7fc28aadab90: {'skipbroken': None, 'verbose': False, 'errorlevel': None, 'color': None, 'repos': [], 'assumeno': None, 'conffile': '/etc/dnf/dnf.conf', 'exclude': [], 'enableplugins': [], 'cacheonly': None, 'rpmverbosity': None, 'disableplugins': [], 'sleeptime': None, 'version': True, 'releasever': None, 'obsoletes': None, 'debuglevel': 0, 'disableexcludes': [], 'showdupesfromrepos': None, 'assumeyes': None, 'installroot': None, 'quiet': True, 'nogpgcheck': None, 'setopts': [], 'noplugins': None}>

Comment 1 Abhay 2012-09-16 11:54:21 UTC
Created attachment 613407 [details]
File: core_backtrace

Comment 2 Ales Kozumplik 2012-09-17 08:14:36 UTC
Thanks for the report, looking into for a fix now.

Comment 3 Ales Kozumplik 2012-09-18 05:45:38 UTC
Fixed by commit 9f96d91.

Comment 4 Fedora Update System 2012-09-24 07:39:49 UTC
dnf-0.2.12-2.git832ecd1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/dnf-0.2.12-2.git832ecd1.fc18

Comment 5 Fedora Update System 2012-09-24 20:04:28 UTC
Package dnf-0.2.12-2.git832ecd1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.2.12-2.git832ecd1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14685/dnf-0.2.12-2.git832ecd1.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-12-20 16:16:23 UTC
dnf-0.2.12-2.git832ecd1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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