Troubleshooting
The errors you're most likely to meet, what they mean, and how to fix them.
Tato’s errors try to name the problem and the fix. When one isn’t clear, find it here. For a stream that runs but misbehaves, start with Inspect a running stream.
The runtime
Section titled “The runtime”error: no runtime is running on this machine: nothing answers at …
The runtime isn’t running, so no command can reach it.
- With Tato Studio: open it. It runs the runtime while it’s open.
- With a systemd service:
systemctl --user start tatolabd, andsystemctl --user status tatolabdto see why it stopped. - Otherwise: run
tatolabdin a terminal of its own.
If the message goes on to say the machine’s runtime is held by another user, that runtime serves their account, not yours. A machine runs one runtime, for one user, at a time.
another runtime holds this machine: …
A tatolabd is already running. The message gives its user, process ID and executable. Use that one, or stop it before starting another. A common cause is a tatolabd started in a terminal while a service is also running. Tato Studio uses a runtime that’s already running instead of starting its own.
No usable Vulkan driver (ICD) was found or No Vulkan loader library could be opened (Linux)
The GPU driver’s Vulkan support is missing. Install your GPU’s Vulkan driver (the proprietary NVIDIA driver, or mesa-vulkan-drivers for AMD and Intel) and the Vulkan loader (libvulkan1), then check that vulkaninfo --summary works.
Opening a project
Section titled “Opening a project”tatolab new, open, reload and dev queue an action and return before it has run, so a problem with the project shows up afterwards: in tatolab streams, with the reason under the table, and in the project’s log. Run tatolab logs --level error in the project’s folder, or tatolab logs --action <ID> with the ID the command printed.
… is not a project: it holds no tatolab-project.json
The folder the command named isn’t a project. The project commands act on the current folder, never its parents: run them from the project folder, or point at it with --dir.
A verb is refused, naming another
A project’s state decides which verbs fit: open on an open project names reload, play on a paused one names resume, any playback verb on a closed one names open. Run the one it names.
A stream stays preparing, on making_the_venv
The runtime is making the project’s .venv with uv sync. The first time, that downloads Python and every dependency, which can take minutes on a slow network; tatolab logs -f shows uv’s progress. To give up on it, tatolab cancel <ID>.
A stream is failed, and uv’s error is the reason
The runtime couldn’t make the project’s .venv. uv’s own words say why: a dependency that doesn’t resolve, a Python it couldn’t download, no network. Fix it, then tatolab play, or reload.
A stream is failed, with a node type its code doesn’t describe
The graph document names a node type the project’s Python can’t find: a module that doesn’t import, a class that was renamed, or a package that isn’t installed. Each node of that type is kept as written and reads Error. Fix the code, or uv add the package, and reload.
A link reads error
Its two ends don’t fit: a family that doesn’t match, Records names the input requires that the output doesn’t write, or a codec the input doesn’t take. error_reason in tatolab graph names both ends. The link is kept as drawn; remove it or fix it, and the stream plays again.
A stream is held stopped after a crash
A stream involved in the runtime’s last two crashes in a row is held stopped at the next start, from its document alone, with none of its node code read. tatolab reload tries it for real.
input port … states no delivery
An input with no pin type, such as a Records input, names its delivery: delivery="newest" for the latest message, delivery="ordered" for every one. An input with a pin type reads by its type’s default when it names none: an Image input reads the newest frame. See Write a node.
… declares the port name 'video' more than once
Inputs and outputs share one set of names on a node. Rename one, such as video in and processed out.
… declares no input ports, so it must declare an execution mode
A source has nothing to react to. Use @node.process(execution="continuous", interval_ms=...) to run on a timer, or execution="manual" to drive it from start.
… is defined inside a function
Each process node runs in its own process, which imports the class by its module path. Move the class to the top level of a module, such as nodes/detector.py.
A function node is refused by its side-effect check
A function node’s body may not read the clock or randomness, use files, sockets or threads, use global, or read a mutable module-level value. Take time from a Time parameter and state from State, or make it a process node.
A setting change is refused while the stream plays
The node has no configure method, so it can’t take a new setting live. Add one, or stop and play the project.
A node shows not_ready_because
The node reported itself not ready, in its own words: a setting left unset, a file it names missing. It keeps running, and its picture outputs send transparent frames until it’s ready. Do what the reason says.
A node is Restarting, or stays in Error
Its process died, and the runtime starts a new one after a backoff. One that dies five times in a row, each within a minute of starting, is left in Error, with why in components.failed_because in tatolab graph. Fix it and reload.
Devices
Section titled “Devices”No camera, or the wrong one
CameraSource uses the first camera it finds unless device_id names one: a path like /dev/video2 on Linux (list them with v4l2-ctl --list-devices), or a camera’s unique ID on macOS. A named camera that can’t be opened is refused by name. With no camera at all, use TestPatternSource, as a new project does.
No picture on macOS
Playing a stream asks for camera access without blocking it: frames start once you allow it. A stream the runtime re-opened by itself never asks, so if the camera node says access has not been asked for, stop and play the project. If you refused, allow it in System Settings → Privacy & Security → Camera.
No sound
Check the microphone permission on macOS, and the device name if you set device_id. A device_id that can’t be opened is refused, never swapped for another device.
A VirtualCameraSink can’t create its camera
Run tatolab enable-virtual-camera once. It needs the v4l2loopback module for your kernel (v4l2loopback-dkms on Debian and Ubuntu). Until then, door: auto presents a PipeWire camera instead. See Virtual camera.
the encoder session could not be minted …
The GPU or driver has no hardware video encoder Tato can use for that codec. Try the other codec (H265Encoder instead of H264Encoder, or the reverse), and check your driver’s Vulkan Video support on Linux.
A USB webcam runs at a few frames per second on Linux
CameraSource reads uncompressed video only, and picks the largest size within max_width and max_height. Most USB 2.0 webcams send uncompressed HD at 5 to 10 frames per second; their faster HD modes are MJPEG, which isn’t read. Lower the limits (640 × 480 usually runs at 30), or use a USB 3 camera. v4l2-ctl --list-formats-ext lists what your camera offers.
Over ssh
Section titled “Over ssh”bash: tatolab: command not found
A command run over ssh gets a non-interactive shell, and on Debian and Ubuntu that shell doesn’t have ~/.local/bin on its PATH. Give the path instead: ssh door-box .local/bin/tatolab streams.
Sharing
Section titled “Sharing”A MoqTrackReceive reads nothing
It keeps asking for its track, so a mistake there shows as silence, not an error. Check that the sending project is playing, that both gateways reach the same relay (the gateway’s records in tatolab logs --level warn say when it can’t), and that broadcast and track match exactly: a MoqGateway’s broadcast is served as <broadcast>.hang, and names are made URL-safe, so Front Camera is front-camera.
MoqTrackSend refuses an Image
A picture’s message names GPU memory on its own machine. Encode it with H264Encoder and send the encoder’s output.
tatolab logs shows nothing, or another project’s records
A project’s log lives in its own .tatolab/logs/ folder, and tatolab logs reads the project in the current folder. Run it in the project folder, or name it with --dir.
Still stuck?
Section titled “Still stuck?”Open an issue on GitHub with the command you ran, the full error, and tatolab --version, or email hello@tatolab.com.