8000 just --completions bash reports internal error · Issue #2732 · casey/just · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ just Public

just --completions bash reports internal error #2732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
giokara-work opened this issue May 13, 2025 · 6 comments
Open

just --completions bash reports internal error #2732

giokara-work opened this issue May 13, 2025 · 6 comments

Comments

@giokara-work
Copy link

Where?
just --version: 1.40.0

OS:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.2 LTS
Release:	24.04
Codename:	noble

Means of installation: cargo install just

What?
Running just --completions bash returns error: "error: Internal runtime error, this may indicate a bug in just: Failed to find text: ...". Full output available in just_error.txt.

@sean-abbott
Copy link

+1, also getting this. Same version, same install method, same os.

@darsor
Copy link
darsor commented May 17, 2025

Same issue here with Just 1.40.0 on Arch Linux. However, after copying the output (minus the error messages) into /usr/share/bash-completion/completions/just, it seems to work just fine.

@laniakea64
Copy link
Contributor

As a test/workaround, does installing with cargo install --locked just get it working correctly?

@mlesin
Copy link
mlesin commented May 20, 2025

As a test/workaround, does installing with cargo install --locked just get it working correctly?

For me this workaround fixes the issue

@musicinmybrain
Copy link

We see this in Fedora’s rust-just package. Based on the first failing test build, this is probably associated with updating clap_complete from 4.5.48 to 4.5.50.

I guess it makes sense that expecting particular implementation details in the clap_complete completion script would be brittle…

@sean-abbott
Copy link

locked also works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
0