{"record":{"id":"61ba60d2f8c77a8c","repo":"spacedriveapp/spacedrive","slug":"no-libraries-found","errorCode":null,"errorMessage":"No libraries found","messagePattern":"No libraries found","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"apps/cli/src/domains/job/mod.rs","lineNumber":79,"sourceCode":"\t\t\t\t\t\t\tj.id,\n\t\t\t\t\t\t\tj.name,\n\t\t\t\t\t\t\t(j.progress * 100.0) as u32,\n\t\t\t\t\t\t\tj.status\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tJobCmd::Info(args) => {\n\t\t\tlet libs: Vec<sd_core::ops::libraries::list::output::LibraryInfo> = execute_core_query!(\n\t\t\t\tctx,\n\t\t\t\tsd_core::ops::libraries::list::query::ListLibrariesInput {\n\t\t\t\t\tinclude_stats: false\n\t\t\t\t}\n\t\t\t);\n\t\t\tlet _lib = libs\n\t\t\t\t.get(0)\n\t\t\t\t.ok_or_else(|| anyhow::anyhow!(\"No libraries found\"))?;\n\n\t\t\tlet out: Option<JobInfoOutput> = execute_query!(ctx, args.to_input());\n\t\t\tprint_output!(ctx, &out, |o: &Option<JobInfoOutput>| {\n\t\t\t\tmatch o {\n\t\t\t\t\tSome(j) => println!(\n\t\t\t\t\t\t\"{} {} {}% {:?}\",\n\t\t\t\t\t\tj.id,\n\t\t\t\t\t\tj.name,\n\t\t\t\t\t\t(j.progress * 100.0) as u32,\n\t\t\t\t\t\tj.status\n\t\t\t\t\t),\n\t\t\t\t\tNone => println!(\"Job not found\"),\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tJobCmd::Monitor(args) => {\n\t\t\trun_job_monitor(ctx, args).await?;\n\t\t}","sourceCodeStart":61,"sourceCodeEnd":97,"githubUrl":"https://github.com/spacedriveapp/spacedrive/blob/6dfeccf2113039e35f2ce735f945e70dc3e4ea45/apps/cli/src/domains/job/mod.rs#L61-L97","documentation":"Error \"No libraries found\" thrown in spacedriveapp/spacedrive.","triggerScenarios":"Thrown at apps/cli/src/domains/job/mod.rs:79 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6dfeccf2113039e35f2ce735f945e70dc3e4ea45","analyzedAt":"2026-08-16T11:26:17.074Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}