Bug 1303470
| Summary: | [abrt] dnf: history.py:166:__le__:AttributeError: 'Package' object has no attribute 'to_nevra' | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mihai Dumea <mihailuciand> | ||||||||||
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 23 | CC: | davestux, jsilhan, mdomonko, mluscon, packaging-team-maint, pnemade, vmukhame | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Unspecified | ||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/5a80c01bc777eab910e80c024b4176792cb0ce90 | ||||||||||||
| Whiteboard: | abrt_hash:faea0d0ca42a296a84385aa4201487b92af6670e;VARIANT_ID=workstation; | ||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2016-02-01 13:42:33 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: |
|
||||||||||||
Created attachment 1119934 [details]
File: _var_log_dnf.log
Created attachment 1119935 [details]
File: backtrace
Created attachment 1119936 [details]
File: dnf-makecache.log
Created attachment 1119937 [details]
File: environ
*** This bug has been marked as a duplicate of bug 1303149 *** |
Version-Release number of selected component: dnf-1.1.6-1.fc23 Additional info: reporter: libreport-2.6.3 cmdline: /usr/bin/python3 /usr/bin/dnf history info 41 executable: /usr/bin/dnf kernel: 4.3.3-303.fc23.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: history.py:166:__le__:AttributeError: 'Package' object has no attribute 'to_nevra' Traceback (most recent call last): File "/usr/bin/dnf", line 57, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 174, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 112, in _main cli.run() File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1095, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.4/site-packages/dnf/cli/commands/__init__.py", line 1218, in run ret = self.output.historyInfoCmd(extcmds) File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 1536, in historyInfoCmd self._historyInfoCmd(tid, pats) File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 1672, in _historyInfoCmd _simple_pkg(hpkg, 4, was_installed=True, pkg_max_len=pkg_max_len) File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 1575, in _simple_pkg elif ipkgs[-1] > hpkg: File "/usr/lib64/python3.4/functools.py", line 125, in _lt_from_le op_result = self.__le__(other) File "/usr/lib/python3.4/site-packages/dnf/yum/history.py", line 166, in __le__ o = other.to_nevra() AttributeError: 'Package' object has no attribute 'to_nevra' Local variables in innermost frame: s: <hawkey.NEVRA object at 0x7fac87f47148> self: <YumHistoryPackage : dnf-1.1.5-1.fc23.noarch (0x7fac87f38da0)> other: <hawkey.Package object id 301, dnf-1.1.6-1.fc23.noarch, @System>