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

bug: eza installation fails - winget #953

Closed
scottmckendry opened this issue Apr 28, 2024 · 3 comments
Closed

bug: eza installation fails - winget #953

scottmckendry opened this issue Apr 28, 2024 · 3 comments
Labels
errors Something isn't working

Comments

@scottmckendry
Copy link

Trying to install the latest version of eza via winget on Windows 23H3 and I get the following error:

An unexpected error occurred while executing the command:
[YAML:Policy] unsupported control character [line 1; col 14]
0x8a150004 : Opening manifest failed

image

I've also tried 0.18.11 & 0.18.10 with the same result.

@scottmckendry scottmckendry added the errors Something isn't working label Apr 28, 2024
@cafkafk
Copy link
Member

cafkafk commented Apr 29, 2024

I'm personally not able to assist much when it comes to winget/windows (I don't even have a windows computer!)

You might have more luck asking upstream in winget?

michaelfsp added a commit to michaelfsp/winget-pkgs that referenced this issue Apr 29, 2024
Autoformatting YAML files using yq seems to have fixed the issue of
"unsupported control character"
@michaelfsp
Copy link

I was getting the same error as @scottmckendry. It seems like winget takes issue with the double quotes on the Description section of eza-community.eza.locale.en-US.yaml (line 15; col 14)
Reformatting the YAML files with yq (via conform.nvim in neovim) fixed the issue for me. I've sent a pull request for the fix.

@scottmckendry
Copy link
Author

@michaelfsp you're a ⭐
Thankyou!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
errors Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants