spacedriveapp/spacedrive · error · anyhow::Error

No libraries found

Error message

No libraries found

What it means

Error "No libraries found" thrown in spacedriveapp/spacedrive.

Source

Thrown at apps/cli/src/domains/job/mod.rs:79

							j.id,
							j.name,
							(j.progress * 100.0) as u32,
							j.status
						);
					}
				});
			}
		}
		JobCmd::Info(args) => {
			let libs: Vec<sd_core::ops::libraries::list::output::LibraryInfo> = execute_core_query!(
				ctx,
				sd_core::ops::libraries::list::query::ListLibrariesInput {
					include_stats: false
				}
			);
			let _lib = libs
				.get(0)
				.ok_or_else(|| anyhow::anyhow!("No libraries found"))?;

			let out: Option<JobInfoOutput> = execute_query!(ctx, args.to_input());
			print_output!(ctx, &out, |o: &Option<JobInfoOutput>| {
				match o {
					Some(j) => println!(
						"{} {} {}% {:?}",
						j.id,
						j.name,
						(j.progress * 100.0) as u32,
						j.status
					),
					None => println!("Job not found"),
				}
			});
		}
		JobCmd::Monitor(args) => {
			run_job_monitor(ctx, args).await?;
		}

View on GitHub (pinned to 6dfeccf211)

When it happens

Trigger: Thrown at apps/cli/src/domains/job/mod.rs:79 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/61ba60d2f8c77a8c. Report an issue: GitHub.