Bug 869621

Summary: [abrt] dnf-0.2.13-1.gitda60a96.fc18: __init__.py:250:sack:TypeError: function takes exactly 1 argument (0 given)
Product: [Fedora] Fedora Reporter: Abhay <abhaykadam88>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: akozumpl, jzeleny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:91e7c9a984bbfdb166aefa8671db866ecb463f93
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-24 15:21:12 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: smolt_data
none
File: core_backtrace none

Description Abhay 2012-10-24 12:39:13 UTC
Version-Release number of selected component:
dnf-0.2.13-1.gitda60a96.fc18

Additional info:
libreport version: 2.0.16
abrt_version:   2.0.13
cmdline:        /usr/bin/python /usr/bin/dnf makecache
kernel:         3.6.1-1.fc18.x86_64

backtrace:
:__init__.py:250:sack:TypeError: function takes exactly 1 argument (0 given)
:
: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 140, in main
:    result, resultmsgs = base.doCommands()
:  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 483, in doCommands
:    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
:  File "/usr/lib/python2.7/site-packages/dnf/cli/yumcommands.py", line 972, in doCommand
:    sack = base.sack # triggers metadata sync
:  File "/usr/lib/python2.7/site-packages/dnf/yum/__init__.py", line 250, in sack
:    self._sack.load_system_repo(hawkey.Repo(), build_cache=True)
:TypeError: function takes exactly 1 argument (0 given)
:
:Local variables in innermost frame:
:start: 1351078263.986501
:self: <dnf.cli.cli.YumBaseCli object at 0x1751b10>

Comment 1 Abhay 2012-10-24 12:39:20 UTC
Created attachment 632755 [details]
File: smolt_data

Comment 2 Abhay 2012-10-24 12:39:25 UTC
Created attachment 632756 [details]
File: core_backtrace

Comment 3 Ales Kozumplik 2012-10-24 15:21:12 UTC
Hello Abhay,

this looks to be due to a mismatch between dnf and hawkey version (unforunately, hawkey is still changing rather fast). Your problems should be resolved by udpating to dnf-0.2.14-2.

Closing this, feel free to reopen if the update doesn't help.