joplin / plugin-kanban

It allows notes in a notebook to be organized in a kanban board.
https://discourse.joplinapp.org/t/kanban-board-project/17469
132 stars 17 forks source link

YAML Parse error #43

Closed Bug23451 closed 8 months ago

Bug23451 commented 1 year ago

Plugin non functional and references a YAML error on Joplin.

Only tested on the linux appimage (2.9.17) and the Flatpack (2.9.17).

2023-05-08-121936_hyprshot

Zszywek commented 1 year ago

Same thing for me after installing with a script on Ubuntu

anicholslcsw65 commented 1 year ago

Same thing here. Any suggestions?

derkrasseleo commented 1 year ago

I get the same message, but without the reason on Windows 11

benlau commented 1 year ago

Could anyone share your kanban config with error here?

derkrasseleo commented 1 year ago

this works:

columns:
- name: Backlog
backlog: true

as soon as I add a second name tag, it fails

columns:
- name: Backlog
backlog: true
- name: wip
tag: wip
derkrasseleo commented 1 year ago

I think it has something to do with tabs vs. spaces, because if I paste the default config from the readme, I get no such error.

benlau commented 1 year ago

@derkrasseleo 2 Spaces before backlog and tag are required for YAML format (Tab are not allowed). This config should works

columns:
- name: Backlog
  backlog: true
- name: wip
  tag: wip
Zszywek commented 1 year ago

It may be useful for some people as it worked for me to leave the language field simply blank

derkrasseleo commented 1 year ago

Just wanted to add: I solved the Parse error by using spaces instead of tabs