Bug 1768371
| Summary: | argparse.ArgumentError: argument --products: conflicting option string: --products | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karel Volný <kvolny> |
| Component: | did | Assignee: | Petr Šplíchal <psplicha> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 31 | CC: | mfrodl, psplicha |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | did-0.15-1.fc30 did-0.15-1.fc31 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-23 01:12:28 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: | |||
Unfortunately you haven't provided a config file which I could
test with. But it seems your issue has been already reported
upstream:
https://github.com/psss/did/issues/208
This should now be working fine. I'm going to create new update
which will contain the fix.
FEDORA-2019-3c8f57f9b1 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3c8f57f9b1 FEDORA-2019-8ee53ec6c0 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8ee53ec6c0 did-0.15-1.fc30 has been pushed to the Fedora 30 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-2019-8ee53ec6c0 did-0.15-1.fc31 has been pushed to the Fedora 31 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-2019-3c8f57f9b1 ok, I'm a bit further :-) [kvolny@kvolny ~]$ kinit kvolny Password for kvolny: [kvolny@kvolny ~]$ did Status report for the week 47 (2019-11-18 to 2019-11-24). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karel Volný <kvolny> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR 500 Server Error: Internal Server Error for url: https://projects.engineering.redhat.com/step-auth-gss ERROR Jira authentication failed. Try kinit. [kvolny@kvolny ~]$ rpm -q did did-0.15-1.fc31.noarch anyways, I don't see the traceback any more ... Good. Regarding Jira: Unfortunately there have been some changes on our internal instance which broken stats gathering. This fails with the old version as well and will need some extra care and investigation. See also: https://github.com/psss/did/issues/204 did-0.15-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. did-0.15-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Trying to run did, I'm getting 'conflicting option string' error. Version-Release number of selected component (if applicable): did-0.14-2.fc31.noarch How reproducible: always Steps to Reproduce: 1. did Actual results: Traceback (most recent call last): File "/usr/bin/did", line 42, in <module> did.cli.main() File "/usr/lib/python3.7/site-packages/did/cli.py", line 188, in main options, header = Options(arguments).parse() File "/usr/lib/python3.7/site-packages/did/cli.py", line 62, in __init__ self.sample_stats.add_option(self.parser) File "/usr/lib/python3.7/site-packages/did/stats.py", line 225, in add_option stat.add_option(parser) File "/usr/lib/python3.7/site-packages/did/stats.py", line 149, in add_option stat.add_option(group) File "/usr/lib/python3.7/site-packages/did/stats.py", line 55, in add_option "--{0}".format(self.option), action="store_true", help=self.name) File "/usr/lib64/python3.7/argparse.py", line 1373, in add_argument return self._add_action(action) File "/usr/lib64/python3.7/argparse.py", line 1577, in _add_action action = super(_ArgumentGroup, self)._add_action(action) File "/usr/lib64/python3.7/argparse.py", line 1387, in _add_action self._check_conflict(action) File "/usr/lib64/python3.7/argparse.py", line 1526, in _check_conflict conflict_handler(action, confl_optionals) File "/usr/lib64/python3.7/argparse.py", line 1535, in _handle_conflict_error raise ArgumentError(action, message % conflict_string) argparse.ArgumentError: argument --products: conflicting option string: --products