zellij-org/zellij · error · ConfigError
The layout was not found
Error message
The layout was not found
What it means
Error "The layout was not found" thrown in zellij-org/zellij.
Solutions
- Check the layout name/file path spelling; run `zellij setup --check` to list known layouts.
- Create the layout file or pass --layout with a valid name.
When it happens
Trigger: Occurs at zellij-utils/src/input/layout.rs:1653 when the operation fails: "The layout was not found". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.
Common situations: Typo in layout name or missing layout file in the layout directory.
AI-assisted analysis of zellij-org/zellij@a162323384 (2026-08-19).
Data as JSON: /api/errors/f7b134abe51e2c39.
Report an issue: GitHub.
Appendix: source
Thrown at zellij-utils/src/input/layout.rs:1653
"Compact layout swap".into(),
Self::stringified_compact_swap_from_assets()?,
)),
)),
Some("classic") => Ok((
"Classic layout".into(),
Self::stringified_classic_from_assets()?,
Some((
"Classiclayout swap".into(),
Self::stringified_classic_swap_from_assets()?,
)),
)),
Some("welcome") => Ok((
"Welcome screen layout".into(),
Self::stringified_welcome_from_assets()?,
None,
)),
None | Some(_) => Err(ConfigError::IoPath(
std::io::Error::new(std::io::ErrorKind::Other, "The layout was not found"),
path.into(),
)),
}
}
pub fn stringified_default_from_assets() -> Result<String, ConfigError> {
Ok(String::from_utf8(setup::DEFAULT_LAYOUT.to_vec())?)
}
pub fn stringified_default_swap_from_assets() -> Result<String, ConfigError> {
Ok(String::from_utf8(setup::DEFAULT_SWAP_LAYOUT.to_vec())?)
}
pub fn stringified_strider_from_assets() -> Result<String, ConfigError> {
Ok(String::from_utf8(setup::STRIDER_LAYOUT.to_vec())?)
}
pub fn stringified_strider_swap_from_assets() -> Result<String, ConfigError> {
Ok(String::from_utf8(setup::STRIDER_SWAP_LAYOUT.to_vec())?)
}
pub fn stringified_disable_status_from_assets() -> Result<String, ConfigError> {View on GitHub (pinned to a162323384)