Bug 1259671 - [abrt] dnf: packages.py:76:parsePackages:TypeError: unhashable type: 'YumHistoryPackageState'
Summary: [abrt] dnf: packages.py:76:parsePackages:TypeError: unhashable type: 'YumHist...
Keywords:
Status: CLOSED DUPLICATE of bug 1245121
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
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:56f74f073c3c856759c8def3b6c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-03 10:27 UTC by Christian Stadelmann
Modified: 2015-09-07 11:58 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-07 11:58:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.58 KB, text/plain)
2015-09-03 10:27 UTC, Christian Stadelmann
no flags Details

Description Christian Stadelmann 2015-09-03 10:27:53 UTC
Version-Release number of selected component:
dnf-1.1.1-1.fc23

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python3 -OO /usr/bin/dnf history info plymouth-core-libs
executable:     /usr/bin/dnf
kernel:         4.2.0-1.fc23.x86_64
runlevel:       N 5
type:           Python3

Truncated backtrace:
packages.py:76:parsePackages:TypeError: unhashable type: 'YumHistoryPackageState'

Traceback (most recent call last):
  File "/usr/bin/dnf", line 35, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 195, in user_main
    errcode = main(args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 141, in _main
    cli.run()
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1085, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/__init__.py", line 1217, in run
    ret = self.output.historyInfoCmd(extcmds)
  File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 1535, in historyInfoCmd
    self._historyInfoCmd(tid, pats)
  File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 1673, in _historyInfoCmd
    self.historyInfoCmdPkgsAltered(old, pats)
  File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 1748, in historyInfoCmdPkgsAltered
    x, m, u = dnf.yum.packages.parsePackages([hpkg], pats)
  File "/usr/lib/python3.4/site-packages/dnf/yum/packages.py", line 76, in parsePackages
    exactmatch.update(pkgdict[command])
TypeError: unhashable type: 'YumHistoryPackageState'

Local variables in innermost frame:
command: 'plymouth-core-libs'
usercommands: ['plymouth-core-libs']
pkgdict: {'plymouth-core-libs': [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>], 'plymouth-core-libs.x86_64': [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>], 'plymouth-core-libs-0:0.8.9-10.2013.08.14.fc23.x86_64': [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>], 'plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64': [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>], '0:plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64': [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>], 'plymouth-core-libs-0.8.9': [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>], 'plymouth-core-libs-0.8.9-10.2013.08.14.fc23': [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>]}
pkgs: [<YumHistoryPackageState : plymouth-core-libs-0.8.9-10.2013.08.14.fc23.x86_64 (0x7f1ee0d1ea90)>]
unmatched: set()
matched: set()
casematch: 0
exactmatch: set()

Comment 1 Christian Stadelmann 2015-09-03 10:27:56 UTC
Created attachment 1069728 [details]
File: backtrace

Comment 2 Radek Holy 2015-09-07 11:58:04 UTC

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


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