Troubleshooting
Kanji are small, or in the terminal’s font
That’s the plain tier. yadokari --terminal says why it was chosen:
- The terminal has no kitty graphics (or, like WezTerm, not the kind yadokari needs). Ghostty, kitty and Rio do.
- Inside tmux, kitty graphics don’t get through, so yadokari uses the plain tier.
- No Japanese font found: install one (see Fonts), or set
fontin the config. NO_COLORis set: no colour, and glyphs as text.
Boxes or stray characters where the kanji should be
The terminal said it supports kitty graphics but draws them wrongly. Use yadokari --gfx plain (or gfx = "plain" in the config), and please report the terminal with the output of yadokari --terminal.
No audio
yadokari plays recordings with a player it finds: pw-play, paplay, ffplay or mpv on Linux, afplay on macOS (always there). On Linux, install one, e.g. pipewire-utils for pw-play on Fedora, or set your own in the config:
[audio]
player = "mpv --no-terminal --no-video"
Kanji have no recordings on WaniKani, only vocabulary does.
Reviews or lessons won’t start
The token needs the reviews:create and assignments:start permissions (see A token). To use a different token:
yadokari --logout
yadokari
--logout removes the stored token; the next run asks for one. A WANIKANI_API_TOKEN environment variable, if set, is used instead of the stored token.
Rejected reviews
If WaniKani refuses a review yadokari sends (say, the item was reviewed somewhere else meanwhile), the dashboard says so; x dismisses the notice.
Logs
Problems are written to yadokari.log, next to the database: ~/.local/share/yadokari/ (or under $XDG_DATA_HOME). Include the relevant lines, and the output of yadokari --version and yadokari --terminal, when you report a bug. The log never holds your token.