spacedriveapp/spacedrive · error

Entry not found

Error message

Entry not found

What it means

Error "Entry not found" thrown in spacedriveapp/spacedrive.

Source

Thrown at core/src/service/file_sync/conduit.rs:233

	/// Get last completed generation for a conduit
	pub async fn get_last_completed_generation(
		&self,
		conduit_id: i32,
	) -> Result<Option<sync_generation::Model>> {
		Ok(sync_generation::Entity::find()
			.filter(sync_generation::Column::ConduitId.eq(conduit_id))
			.filter(sync_generation::Column::CompletedAt.is_not_null())
			.order_by_desc(sync_generation::Column::Generation)
			.one(&*self.db)
			.await?)
	}

	/// Get entry by ID (helper)
	pub async fn get_entry(&self, entry_id: i32) -> Result<entry::Model> {
		entry::Entity::find_by_id(entry_id)
			.one(&*self.db)
			.await?
			.ok_or_else(|| anyhow::anyhow!("Entry not found"))
	}

	/// Delete a conduit
	pub async fn delete_conduit(&self, conduit_id: i32) -> Result<()> {
		sync_conduit::Entity::delete_by_id(conduit_id)
			.exec(&*self.db)
			.await?;

		Ok(())
	}
}

View on GitHub (pinned to 6dfeccf211)

When it happens

Trigger: Thrown at core/src/service/file_sync/conduit.rs:233 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of spacedriveapp/spacedrive@6dfeccf211 (2026-08-16). Data as JSON: /api/errors/634bd2c6274e3f2c. Report an issue: GitHub.