{"record":{"id":"e99dabeacc5f20ad","repo":"Zackriya-Solutions/meetily","slug":"failed-to-load-parakeet-model","errorCode":null,"errorMessage":"Failed to load Parakeet model '{}': {}","messagePattern":"Failed to load Parakeet model '(.+?)': (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"frontend/src-tauri/src/audio/retranscription.rs","lineNumber":669,"sourceCode":"                info!(\n                    \"Loading Parakeet model '{}' (current: {:?})\",\n                    target_model, current_model\n                );\n\n                // Discover available models first\n                info!(\"Discovering available Parakeet models...\");\n                if let Err(discover_err) = e.discover_models().await {\n                    warn!(\"Error during Parakeet model discovery (continuing anyway): {}\", discover_err);\n                }\n\n                match e.load_model(&target_model).await {\n                    Ok(_) => {\n                        info!(\"Parakeet model '{}' loaded successfully\", target_model);\n                        Ok(e)\n                    }\n                    Err(load_err) => {\n                        error!(\"Failed to load Parakeet model '{}': {}\", target_model, load_err);\n                        Err(anyhow!(\"Failed to load Parakeet model '{}': {}\", target_model, load_err))\n                    }\n                }\n            } else {\n                info!(\"Parakeet model '{}' already loaded\", target_model);\n                Ok(e)\n            }\n        }\n        None => Err(anyhow!(\"Parakeet engine not initialized\")),\n    }\n}\n\n/// Get the configured Parakeet model name from the database\nasync fn get_configured_parakeet_model<R: Runtime>(app: &AppHandle<R>) -> Result<String> {\n    debug!(\"Getting configured Parakeet model from database...\");\n\n    let app_state = app\n        .try_state::<AppState>()\n        .ok_or_else(|| {","sourceCodeStart":651,"sourceCodeEnd":687,"githubUrl":"https://github.com/Zackriya-Solutions/meetily/blob/0281737d87d26352fb0adc78c8c0975f691b23d1/frontend/src-tauri/src/audio/retranscription.rs#L651-L687","documentation":"ParakeetEngine::load_model(target_model) failed while preparing the engine. discover_models() runs first and its failure is only a warning; the hard error is from load_model. The inner '{}' typically means the ONNX model files are missing from the models directory, corrupt/incomplete, incompatible with the ONNX runtime build, or memory ran out while loading weights.","triggerScenarios":"Retranscribing with provider='parakeet' and a model name whose files were never downloaded; models directory moved; truncated download; loading on a machine below the model's RAM requirement.","commonSituations":"User selects a Parakeet model that is not downloaded; app data dir synced/copied incompletely to a new machine; ONNX runtime updated and the old model file no longer loads.","solutions":["Verify the Parakeet model files exist in the models directory.","Re-download the model from Settings and retry.","Read the inner error: missing file vs load/inference error vs out-of-memory point to different fixes.","Fall back to the default Parakeet model to isolate a model-specific problem."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"// Verify Parakeet model files exist before the batch job\nlet models_dir = get_models_directory();\nif !models_dir.map(|d| d.join(&target_model).exists()).unwrap_or(false) {\n    return Err(anyhow!(\"Parakeet model {target_model} not present - download it first\"));\n}","typeGuard":null,"tryCatchPattern":"// Frontend: offer model download on load failure\nif (String(e).includes('Failed to load Parakeet model')) promptModelDownload(provider, model);","preventionTips":["Download the Parakeet model in Settings before selecting it.","Validate model files after moving the app data directory between machines.","Match the ONNX runtime version to the model files when updating the app."],"tags":["parakeet","onnx","model-loading","configuration"],"backgroundTag":"ml-model-load-failed","analyzedSha":"0281737d87d26352fb0adc78c8c0975f691b23d1","analyzedAt":"2026-08-16T20:57:52.567Z","schemaVersion":2},"datasetVersion":"2026-08-16T23:17:17.608Z"}