cjpais/Handy · error
Failed to initialize recording manager
Error message
Failed to initialize recording manager
What it means
Error "Failed to initialize recording manager" thrown in cjpais/Handy.
Source
Thrown at src-tauri/src/lib.rs:166
fn initialize_core_logic(app_handle: &AppHandle) {
// Note: Enigo (keyboard/mouse simulation) is NOT initialized here.
// The frontend is responsible for calling the `initialize_enigo` command
// after onboarding completes. This avoids triggering permission dialogs
// on macOS before the user is ready.
// Initialize the managers. The audio recorder receives the streaming router
// explicitly, so always-on microphone startup can wire live-preview frames
// even before Tauri state is populated.
let model_manager =
Arc::new(ModelManager::new(app_handle).expect("Failed to initialize model manager"));
let transcription_manager = Arc::new(
TranscriptionManager::new(app_handle, model_manager.clone())
.expect("Failed to initialize transcription manager"),
);
let recording_manager = Arc::new(
AudioRecordingManager::new(app_handle, transcription_manager.stream_router())
.expect("Failed to initialize recording manager"),
);
let history_manager =
Arc::new(HistoryManager::new(app_handle).expect("Failed to initialize history manager"));
// Initialize the transcribe-cpp native backend (logging + backend module
// registration) once, before any whisper model is loaded.
managers::transcription::init_transcribe_backend();
// Apply accelerator preferences before any model loads
managers::transcription::apply_accelerator_settings(app_handle);
// Add managers to Tauri's managed state
app_handle.manage(recording_manager.clone());
app_handle.manage(model_manager.clone());
app_handle.manage(transcription_manager.clone());
app_handle.manage(history_manager.clone());
app_handle.manage(tray::CurrentTrayIconState::new());
View on GitHub (pinned to 98a4d80cce)
When it happens
Trigger: Thrown at src-tauri/src/lib.rs:166 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of cjpais/Handy@98a4d80cce (2026-08-16).
Data as JSON: /api/errors/50390ba7407929b7.
Report an issue: GitHub.