winget-create icon indicating copy to clipboard operation
winget-create copied to clipboard

[YAML:Reader] control characters are not allowed [3] at 2

Open cub525 opened this issue 4 years ago • 11 comments

Brief description of your issue

I created a set of manifests, however, I'm not a maintainer on this project, and I wasn't sure all the information was correct. I did not submit a PR using wingetcreate, instead, I left it on my local drive. However, when I used winget to validate the manifests, I got this error:

[YAML:Reader] control characters are not allowed [3] at 2

Environment

Windows Manifest Creator v0.2.0.29
winget v1.0.11451

cub525 avatar Jun 26 '21 00:06 cub525

@denelon

I'd like to note that using Microsoft.DesktopAppInstaller v1.18.431.0 the manifest provided validates successfully; Given that this is being tracked over at cli, I think this issue can be closed?

Trenly avatar Apr 19 '22 02:04 Trenly

@Trenly

Which issue is it over at the CLI? I'll close this as a duplicate. @ryfu-msft is working on the 1.2 schema, so he will be aware of this and the other issue.

denelon avatar Apr 19 '22 14:04 denelon

@Trenly

Which issue is it over at the CLI? I'll close this as a duplicate. @ryfu-msft is working on the 1.2 schema, so he will be aware of this and the other issue.

If I’m not mistaken, the one you linked above (microsoft/winget-cli#1222) regarding better validation error messages is tracking this same issue.

I could be wrong here, but given that the manifest does validate without errors on newer versions of the CLI, I would presume that it is not an issue with create

Trenly avatar Apr 19 '22 14:04 Trenly

I'll let @ryfu-msft validate and close this if it's resolved there.

denelon avatar Apr 19 '22 14:04 denelon