Docs · Troubleshooting · v0.2.1

Fix common errors fast.

Every known symptom mapped to its exact diagnostic command and fix from hoja v0.2.1.

hoja doctorExit 3 & 4tmuxv0.2.1View .md

01 · Symptom -> Fix

Every error and its fix.

SymptomCause & exact fix
libpdfium not foundRun hoja setup once (Homebrew bundles it; cargo install and shell installer fetch it via setup).
Blank, blurry, or garbled pagesRun hoja doctor inside your terminal pane, check the Kitty graphics row, or retry with --paper.
Graphics blank inside tmuxRun tmux set -g allow-passthrough on and re-check hoja doctor.
Wrong theme colorsCheck the theme (osc) row in hoja doctor for OSC 10/11 replies; press p to toggle paper ink.
.md math or .typ fails to renderInstall typst and verify it appears on PATH in hoja doctor.
.tex does not compileInstall tectonic and verify it appears on PATH in hoja doctor.
Web article opens emptyInstall typst; retry with HOJA_DEFUDDLE=0 to force the built-in Rust HTML extractor.
EPUB fails to openDRM-protected EPUBs and hostile zip-bomb/zip-slip archives are rejected by design.
HOJA_DATA_DIR errorPass an absolute path with no ~ and no .., owned by you, with chmod 700.
hoja ctl reports no_live_reader (exit 3)Open a document in a Ghostty or Rex pane first (e.g. hoja 1706.03762), or target with --pid / --block.
hoja annot exits 3 (no_match)Re-read the exact page text via hoja <doc> --text -p N and copy the verbatim phrase.
hoja annot exits 4 (ambiguous)Pass --occurrence K for the 1-based match index, a longer phrase, or --all.