Bug 1085276 - [abrt] dnf: output.py:1931:_historyInfoCmd:TypeError: isinstance expected 2 arguments, got 1
Summary: [abrt] dnf: output.py:1931:_historyInfoCmd:TypeError: isinstance expected 2 a...
Keywords:
Status: CLOSED DUPLICATE of bug 1082230
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:48418fec377f6cac45bb9e9ad4b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-08 09:28 UTC by Michal Schmidt
Modified: 2014-04-08 11:10 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-08 11:10:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.70 KB, text/plain)
2014-04-08 09:28 UTC, Michal Schmidt
no flags Details
File: environ (2.03 KB, text/plain)
2014-04-08 09:28 UTC, Michal Schmidt
no flags Details

Description Michal Schmidt 2014-04-08 09:28:46 UTC
Description of problem:
Run "dnf history info".

Version-Release number of selected component:
dnf-0.4.19-1.fc20

Additional info:
reporter:       libreport-2.2.1
cmdline:        /usr/bin/python /bin/dnf history info
executable:     /bin/dnf
kernel:         3.13.9-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
output.py:1931:_historyInfoCmd:TypeError: isinstance expected 2 arguments, got 1

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 242, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 75, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 124, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1378, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands/__init__.py", line 2280, in run
    ret = self.output.historyInfoCmd(extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 1810, in historyInfoCmd
    self._historyInfoCmd(tid, pats)
  File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 1931, in _historyInfoCmd
    if not isinstance(old.tid):
TypeError: isinstance expected 2 arguments, got 1

Local variables in innermost frame:
begtms: ['Tue', 'Apr', '8', '11:25:54', '2014']
pats: []
old: <dnf.yum.history.YumHistoryTransaction object at 0x1cadf10>
_simple_pkg: <function _simple_pkg at 0x3e1e050>
i: 3
self: <dnf.cli.output.Output object at 0x1a181d0>
endtm: '           11:25:55 2014'
name: u' <michich>'
sofar: 10
maxlen: 13
begtm: 'Tue Apr  8 11:25:54 2014'
x: u'Newer'
diff: u'(1 seconds)'
_pkg_states_installed: {'i': u'Installed', 'maxlen': 13, 'e': u'Erased', 'o': u'Upgraded', 'n': u'Downgraded'}
_pkg_states_available: {'i': u'Installed', 'maxlen': 13, 'e': u'Not installed', 'o': u'Older', 'n': u'Newer'}
endtms: ['Tue', 'Apr', '8', '11:25:55', '2014']

Comment 1 Michal Schmidt 2014-04-08 09:28:54 UTC
Created attachment 883937 [details]
File: backtrace

Comment 2 Michal Schmidt 2014-04-08 09:28:57 UTC
Created attachment 883938 [details]
File: environ

Comment 3 Ales Kozumplik 2014-04-08 11:10:29 UTC

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


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