tracer-common installs a: /etc/bash_completion.d/tracer file that contains: eval "$(register-python-argcomplete tracer)" register-python-argcomplete is in the python3-argcomplete package, if it's not installed, every login gives you: bash: register-python-argcomplete: command not found
Thank you Kevin, this is already fixed in upstream. New release needs to be done.
tracer-0.6.13-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-19e5b97629
tracer-0.6.13-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a78a7cee02
tracer-0.6.13-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0e8d47812d
tracer-0.6.13-1.fc24 has been pushed to the Fedora 24 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-2017-a78a7cee02
tracer-0.6.13-1.fc25 has been pushed to the Fedora 25 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-2017-0e8d47812d
tracer-0.6.13-1.fc26 has been pushed to the Fedora 26 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-2017-19e5b97629
tracer-0.6.13-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-6aed43ddbe
tracer-0.6.13-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-2017-6aed43ddbe
python-argcomplete-1.7.0-2.el7 tracer-0.6.13-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-6aed43ddbe
python-argcomplete-1.7.0-2.el7, tracer-0.6.13-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-2017-6aed43ddbe
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'.
tracer-0.6.13-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-1ea755452d
tracer-0.6.13-2.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-2017-1ea755452d
tracer-0.6.13-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
tracer-0.6.13.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-037d9e0cd3
tracer-0.6.13.1-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fa8f3ad48e
tracer-0.6.13.1-1.fc26 has been pushed to the Fedora 26 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-2017-037d9e0cd3
tracer-0.6.13.1-1.fc25 has been pushed to the Fedora 25 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-2017-fa8f3ad48e
This is not correctly fixed. First of all, /etc/bash_completion.d/tracer is included in tracer-common, but tracer-common does not have any real requires: $ rpm -ql tracer-common /etc/bash_completion.d/tracer ... $ rpm -q --requires tracer-common rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 So if you have just tracer-common, you'll still encounter this bug. Second, the requires is in python3-tracer, but incorrect: $ rpm -q --requires python3-tracer python-argcomplete ... It should be python3-argcomplete. $ dnf provides **/register-python-argcomplete python3-argcomplete-1.8.2-2.fc26.noarch : Bash tab completion for argparse Repo : fedora So either make tracer-common require python3-argcomplete, or move the bash completion file to python3-tracer (and make it require python3-argcomplete). python3-tracer-0.6.13.1-1.fc26.noarch python2-tracer-0.6.13.1-1.fc26.noarch tracer-common-0.6.13.1-1.fc26.noarch
Would this be because its using Suggests? https://github.com/FrostyX/tracer/blob/master/tracer.spec#L92 We might have to let make the bash completion script exit cleanly if register-python-argcomplete isn't available.
(In reply to Sean O'Keeffe from comment #21) > Would this be because its using Suggests? > https://github.com/FrostyX/tracer/blob/master/tracer.spec#L92 This is the Fedora specfile: https://src.fedoraproject.org/rpms/tracer/blob/master/f/tracer.spec#_64 But as you can see in the rpm output above, the package is actually using requires. Not sure how to explain that. > We might have to let make the bash completion script exit cleanly if > register-python-argcomplete isn't available. That's also a valid approach.
tracer-0.6.13.1-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bb97b4d465
tracer-0.6.13.1-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-98104623b5
tracer-0.6.13.1-2.fc25 has been pushed to the Fedora 25 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-2017-98104623b5
tracer-0.6.13.1-2.fc26 has been pushed to the Fedora 26 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-2017-bb97b4d465
*** Bug 1505471 has been marked as a duplicate of this bug. ***
Same problem on Fedora 27 : -bash: register-python-argcomplete: command not found [root@XXXX ~]# grep -r register-python-argcomplete /etc/ /etc/bash_completion.d/tracer:eval "$(register-python-argcomplete tracer)" tracer-common-0.6.13-2.fc27.noarch [root@XXXX ~]# rpm -qif /etc/bash_completion.d/tracer Name : tracer-common Version : 0.6.13 Release : 2.fc27 Architecture: noarch Install Date: dim. 03 déc. 2017 16:29:33 CET Group : Unspecified Size : 33930 License : GPLv2+ Signature : RSA/SHA256, ven. 28 juil. 2017 05:15:32 CEST, Key ID f55e7430f5282ee4 Source RPM : tracer-0.6.13-2.fc27.src.rpm Build Date : ven. 28 juil. 2017 02:54:23 CEST Build Host : buildvm-armv7-05.arm.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://tracer-package.com/ Summary : Common files for tracer Description : Common files for tracer. "dnf -y install python3-argcomplete python3-tracer" remove the message when bash start.
*** Bug 1504474 has been marked as a duplicate of this bug. ***
(In reply to Kamil Páral from comment #22) > (In reply to Sean O'Keeffe from comment #21) > > Would this be because its using Suggests? > > https://github.com/FrostyX/tracer/blob/master/tracer.spec#L92 > > This is the Fedora specfile: > https://src.fedoraproject.org/rpms/tracer/blob/master/f/tracer.spec#_64 > > But as you can see in the rpm output above, the package is actually using > requires. Not sure how to explain that. No, it's using Suggests: https://src.fedoraproject.org/rpms/tracer/blob/master/f/tracer.spec#_65 https://src.fedoraproject.org/rpms/tracer/blob/master/f/tracer.spec#_92 I'd use Recommends here, anyway. Suggests are not pulled in by default by dnf. > > We might have to let make the bash completion script exit cleanly if > > register-python-argcomplete isn't available. > > That's also a valid approach. Indeed.
(In reply to Kamil Páral from comment #20) > So either make tracer-common require python3-argcomplete, or move the bash > completion file to python3-tracer (and make it require python3-argcomplete). Seconded. This is still not fixed in Fedora 26 and 27. I haven't checked EPEL.
tracer-0.7.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b437cce027
tracer-0.7.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-e2c57717ce
tracer-0.7.0-1.fc26 has been pushed to the Fedora 26 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-b437cce027
tracer-0.7.0-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-e2c57717ce
tracer-0.7.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-5d15a730d8
tracer-0.7.0-2.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-5d15a730d8
Seems to be fixed in 0.7.0-1.fc28.
tracer-0.7.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
tracer-0.7.0-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.