Skip to content
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

Possibly unescaped error: S3 object '%s' does not exist #12090

Closed
cep21 opened this issue Dec 19, 2024 · 1 comment · Fixed by #12091
Closed

Possibly unescaped error: S3 object '%s' does not exist #12090

cep21 opened this issue Dec 19, 2024 · 1 comment · Fixed by #12091
Labels

Comments

@cep21
Copy link

cep21 commented Dec 19, 2024

Describe the bug

I'm using nix and an S3 bucket I don't have read permissions to. I see this error in the logs

       error: s3://company/object.whl

       response body:

       S3 object '%s' does not exist

My guess is that nix intends it to not literally print %s, but instead is trying to do some printf formatting.

nix --version
nix (Nix) 2.24.10

Steps To Reproduce

I was trying to run a nix build. Sorry there aren't complete steps to reproduce but I hope the error is clear?

Expected behavior

You likely wanted to print something like this

       S3 object '<some-name>' does not exist
@cole-h
Copy link
Member

cole-h commented Dec 19, 2024

Thanks for the report, will be fixed in #12091!

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

Successfully merging a pull request may close this issue.

2 participants