zellij-org/zellij · error
Failed to convert to protobuf: {:?}
Error message
Failed to convert to protobuf: {:?} What it means
Error "Failed to convert to protobuf: {:?}" thrown in zellij-org/zellij.
Source
Thrown at zellij-server/src/plugins/pipes.rs:156
}
pub fn apply_pipe_message_to_plugin(
plugin_id: PluginId,
client_id: ClientId,
running_plugin: &mut RunningPlugin,
pipe_message: &PipeMessage,
plugin_render_assets: &mut Vec<PluginRenderAsset>,
senders: &ThreadSenders,
) -> Result<()> {
let instance = &running_plugin.instance;
let rows = running_plugin.rows;
let columns = running_plugin.columns;
let err_context = || format!("Failed to apply event to plugin {plugin_id}");
let protobuf_pipe_message: ProtobufPipeMessage = pipe_message
.clone()
.try_into()
.map_err(|e| anyhow!("Failed to convert to protobuf: {:?}", e))?;
match instance.get_typed_func::<(), i32>(&mut running_plugin.store, "pipe") {
Ok(pipe) => {
wasi_write_object(
running_plugin.store.data(),
&protobuf_pipe_message.encode_to_vec(),
)
.with_context(err_context)?;
let should_render = pipe
.call(&mut running_plugin.store, ())
.with_context(err_context)?;
let should_render = should_render == 1;
if rows > 0 && columns > 0 && should_render {
let rendered_bytes = instance
.get_typed_func::<(i32, i32), ()>(&mut running_plugin.store, "render")
.and_then(|render| {
render.call(&mut running_plugin.store, (rows as i32, columns as i32))
})
.map_err(|e| anyhow!(e))View on GitHub (pinned to 98a0837077)
When it happens
Trigger: Thrown at zellij-server/src/plugins/pipes.rs:156 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zellij-org/zellij@98a0837077 (2026-08-16).
Data as JSON: /api/errors/148bcf26da0b6d99.
Report an issue: GitHub.