obsidian-tracker icon indicating copy to clipboard operation
obsidian-tracker copied to clipboard

How to fix "Error parsing YAML"?

Open wealthychef1 opened this issue 1 year ago • 1 comments

I have this code block:

searchType: dvField  
searchTarget: meditation
folder: Personal Journal
startDate: 2022-07-17
endDate: 2022-07-17
dateFormat: YYYY-MM-DD
dateFormatSuffix ' Daily Journal'
line:
 title: Meditation
 yAxisLabel: Minutes

And a file exists: "Personal Journal/_current year/2022-07-17 Daily Journal" File contents:

---
Tags: [  ]
aliases: [  ]
created: 2022-07-17
# <!% await( tp.file.rename( tp.date.now("YYYY-MM-DD-HH-MM") +" Quick Note" ) ) %>
# 
---
Testing
meditation:: 20

Why is it giving me the error "Error parsing YAML?" I can delete the entire frontmatter block and it still gives the same error!

2022-07-17 11 50 36 CleanShot Obsidian

Thanks for any help!

wealthychef1 avatar Jul 17 '22 18:07 wealthychef1

this turns out to be another case of issue https://github.com/pyrochlore/obsidian-tracker/issues/108

wealthychef1 avatar Jul 21 '22 03:07 wealthychef1