Bug 1657656
| Summary: | traceback when getting bugzilla info | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dalibor Pospíšil <dapospis> | ||||
| Component: | did | Assignee: | Petr Šplíchal <psplicha> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 28 | CC: | jheger, mfrodl, psplicha | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | did-0.12-1.fc29 did-0.12-1.fc28 did-0.12-1.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-01-08 02:40:45 UTC | Type: | Bug | ||||
| 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 1512969 [details]
comment.patch
It looks like the comment entity has renamed author to creator.
Issue fixed upstream https://github.com/psss/did/issues/167 I'll update Fedora packages with the latest changes in the coming days. did-0.12-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d8ab605b88 did-0.12-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-8f594492a2 did-0.12-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bf75d3af14 did-0.12-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8f594492a2 did-0.12-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d8ab605b88 did-0.12-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bf75d3af14 did-0.12-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. did-0.12-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. did-0.12-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Probably in conjunction with new bugzilla did produces a traceback. It looks like it prints all the data and then it tracebacks. Workaround is not to include bugzilla and produce its output separately. Version-Release number of selected component (if applicable): did-0.9-7.fc28.noarch did-0.11-1.fc28.noarch How reproducible: 100% Steps to Reproduce: $ did --Redhat-Bugzilla last week Status report for the week 49 (2018-12-03 to 2018-12-09). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dalibor Pospisil <dapospis> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Bugs acked: 1 * bz#1656087 A - Drop pam_tally2 module as it was deprecated in RHEL7 already * Bugs triaged: 1 * bz#1656087 A - Drop pam_tally2 module as it was deprecated in RHEL7 already * Bugs graded: 1 * bz#1656087 A - Drop pam_tally2 module as it was deprecated in RHEL7 already Traceback (most recent call last): File "/usr/bin/did", line 42, in <module> did.cli.main() File "/usr/lib/python2.7/site-packages/did/cli.py", line 190, in main user_stats.check() File "/usr/lib/python2.7/site-packages/did/stats.py", line 136, in check stat.check() File "/usr/lib/python2.7/site-packages/did/stats.py", line 136, in check stat.check() File "/usr/lib/python2.7/site-packages/did/stats.py", line 79, in check self.fetch() File "/usr/lib/python2.7/site-packages/did/plugins/bugzilla.py", line 559, in fetch if bug.commented(self.user)] File "/usr/lib/python2.7/site-packages/did/plugins/bugzilla.py", line 246, in commented if (comment["author"] == user.email and KeyError: u'author'