Bug 869621 - [abrt] dnf-0.2.13-1.gitda60a96.fc18: __init__.py:250:sack:TypeError: function takes exactly 1 argument (0 given)
Summary: [abrt] dnf-0.2.13-1.gitda60a96.fc18: __init__.py:250:sack:TypeError: function...
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:91e7c9a984bbfdb166aefa8671d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-24 12:39 UTC by Abhay
Modified: 2014-09-30 23:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-24 15:21:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: smolt_data (3.20 KB, text/plain)
2012-10-24 12:39 UTC, Abhay
no flags Details
File: core_backtrace (615 bytes, text/plain)
2012-10-24 12:39 UTC, Abhay
no flags Details

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.


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