Skip to content

Latest commit

 

History

History
230 lines (200 loc) · 3.92 KB

File metadata and controls

230 lines (200 loc) · 3.92 KB

Error Messages

YAML

Error parsing caused by the escaping character YAMLParsError: Missing closing "quote"

searchType: tag
searchTarget: "\"
line:

'searchTypes' --> typo 'searchType' --> correct

searchTypes: tag
searchTarget: weight
line:

'searchTargets' --> typo 'searchTarget' --> correct

searchType: tag
searchTargets: weight
line:

'lines' --> typo 'line' --> correct

searchType: tag
searchTarget: weight
lines:

Missing tracker block identifier, no error message though.

searchType: tag
searchTarget: weight
line:

searchTarget

Missing searchTarget

searchType: tag
searchTarget: 
line:

Invalid searchTarget, '#' is a special character to YAML, use single quotes to wrap it

searchType: tag
searchTarget: #weight 
line:

Folder

Folder not exists

searchType: tag
searchTarget: weight
folder: abc
line:

Files

No file in folder

searchType: tag
searchTarget: weight
folder: empty
line:

Number of parameters

Two search targets provided, the number of search types shouldn't be more than two.

searchType: frontmatter, frontmatter, frontmatter
searchTarget: bloodpressure[0], bloodpressure[1]
line:

yAxisLabel allows only two inputs

searchType: frontmatter, frontmatter
searchTarget: bloodpressure[0], bloodpressure[1]
line:
    yAxisLabel: BP1, BP2, BP3

startDate & endDate

The format of startDate or endDate does not match dateFormat in the plugin settings. Change the settings or Add a dateFormat parameter into YAML.

searchType: tag
searchTarget: weight
startDate: 2020-01-01_Fri
endDate: 2020-01-31_Mon
line:

We don't have thirty days in February

searchType: tag
searchTarget: weight
startDate: 2021-02-01
endDate: 2021-02-30
line:

X Values (Dates)

No note found in the given date range

searchType: tag
searchTarget: weight
startDate: 2020-01-01
endDate: 2020-01-31
line:

No valid X values, add "xDataset: 0" to fix it

searchType: fileMeta, dvField
searchTarget: cDate, dataviewTarget
folder: data
line:
    fillGap: true

Y Values

No valid Y values!!!!! Use parameter textValueMap to map a text to a value.

searchType: frontmatter
searchTarget: randchar
folder: diary
line:
    fillGap: true

Output

No output type provided, choose 'line', 'bar', or 'summary'.

searchType: tag
searchTarget: weight

Line Chart

The Parameter 'lineColor' allows only one input for the single target

searchType: tag
searchTarget: weight
line:
    title: Line
    lineColor: red, yellow

The parameter name should be 'title', not 'titles'

searchType: frontmatter, frontmatter
searchTarget: bloodpressure[0], bloodpressure[1]
line:
    titles: "Blood Pressure"

Table

All dates are invalid, leads to an error message

searchType: table
searchTarget: data/Tables[4][0], data/Tables[4][1]
xDataset: 0
line:
    lineColor: none, yellow

Please also check those search targets in markdown files under folder 'diary' and 'data'.

Expression

Unknown function

searchType: task
searchTarget: Say I love you
summary:
    template: '{{unknown()}}'

Incomplete expression

searchType: task
searchTarget: Say I love you
summary:
    template: '{{1+}}'

No dataset found for id

searchType: task
searchTarget: Say I love you
summary:
    template: '{{sum(dataset(1))}}'

Divide by zero

searchType: task
searchTarget: Say I love you
summary:
    template: '{{sum()/0}}'

Invalid data range (data only contains 1 and null)

searchType: tag
searchTarget: meditation
folder: diary
summary:
    template: '{{sum(normalize(dataset(0)))}}'

Deprecated

Deprecated template variables

Deprecated template variable

searchType: task
searchTarget: Say I love you
summary:
    template: '{{sum}}'