Hello, list! After running `conda init` each time I open a new terminal window I have this message at the very first line: bash: /etc/bash_completion.d/conda: No such file or directory (base) [hiisi@localhost ~] $ Indeed, there's no such file. Which package provides that? Thanks.
On Tue, Jan 14, 2020 at 10:22:12AM -0500, Hiisi wrote:
Hello, list! After running `conda init` each time I open a new terminal window I have this message at the very first line: bash: /etc/bash_completion.d/conda: No such file or directory (base) [hiisi@localhost ~] $ Indeed, there's no such file. Which package provides that? Thanks.
`dnf repoquery --whatprovides /etc/bash_completion.d/conda` returns no results, which means no package in the Fedora distribution provides that.
On Tue, Jan 14, 2020 at 11:56 AM Matthew Miller mattdm@fedoraproject.org wrote:
On Tue, Jan 14, 2020 at 10:22:12AM -0500, Hiisi wrote:
Hello, list! After running `conda init` each time I open a new terminal window I have this message at the very first line: bash: /etc/bash_completion.d/conda: No such file or directory (base) [hiisi@localhost ~] $ Indeed, there's no such file. Which package provides that? Thanks.
`dnf repoquery --whatprovides /etc/bash_completion.d/conda` returns no results, which means no package in the Fedora distribution provides that.
Thank you, Matthew. I was trying to query dnf before posting with the same results. Shall I report a bug with fedora bug tracker on with conda folks? Best regards
On Tue, Jan 14, 2020 at 12:00:43PM -0500, Hiisi wrote:
`dnf repoquery --whatprovides /etc/bash_completion.d/conda` returns no results, which means no package in the Fedora distribution provides that.
Thank you, Matthew. I was trying to query dnf before posting with the same results. Shall I report a bug with fedora bug tracker on with conda folks?
Yep!
Matthew Miller wrote:
On Tue, Jan 14, 2020 at 12:00:43PM -0500, Hiisi wrote:
`dnf repoquery --whatprovides /etc/bash_completion.d/conda` returns no results, which means no package in the Fedora distribution provides that.
Thank you, Matthew. I was trying to query dnf before posting with the same results. Shall I report a bug with fedora bug tracker on with conda folks?
Yep!
I'd probably start with a Fedora bug. It looks like the conda tarball contains the bash_completion.d file¹, but it's not installed with the package. So either that should be fixed (or if there's a reason to not include the file, then conda should be patched so init doesn't try to reference that file).
A further improvement might be for upstream to use the preferred location for completions via:
pkg-config --variable=completionsdir bash-completion
¹ conda/shell/etc/bash_completion.d/conda in the current conda-4.8.0 tarball.
On Tue, Jan 14, 2020 at 1:13 PM Todd Zullinger tmz@pobox.com wrote:
<--SNIP-->
I'd probably start with a Fedora bug. It looks like the conda tarball contains the bash_completion.d file¹, but it's not installed with the package. So either that should be fixed (or if there's a reason to not include the file, then conda should be patched so init doesn't try to reference that file).
A further improvement might be for upstream to use the preferred location for completions via:
pkg-config --variable=completionsdir bash-completion¹ conda/shell/etc/bash_completion.d/conda in the current conda-4.8.0 tarball.
-- Todd _______________________________________________
Thanks, Todd! The bug has been submitted: https://bugzilla.redhat.com/show_bug.cgi?id=1791068
On Tue, Jan 14, 2020 at 2:12 PM Hiisi hiisi@fedoraproject.org wrote:
¹ conda/shell/etc/bash_completion.d/conda in the current conda-4.8.0 tarball.
-- Todd _______________________________________________
Thanks, Todd! The bug has been submitted: https://bugzilla.redhat.com/show_bug.cgi?id=1791068
The issue got resolved at updates-testing. Thanks everyone.
Hiisi wrote:
Thanks, Todd! The bug has been submitted: https://bugzilla.redhat.com/show_bug.cgi?id=1791068
The issue got resolved at updates-testing. Thanks everyone.
Excellent! It's always nice to see a quick fix from a bug report.
Thank you for filing it and to Orion for taking care of it (I've never met Orion, but he's always been very good at fixing up bugs in the packages he maintains -- and even those he doesn't.)