social: failed to unmarshal YAML: yaml: line 2: did not find expected key #33

Closed
opened 2022-02-10 17:48:03 +00:00 by decentral1se · 4 comments
Owner

Error: Error building site: "/src/content/social/documentafifteen/107774017687511747/index.html:3:1": failed to unmarshal YAML: yaml: line 2: did not find expected key

Site was taken out. Disabled more social posts being pulled in for now.

> Error: Error building site: "/src/content/social/documentafifteen/107774017687511747/index.html:3:1": failed to unmarshal YAML: yaml: line 2: did not find expected key Site was taken out. Disabled more social posts being pulled in for now.
Member

Do you have the exact contents of that index.md?

My first guess; not properly escaping / sanitizing what is input as post frontmatter. Possibly a ".

Do you have the exact contents of that index.md? My first guess; not properly escaping / sanitizing what is input as post frontmatter. Possibly a `"`.
decentral1se added this to the (deleted) project 2022-02-11 10:32:15 +00:00
Owner

https://social.lumbung.space/@togar/107774017687511747
yep, the author has " in their username

https://social.lumbung.space/@togar/107774017687511747 yep, the author has `"` in their username
Member

Ok, then it is quite clear what happened. This can potentially happen on any of the subscripts btw.

Probably should use the dump method of: https://pyyaml.org/wiki/PyYAMLDocumentation rather than the nasty template string construction I did before.

Ok, then it is quite clear what happened. This can potentially happen on any of the subscripts btw. Probably should use the dump method of: https://pyyaml.org/wiki/PyYAMLDocumentation rather than the nasty template string construction I did before.
Owner
https://git.autonomic.zone/ruangrupa/lumbunglib/commit/633972451039669939e599974cad02bc1ec6036b
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ruangrupa/lumbung.space#33
No description provided.