Skip to content

Troubleshooting

If your problem isn’t here, check the log and then report a bug.

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:

Terminal window
.venv/bin/python -m pip install ipykernel # a .venv next to the notebook
python -m pip install ipykernel # the activated environment

The 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 runs in a different environment from the one you installed packages in. Check what the kernel is using:

import sys; sys.executable

If 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 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.

  • Inside tmux, add set -g allow-passthrough on to ~/.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 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.

jOtter captures the mouse. Hold Shift while dragging to use your terminal’s selection, or press yy to copy a whole cell.

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.

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.

  • nvim unavailable — builtin editor: Neovim isn’t on your PATH, 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 = false to rule out your config.

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:

Terminal window
jotter --log /tmp/jotter.log notebook.ipynb