Skip to content

Latest commit

 

History

History
196 lines (169 loc) · 3.35 KB

File metadata and controls

196 lines (169 loc) · 3.35 KB

Error Messages

YAML

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

searchType: tag
searchTarget: "\"
line:

'searchTypes' wrong, 'searchType' right

searchTypes: tag
searchTarget: weight
line:

'searchTargets' wrong, searchTarget right

searchType: tag
searchTargets: weight
line:

'lines' wrong, 'line' right

searchType: tag
searchTarget: weight
lines:

Missing tracker block identifier, no error message though.

searchType: tag
searchTarget: weight
line:

Target

Missing search target

searchType: tag
searchTarget: 
line:

Invalid search target, '#' is not allowed

searchType: tag
searchTarget: #weight 
line:

Folder

Folder not exists

searchType: tag
searchTarget: weight
folder: abc
line:

Date

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:

No note found in the given date range

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

We don't have thirty days in February

searchType: tag
searchTarget: weight
startDate: 2021-02-01
endDate: 2021-02-30
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

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
summary:
    template: '{{sum(normalize(dataset(0)))}}'

Deprecated

Deprecated template variables

Deprecated template variable

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