Bug 1504474 - -bash: register-python-argcomplete: command not found
Summary: -bash: register-python-argcomplete: command not found
Keywords:
Status: CLOSED DUPLICATE of bug 1469282
Alias: None
Product: Fedora
Classification: Fedora
Component: tracer
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Kadlčík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-20 02:29 UTC by Davide Repetto
Modified: 2017-12-19 10:58 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-19 10:58:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Davide Repetto 2017-10-20 02:29:30 UTC
Description of problem:
=======================

   -bash: register-python-argcomplete: command not found

The error happens when launching bash while python3-argcomplete is missing.
Bash-completion should probably depend on python3-argcomplete.

Version-Release number of selected component (if applicable):
=============================================================
bash-completion-2.6-2.fc27.src.rpm
python3-argcomplete.noarch 1.8.2-3.fc27

How reproducible:
=================
Always reproducible by removing python3-argcomplete
In my case it was removed by dnf as an "unneeded dependency" as part of the removal of some other packages.

Comment 1 Siteshwar Vashisht 2017-10-20 05:19:04 UTC
bash-completion package does not use this command. You have completions installed from other packages that make use of this command.

Comment 2 Davide Repetto 2017-10-20 06:25:48 UTC
Yes, you're right. Apparently is tracer fault.

[root@dave ~]# grep argcomplete /etc/bash_completion.d/*
/etc/bash_completion.d/tracer:eval "$(register-python-argcomplete tracer)"

Comment 3 Carlos O'Donell 2017-12-11 05:35:53 UTC
Same problem. Fixed it by installing python3-argcomplete.

Comment 4 Dominik 'Rathann' Mierzejewski 2017-12-19 10:58:53 UTC

*** This bug has been marked as a duplicate of bug 1469282 ***


Note You need to log in before you can comment on or make changes to this bug.