Troubleshooting
If your problem isn’t here, check the log and then report a bug.
No kernel found
Section titled “No kernel found”The status line says kernel '…' not found, and either a popup offers the installed kernels or the message ends in no other is installed.
jOtter found no kernel with the notebook’s kernel name. It never substitutes another one on its own: choose one in the popup (type to filter, Enter starts it), or press Esc to go without (R asks again). If the kernel you expected isn’t in the list, ipykernel usually isn’t installed in the environment you think it is:
.venv/bin/python -m pip install ipykernel # a .venv next to the notebookpython -m pip install ipykernel # the activated environmentThe name jOtter looks for is the notebook’s metadata.kernelspec.name, or the --kernel option. jupyter kernelspec list shows the kernels Jupyter can see. Kernels explains the full search order.
The kernel starts, but imports fail
Section titled “The kernel starts, but imports fail”The kernel runs in a different environment from the one you installed packages in. Check what the kernel is using:
import sys; sys.executableIf that isn’t your project’s Python, activate the right environment before starting jOtter, or put a .venv with ipykernel next to the notebook or in a parent directory, which takes precedence over global kernels.
The kernel dies
Section titled “The kernel dies”The status line shows the reason and R to restart. The most common cause is running out of memory. Press R to start a fresh kernel, and run jOtter with --log to see what the kernel printed before it died.
jOtter says the terminal has no graphics protocol
Section titled “jOtter says the terminal has no graphics protocol”jOtter needs a terminal with kitty graphics, sixel or the iTerm2 protocol and doesn’t start without one. Use one of the terminals in Terminal compatibility.
Images are missing
Section titled “Images are missing”- Inside tmux, add
set -g allow-passthrough onto~/.tmux.conf. - Over SSH, image support depends on your local terminal and works the same as locally.
- Were images turned off with
--no-images?
The terminal is garbled after jOtter was killed
Section titled “The terminal is garbled after jOtter was killed”If jOtter is killed with kill -9, it can’t restore the terminal. Run reset. In kitty, leftover images are cleared the next time jOtter starts.
Images are cut off at the right
Section titled “Images are cut off at the right”Images are scaled down to the window’s width, unless you switched the cell to pixel for pixel: Z shows the selected cell’s images unscaled and crops what doesn’t fit. Press Z again to scale them.
Shift+Enter inserts a line instead of running
Section titled “Shift+Enter inserts a line instead of running”Your terminal doesn’t support the kitty keyboard protocol, so it sends plain Enter. Press Esc and then r, which runs the cell and advances, or Space to run it in place. WezTerm users can set enable_kitty_keyboard = true.
Text selection doesn’t work
Section titled “Text selection doesn’t work”jOtter captures the mouse. Hold Shift while dragging to use your terminal’s selection, or press yy to copy a whole cell.
Copying to the clipboard doesn’t work
Section titled “Copying to the clipboard doesn’t work”yy and D copy through the terminal’s OSC 52 sequence. Some terminals disable it by default; in tmux, set set -g set-clipboard on.
No completions, signatures or docs after opening a notebook
Section titled “No completions, signatures or docs after opening a notebook”Completion after a ., the signature popup and Shift+Tab docs come from the running kernel, which only knows code that has run. Run the cells with your imports first, for example with < (run every cell above). See before cells have run.
My config is ignored
Section titled “My config is ignored”The status line says config ignored (…): … when config.toml has a syntax error or an unknown key. The message names the problem; every setting falls back to its default until you fix it. The valid keys are listed in Configuration.
Neovim backend problems
Section titled “Neovim backend problems”nvim unavailable — builtin editor: Neovim isn’t on yourPATH, or it failed to start. jOtter uses the builtin editor instead.- A plugin’s window was closed and the status line says so: the plugin opened a window, which jOtter can’t draw. Guard it with
vim.g.jotter; see Embedded Neovim. - Editing feels slow, or a key does nothing: a plugin may be blocking on a prompt. Try
nvim_user_config = falseto rule out your config.
Reading the log
Section titled “Reading the log”Press L to see this session’s messages. For the full picture, including every message exchanged with the kernel, start jOtter with a log file:
jotter --log /tmp/jotter.log notebook.ipynb