Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

release-app - add warning if user does not have vcredist installed issue since we don't know how to fix yet

Louis Beaumont02bf9268e4c4
diff --git a/Cargo.toml b/Cargo.toml
index 3ffd3cd79..e340745ea 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,7 @@ exclude = ["screenpipe-app-tauri/src-tauri"]
resolver = "2"
[workspace.package]
-version = "0.2.61"
+version = "0.2.62"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/mediar-ai/screenpipe"
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 087f51be5..93632a2da 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.38.10"
+version = "0.39.0"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-server/src/core.rs b/screenpipe-server/src/core.rs
index 5160ec296..5863ee166 100644
--- a/screenpipe-server/src/core.rs
+++ b/screenpipe-server/src/core.rs
@@ -117,7 +117,14 @@ pub async fn start_continuous_recording(
languages.clone(),
Some(audio_devices_control.clone()),
)
- .await?
+ .await
+ .map_err(|e| {
+ if e.to_string().contains("ORT API") {
+ anyhow::anyhow!("ONNX Runtime initialization failed. This is likely due to missing Visual C++ Redistributable packages. Please install the latest Visual C++ Redistributable from https://aka.ms/vs/17/release/vc_redist.x64.exe and restart your computer. For more information, see: https://github.com/mediar-ai/screenpipe/issues/1034")
+ } else {
+ e
+ }
+ })?
};
let whisper_sender_clone = whisper_sender.clone();
let db_manager_audio = Arc::clone(&db);
@@ -534,7 +541,7 @@ async fn process_audio_result(
.count_audio_transcriptions(audio_chunk_id)
.await
.unwrap_or(0);
-
+
if let Err(e) = db
.insert_audio_transcription(
audio_chunk_id,