zed-industries/zed · error
project not found
Error message
project not found
What it means
Error "project not found" thrown in zed-industries/zed.
Source
Thrown at crates/agent_ui/src/mention_set.rs:391
// Remove mention
editor.edit([(start_anchor..end_anchor, "")], cx);
});
this.mentions.remove(&crease_id);
this.crease_entities.remove(&crease_id);
})
.ok();
}
})
}
pub fn confirm_mention_for_file(
&self,
abs_path: PathBuf,
supports_images: bool,
cx: &mut Context<Self>,
) -> Task<Result<Mention>> {
let Some(project) = self.project.upgrade() else {
return Task::ready(Err(anyhow!("project not found")));
};
let Some(project_path) = project
.read(cx)
.project_path_for_absolute_path(&abs_path, cx)
else {
return Task::ready(Err(anyhow!(
"project path not found for file mention {abs_path:?}"
)));
};
if is_raster_image_path(&abs_path) {
if !supports_images {
return Task::ready(Err(anyhow!("This model does not support images yet")));
}
let task = project.update(cx, |project, cx| project.open_image(project_path, cx));
return cx.spawn(async move |_, cx| {
let image = task.await?;View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/agent_ui/src/mention_set.rs:391 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16).
Data as JSON: /api/errors/09f378c4dade0906.
Report an issue: GitHub.