# Diagnostic codes

`E_` codes are errors, `L_` codes are lints (warnings and notes). Every diagnostic has a `code`, `what`, `why` and `fix`, and a file and line when the cause is in the comp file.

| Code | Kind | Meaning |
|---|---|---|
| `E_CODEC_UNAVAILABLE` | error | A codec is not available at run time (FFmpeg shared libraries not installed, or no platform decoder). |
| `E_COLOR_CONFIG` | error | The colour config could not be loaded. |
| `E_COLOR_REFERENCE` | error | The colour reference file (`lamino color verify`) could not be read or is not a reference. |
| `E_COLOR_REFERENCE_MISMATCH` | error | The colour reference was generated for another config, working space or context than the one loaded. |
| `E_COLOR_SPACE` | error | Unknown colourspace, role or display/view. |
| `E_COLOR_UNSUPPORTED` | error | A transform of the colour config cannot be evaluated by this build (on the CPU, or as WGSL on the GPU); nothing is approximated. |
| `E_CONFIG` | error | lamino.jsonc is invalid. |
| `E_CONFIG_NOT_FOUND` | error | No lamino.jsonc found walking up from the given path. |
| `E_COST_BUDGET` | error | A node exceeded its per-node budget at proxy level; make this element outside and read it in, or bake() it and render the bake once at full resolution (for a read: source proxies, fewer parts / lighter compression, or a bake downstream). stats / bench / render --trace / preview report L_COST_BUDGET instead. |
| `E_DATA_ENCODING` | error | A file read by json() / table() / readText() / values() is not UTF-8 text (a BOM is allowed). |
| `E_DATA_TABLE` | error | A CSV read by table() is malformed: a quote, an empty or repeated header name, or a row of another length. |
| `E_FRAME_MISSING` | error | A frame file is missing and missing=error (or no earlier frame exists for hold). |
| `E_GPU` | error | GPU initialisation or execution failed. |
| `E_IMAGE_FORMAT` | error | Unsupported image format or compression in this build. |
| `E_IMAGE_LAYER` | error | The requested EXR layer or channel does not exist. |
| `E_IMAGE_READ` | error | An image file could not be decoded. |
| `E_IMAGE_WRITE` | error | An image file could not be written. |
| `E_INTERNAL` | error | A bug in Laminolith; report it with the comp file and IR. |
| `E_INVALID_ARGUMENT` | error | A CLI/MCP argument or override was malformed. |
| `E_IO` | error | A file could not be read or written. |
| `E_IR_BAD_ID` | error | A node id is not a valid identifier. |
| `E_IR_CYCLE` | error | The graph has a cycle. |
| `E_IR_DUPLICATE_ID` | error | Two nodes share an id. |
| `E_IR_FPS` | error | Invalid frame rate. |
| `E_IR_INPUT_COUNT` | error | Wrong number of inputs for the node type. |
| `E_IR_NOT_ANIMATABLE` | error | Keyframes were given for a static parameter. |
| `E_IR_NO_OUTPUT` | error | The output node does not exist. |
| `E_IR_PARAM_INVALID` | error | A parameter value is well-typed but not accepted (non-canonical spelling, or options that contradict each other). |
| `E_IR_PARAM_RANGE` | error | A parameter value is out of its allowed range. |
| `E_IR_PARAM_REQUIRED` | error | A required parameter is missing. |
| `E_IR_PARAM_TYPE` | error | A parameter value has the wrong type. |
| `E_IR_PORT_TYPE` | error | An input is connected to a node of an incompatible port type. |
| `E_IR_RES` | error | Invalid resolution or pixel aspect ratio. |
| `E_IR_SCHEMA_VERSION` | error | The IR schemaVersion is unsupported. |
| `E_IR_UNKNOWN_INPUT` | error | A node input references a node that does not exist. |
| `E_IR_UNKNOWN_NODE` | error | Unknown node type. |
| `E_IR_UNKNOWN_PARAM` | error | The node type has no such parameter. |
| `E_JSON` | error | Invalid JSON (IR, lock, or input). |
| `E_LOCK` | error | lamino.lock is invalid or too new. |
| `E_NODE_NOT_FOUND` | error | No node with that id in the comp. |
| `E_NOT_IMPLEMENTED` | error | The operation is not available in this build. |
| `E_OTIO_COVERAGE` | error | An OTIO clip shows frames its comp, sequence or video does not have. |
| `E_OTIO_RATE` | error | An OTIO rate is not one of the supported frame rates (24, 25, 30, 48, 50, 60, 24000/1001, 30000/1001, 60000/1001). |
| `E_OTIO_RATE_MISMATCH` | error | An OTIO rate does not match: a clip's rate differs from its timeline, or a track rate differs from the fps of a referenced comp. |
| `E_OTIO_RES_MISMATCH` | error | Comps referenced by one OTIO timeline have different resolutions. |
| `E_OTIO_TIME` | error | An OTIO time value is not a whole number of frames at its rate. |
| `E_OTIO_UNSUPPORTED` | error | An OTIO element without a determinable duration cannot be previewed. |
| `E_OUTPUT_LOCKED` | error | Another render holds this $OUT version folder (.lamino-render.lock); wait for it, or delete the lock file if no render is running. |
| `E_PATH_ABSOLUTE` | error | An absolute path was used; use a root alias ($SHOTS/...). |
| `E_PATH_NOT_VERSIONED` | error | Output paths must contain a _vNNN folder. |
| `E_PATH_NO_ALIAS` | error | The path does not start with a root alias. |
| `E_PATH_OUTSIDE_PROJECT` | error | An import or file escapes the project / library roots. |
| `E_PATH_PARENT` | error | '..' is not allowed in paths. |
| `E_PATH_READONLY` | error | Writing under a read-only root was refused. |
| `E_PATH_UNKNOWN_ALIAS` | error | The alias is not declared in lamino.jsonc. |
| `E_PATH_VERSION_EXISTS` | error | The $OUT version folder cannot take this render: existing frames carry a missing or different lamino:nodeKey / lamino:outputOptions, leftover *.tmp.exr files remain from an interrupted render, or a frame appeared while rendering; nothing (more) was written. Bump the version folder. |
| `E_RENDER` | error | A frame failed to evaluate (a movie stops at it: it cannot skip a frame), or the render process ended without a result. |
| `E_RESOURCE_LIMIT` | error | A per-frame GPU memory, time or data-window budget was exceeded. |
| `E_REVIEW_NOT_CONNECTED` | error | No review window answers for the comp; start `lamino review <comp>` and ask again. |
| `E_SCRIPT_IMPORT` | error | An import could not be resolved. |
| `E_SCRIPT_LIMIT` | error | The script exceeded its time or memory budget. |
| `E_SCRIPT_NO_DEFAULT` | error | The comp file has no default export created with comp(). |
| `E_SCRIPT_RUNTIME` | error | The comp file threw while building the graph. |
| `E_SCRIPT_SYNTAX` | error | The comp file (or an import) failed to parse. |
| `E_SHADER_COMPILE` | error | GLSL failed to compile (file and line point at the original source). |
| `E_SHADER_INCLUDE` | error | A shader #include could not be resolved inside the project roots. |
| `E_TEXT_CLUSTER_COUNT` | error | A text node's perGlyph list does not have one entry per cluster of its string. |
| `E_TIMEOUT` | error | An operation exceeded its time limit. |
| `E_TIME_MAP` | error | A withTime() time map is invalid, or its scope holds something a time map cannot retime. |
| `E_UPDATE` | error | lamino update could not check, download or apply an update (update server, download, checksum, or a build that was not installed). |
| `E_VALUES_TABLE` | error | A values table (JSON/CSV) could not be read as frame → number. |
| `L_ALPHA_RANGE` | lint | Alpha outside 0..1. |
| `L_AOV_UNDECLARED` | lint | A data layer (depth, motion, position...) is read without an aov declaration. |
| `L_BAKE_SUGGESTED` | lint | A sub-graph is slow and unchanged across saves; consider bake() and one full-resolution render of it (proxy evaluations then read the baked frames). |
| `L_CAMERA_STATIC` | lint | A one-frame camera file (or point) is used as a static camera (point) on every frame. |
| `L_COLORSPACE_ASSUMED` | lint | A video has no colour tags; Rec.709 was assumed. |
| `L_COLORSPACE_FROM_FILE` | lint | A read without colorspace uses the colourspace its file header declares (a colourspace attribute or the EXR colorInteropID). |
| `L_COLORSPACE_FROM_MISMATCH` | lint | A colorspace or displayView node decodes its input as a colour space that is not the input's colour state (the working space after a read, `to` after a colorspace, the display colour space after a forward displayView). |
| `L_COLORSPACE_UNKNOWN` | lint | The named colourspace is not in the config. |
| `L_COLORSPACE_UNSPECIFIED` | lint | A read has no colourspace and only the config's default file rule matched. |
| `L_COLOR_CONFIG_ENV` | lint | The colour config uses $VARs without an environment: section, so they come from the machine's environment. |
| `L_COLOR_STATE_MISMATCH` | lint | The two inputs of a merge are in different colour states (e.g. one scene-linear, one display-referred); convert one with colorspace() first. |
| `L_COST_BUDGET` | lint | A node exceeded its per-node budget at proxy level; a measuring tool (stats, bench, render --trace) or preview reports it and goes on where other operations stop with E_COST_BUDGET. |
| `L_CRYPTO_NO_MATCH` | lint | A cryptomatte name glob matched nothing in the manifest. |
| `L_DATA_WINDOW_OVERFLOW` | lint | The data window extends beyond the display window (overscan kept). |
| `L_DISPLAY_WITHOUT_VIEW` | lint | A colorspace node converts scene-referred values to a display colour space: that applies the config's default view transform (no tone curve in the ACES configs), not a view; displayView applies a view. |
| `L_ENV_IGNORED` | lint | OCIO_* environment variables were ignored at start-up (lamino.jsonc's colour config is authoritative). |
| `L_ESTIMATED` | lint | A value was estimated rather than declared. |
| `L_FPS_MISMATCH` | lint | An asset's frame rate differs from the comp. |
| `L_FRAME_BUDGET` | lint | A frame exceeded the per-frame budget; render --trace reports it and goes on where render stops with E_RESOURCE_LIMIT. |
| `L_FRAME_EXISTS` | lint | An output frame already existed with the same lamino:nodeKey and was skipped (automatic resume; nothing is overwritten). |
| `L_GLYPH_MISSING` | lint | A text node has characters the font (and its fallbacks) cannot show. |
| `L_ID_GENERATED` | lint | A node id was generated (duplicate variable name); pass .id() for a stable one. |
| `L_LOCK_CONFIG_MISMATCH` | lint | The colour config differs from the hash pinned in lamino.lock. |
| `L_LOCK_MISSING` | lint | An asset frame listed in lamino.lock is missing on disk. |
| `L_LOCK_PENDING` | lint | Asset hashing is still running; verification pending. |
| `L_LOCK_STALE` | lint | An asset's size or mtime changed since lamino.lock was written. |
| `L_LOTTIE_UNSUPPORTED` | lint | A Lottie feature is not supported and was skipped. |
| `L_MERGE_ALPHA` | lint | A merge op gives a plainly wrong alpha for two opaque inputs (add: 2, subtract / difference: 0); set the merge's alpha option. |
| `L_NAN_INF` | lint | NaN or Inf pixels were found. |
| `L_NO_PROJECT` | lint | inspect ran outside a project: the file was read directly, without lock status. |
| `L_OTIO_HANDLES` | lint | An OTIO clip's media has fewer handle frames around the cut than asked for. |
| `L_OTIO_TRANSITION` | lint | An OTIO transition was treated as a cut. |
| `L_OTIO_UNSUPPORTED` | lint | An OTIO element of an unknown schema was kept opaque and ignored. |
| `L_PIXEL_UNITS` | lint | A parameter looks like a pixel count; use width units. |
| `L_PREMULT_MISMATCH` | lint | Straight alpha where premultiplied is expected (or vice versa). |
| `L_PROVENANCE_MISSING` | lint | A generated/rendered asset has no provenance in lamino.lock. |
| `L_PROXY_STALE` | lint | A proxy file does not match its source (windows or header); the full file was read and downsampled instead. Rebuild with `lamino proxy build --force`. |
| `L_PROXY_STATS` | lint | Statistics were computed at a proxy level. |
| `L_RES_MISMATCH` | lint | An asset's resolution differs from the comp. |
| `L_SEQUENCE_GAP` | lint | Frames are missing from a sequence. |
| `L_SHADER_NO_MARGIN` | lint | A shader node declares neither padding nor hint pointwise and reads the whole input. |
| `L_SLOW_NODE` | lint | A node took more than half the proxy frame budget. |
| `L_SYSTEM_FONT` | lint | A font outside the project ($FONTS) is referenced. |
| `L_TIME_FRAME_SAMPLED` | lint | Nodes inside withTime() that cannot be evaluated between frames were retimed by whole frames (info). |
| `L_UNUSED_NODE` | lint | A node does not contribute to the output. |
| `L_VFR` | lint | A video file has variable frame rate; convert to constant. |
| `L_VIEW_PASSTHROUGH` | lint | A display-referred node cannot be converted to the requested display / view without a view transform; its values are shown as they are. |
