You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an informational maybe-bug, I was not able to reproduce it. One of my novice contributors ran into it but resolved it on their own. Perhaps this report will be helpful.
They received the following error, and there was legitimately something wrong with the directive. But it wasn't on "line 1, column 1" as the message stated. It was several lines into the document and indented.
WARNING: Directive 'image': Invalid options YAML: while parsing a block mapping
in "<unicode string>", line 1, column 1:
width: 650px
^
I was expecting it to say "line 10, column 4" or whatever.
The md file contained something approximately like this. (I was not able to inspect the broken file.) The problem line, or perhaps something nearby, may have contained unexpected whitespace (like a tab?)
## some heading
1. some list item
'''{image} image.png
:width: 650px
:alt: image description
'''
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Thanks for the feedback! Yeh that's a bit of a pain; the error message comes from the pyyaml package, and it is not possible to parse the line number "offset" to it.
I guess the only potential solution would be to have it pass yaml with a number of blank lines added, so that the error line would line up with the line in the document
This is an informational maybe-bug, I was not able to reproduce it. One of my novice contributors ran into it but resolved it on their own. Perhaps this report will be helpful.
They received the following error, and there was legitimately something wrong with the directive. But it wasn't on "line 1, column 1" as the message stated. It was several lines into the document and indented.
I was expecting it to say "line 10, column 4" or whatever.
The md file contained something approximately like this. (I was not able to inspect the broken file.) The problem line, or perhaps something nearby, may have contained unexpected whitespace (like a tab?)
Environment:
MacOS, probably Catalina
requirements.txt:
The text was updated successfully, but these errors were encountered: