-
Notifications
You must be signed in to change notification settings - Fork 322
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
Bad error message on invalid YAML #2349
Comments
I think we did some change to be more strict on YAML schema and validation. I don't think you need to provide
So I would just remove that field. Does that work ? |
yep that does the trick, thanks! |
@cscheid Just wondering if we could / should try to improve the error message for a field that is not in the schema ? quarto-cli/src/resources/schema/definitions.yml Lines 127 to 167 in bb2d57b
Current error seems to be
Not sure so hence I am asking before reopening or not. thanks ! |
Yes, that error is atrocious. Thanks for flagging. Let me see if I can figure out why it's coming up like that. |
Previous error message:
Yuck. New error message:
Yay! Pull request incoming. |
🤯 so good ! Really cool improvement! 👏 |
this changes the schemas and validator to explicitly track `closed: true`, so that our error reporting is more accurate. Closes #2349
Bug description
On my quarto page, I have utterance activated on 2 docs. On these two pages I have the following in my yaml header which has worked at least until quarto 1.1.128
Starting with quarto 1.1.178 I get this error when rendering
I did not change any code just wanted to re-render after installing the new quarto version
I am running Ubuntu 20.04
Checklist
The text was updated successfully, but these errors were encountered: