Bug 1199177

Summary: [abrt] dnf: output.py:1730:historySummaryCmd:ValueError: need more than 1 value to unpack
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: gabriel.schubiner, jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/70ae5d862a86c229ff5ee9aeafaa8ed51459e64d
Whiteboard: abrt_hash:6741c75a43119fbd5e56814963207ace5342be88
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-06 09:32:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Lukas Slebodnik 2015-03-05 14:52:59 UTC
Description of problem:
I just called command
  dnf history summary 764

According to dnf output this command should work
[root@host ~]# dnf history help
Invalid history sub-command, use: list, info, summary, redo, undo, rollback, userinstalled.

But I cannot see itin man page
[user@host][~]$man dnf | grep history
       ยท history
       The  history  command allows the user to view what has happened in past
       dnf history [list]
              The  default  history  action  is  listing all known transaction
       dnf history info [<spec>...]
       dnf history redo <transaction-spec>
       dnf history rollback <transaction-spec>
       dnf history undo <transaction-spec>
       dnf history userinstalled

Version-Release number of selected component:
dnf-0.6.4-2.fc22

Additional info:
reporter:       libreport-2.4.0
cmdline:        /usr/bin/python -OO /bin/dnf history summary 764
dso_list:       python-dnf-0.6.4-2.fc22.noarch
executable:     /bin/dnf
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
output.py:1730:historySummaryCmd:ValueError: need more than 1 value to unpack

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 134, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1064, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands/__init__.py", line 1221, in run
    ret = self.output.historySummaryCmd(extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 1730, in historySummaryCmd
    tids, printall = self._history_list_transactions(extcmds)
ValueError: need more than 1 value to unpack

Local variables in innermost frame:
self: <dnf.cli.output.Output object at 0x7f19197d46d0>
extcmds: [u'summary', u'764']

Comment 1 Lukas Slebodnik 2015-03-05 14:53:03 UTC
Created attachment 998417 [details]
File: backtrace

Comment 2 Lukas Slebodnik 2015-03-05 14:53:04 UTC
Created attachment 998418 [details]
File: environ

Comment 3 Radek Holy 2015-03-06 09:32:18 UTC
Hello, this is a duplicate of bug 1193915.

*** This bug has been marked as a duplicate of bug 1193915 ***