Bug 1409361
| Summary: | [abrt] dnf: output.py:1508:historyInfoCmd:AttributeError: 'list' object has no attribute 'add' | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||||||||
| Component: | dnf | Assignee: | rpm-software-management | ||||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | medium | ||||||||||||
| Version: | rawhide | CC: | jmracek, mmraka, packaging-team-maint, rpm-software-management, vmukhame | ||||||||||
| Target Milestone: | --- | Keywords: | EasyFix, Triaged | ||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Unspecified | ||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/83a75a081141912a911eb6d7618b6c622f34fd25 | ||||||||||||
| Whiteboard: | abrt_hash:90d602ce9b2855426a72118dd51d12801ac01096; | ||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2017-02-10 15:49: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: | |||||||||||
| Embargoed: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 1236365 [details]
File: _var_log_dnf.log
Created attachment 1236366 [details]
File: backtrace
Created attachment 1236367 [details]
File: dnf-makecache.log
Created attachment 1236368 [details]
File: environ
I tried this command on purpose. I hoped it can change the order. But that is not the functionality of you PR. Bugs fixed in version 2.0.1-1. |
Version-Release number of selected component: dnf-2.0.0-2.fc26 Additional info: reporter: libreport-2.9.0 cmdline: /usr/libexec/system-python /bin/dnf history info last..last-20 executable: /bin/dnf kernel: 4.9.0-1.fc26.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: output.py:1508:historyInfoCmd:AttributeError: 'list' object has no attribute 'add' Traceback (most recent call last): File "/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 175, in user_main errcode = main(args) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 61, in main return _main(base, args) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main return cli_run(cli, base) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run cli.run() File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 936, in run return self.command.run() File "/usr/lib/python3.6/site-packages/dnf/cli/commands/__init__.py", line 926, in run ret = self.output.historyInfoCmd(extcmds, self.opts.tid) File "/usr/lib/python3.6/site-packages/dnf/cli/output.py", line 1508, in historyInfoCmd tids.add(old.tid) AttributeError: 'list' object has no attribute 'add' Local variables in innermost frame: old: <dnf.yum.history.YumHistoryTransaction object at 0x7f9ba0f319b0> mtids: set() tids: [] pats: ['last..last-20'] extcmds: [] self: <dnf.cli.output.Output object at 0x7f9ba106f400>