Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Compatibility Issue with ONNX Runtime Version in screenpipe #1357

Open
BAWES opened this issue Feb 14, 2025 · 8 comments
Open

[bug] Compatibility Issue with ONNX Runtime Version in screenpipe #1357

BAWES opened this issue Feb 14, 2025 · 8 comments
Labels
bug Something isn't working

Comments

@BAWES
Copy link

BAWES commented Feb 14, 2025

describe the bug
Executing the screenpipe command results in a runtime error due to the ONNX model version [19] being unsupported by the current ONNX Runtime, which only supports versions 1 to 10. This causes the application to fail initialization.

Steps to Reproduce:

  1. Open a command shell on a Windows machine.
  2. Run the command: screenpipe.

system info

  • os: Windows 11 Pro, Version 10.0.22631
  • screenpipe version: 0.2.39
PS C:\Users\User> screenpipe
←[2m2025-02-14T22:24:27.749477Z←[0m ←[32m INFO←[0m ←[2mscreenpipe_audio::vad_engine←[0m←[2m:←[0m Initializing SileroVad...
←[2m2025-02-14T22:24:27.750004Z←[0m ←[32m INFO←[0m ←[2mscreenpipe_audio::vad_engine←[0m←[2m:←[0m SileroVad Model downloaded to: "C:\\Users\\User\\AppData\\Local\\screenpipe\\vad\\silero_vad.onnx"
The given version [19] is not supported, only version 1 to 10 is supported in this build.
thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.6\src\lib.rs:223:57:
Failed to initialize ORT API
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@BAWES BAWES added the bug Something isn't working label Feb 14, 2025
@Neptune650
Copy link
Contributor

@BAWES How did you install screenpipe, do you have vcredist installed?

@BAWES
Copy link
Author

BAWES commented Feb 15, 2025

@Neptune650 I have the following Visual C++ Redistributables installed on system:

1 Microsoft Visual C++ 2010 x64 Redistributable - Version 10.0.40219
2 Microsoft Visual C++ 2010 x86 Redistributable - Version 10.0.40219
3 Microsoft Visual C++ 2005 Redistributable - Version 8.0.61001

Installed by running iwr get.screenpi.pe/cli.ps1 | iex

to get started:
1. restart your terminal
2. run: screenpipe

Now in terminal using screenpipe or screenpipe.exe I get the following:

PS C:\Users\User> screenpipe.exe



                                            _
   __________________  ___  ____     ____  (_____  ___
  / ___/ ___/ ___/ _ \/ _ \/ __ \   / __ \/ / __ \/ _ \
 (__  / /__/ /  /  __/  __/ / / /  / /_/ / / /_/ /  __/
/____/\___/_/   \___/\___/_/ /_/  / .___/_/ .___/\___/
                                 /_/     /_/



build ai apps that have the full context
open source | runs locally | developer friendly


┌────────────────────────┬────────────────────────────────────┐
│ setting                │ value                              │
├────────────────────────┼────────────────────────────────────┤
│ fps                    │ 1                                  │
2025-02-15T20:31:23.565782Z  INFO screenpipe_audio::whisper::model: device = Cpu
│ audio chunk duration   │ 30 seconds                         │
│ video chunk duration   │ 60 seconds                         │
│ port                   │ 3030                               │
│ realtime audio enabled │ false                              │
│ audio disabled         │ false                              │
│ vision disabled        │ false                              │
│ audio engine           │ WhisperLargeV3Turbo                │
│ ocr engine             │ WindowsNative                      │
│ vad engine             │ Silero                             │
│ vad sensitivity        │ High                               │
│ data directory         │ C:\Users\User\.screenpipe          │
│ debug mode             │ false                              │
│ telemetry              │ true                               │
│ local llm              │ false                              │
│ use pii removal        │ false                              │
│ ignored windows        │ []                                 │
│ included windows       │ []                                 │
│ ui monitoring          │ false                              │
│ frame cache            │ false                              │
├────────────────────────┼────────────────────────────────────┤
│ languages              │                                    │
│                        │ all languages                      │
├────────────────────────┼────────────────────────────────────┤
│ monitors               │                                    │
│                        │ id: 65537                          │
├────────────────────────┼────────────────────────────────────┤
│ audio devices          │                                    │
│                        │ SteelSeries Sonar - Microphone ... │
│                        │ SteelSeries Sonar - Gaming (Ste... │
├────────────────────────┼────────────────────────────────────┤
│ realtime audio devices │                                    │
│                        │ disabled                           │
├────────────────────────┼────────────────────────────────────┤
│ pipes                  │                                    │
│                        │ no pipes available                 │
└────────────────────────┴────────────────────────────────────┘
you are using local processing. all your data stays on your computer.

warning: telemetry is enabled. only error-level data will be sent.
to disable, use the --disable-telemetry flag.

check latest changes here: https://github.com/mediar-ai/screenpipe/releases
2025-02-15T20:31:23.570003Z  INFO screenpipe: starting pipes
2025-02-15T20:31:23.570424Z  INFO screenpipe_server::server: Server starting on 127.0.0.1:3030
2025-02-15T20:31:23.667686Z ERROR xcap::platform::utils: GetFileVersionInfoSizeW error: WIN32_ERROR(1813)
2025-02-15T20:31:25.234404Z  INFO screenpipe_audio::vad_engine: Initializing SileroVad...
2025-02-15T20:31:25.234948Z  INFO screenpipe_audio::vad_engine: SileroVad Model downloaded to: "C:\\Users\\User\\AppData\\Local\\screenpipe\\vad\\silero_vad.onnx"
The given version [19] is not supported, only version 1 to 10 is supported in this build.
2025-02-15T20:31:25.942808Z  INFO screenpipe_server::video: Starting FFmpeg process for file: C:\Users\User\.screenpipe\data\monitor_65537_2025-02-15_20-31-25.mp4
thread 'tokio-runtime-worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.6\src\lib.rs:223:57:
Failed to initialize ORT API
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@Neptune650
Copy link
Contributor

@Neptune650 I have the following Visual C++ Redistributables installed on system:

1 Microsoft Visual C++ 2010 x64 Redistributable - Version 10.0.40219
2 Microsoft Visual C++ 2010 x86 Redistributable - Version 10.0.40219
3 Microsoft Visual C++ 2005 Redistributable - Version 8.0.61001

Installed by running iwr get.screenpi.pe/cli.ps1 | iex

to get started:
1. restart your terminal
2. run: screenpipe

Now in terminal using screenpipe or screenpipe.exe I get the following:

PS C:\Users\User> screenpipe.exe



                                            _
   __________________  ___  ____     ____  (_____  ___
  / ___/ ___/ ___/ _ \/ _ \/ __ \   / __ \/ / __ \/ _ \
 (__  / /__/ /  /  __/  __/ / / /  / /_/ / / /_/ /  __/
/____/\___/_/   \___/\___/_/ /_/  / .___/_/ .___/\___/
                                 /_/     /_/



build ai apps that have the full context
open source | runs locally | developer friendly


┌────────────────────────┬────────────────────────────────────┐
│ setting                │ value                              │
├────────────────────────┼────────────────────────────────────┤
│ fps                    │ 1                                  │
2025-02-15T20:31:23.565782Z  INFO screenpipe_audio::whisper::model: device = Cpu
│ audio chunk duration   │ 30 seconds                         │
│ video chunk duration   │ 60 seconds                         │
│ port                   │ 3030                               │
│ realtime audio enabled │ false                              │
│ audio disabled         │ false                              │
│ vision disabled        │ false                              │
│ audio engine           │ WhisperLargeV3Turbo                │
│ ocr engine             │ WindowsNative                      │
│ vad engine             │ Silero                             │
│ vad sensitivity        │ High                               │
│ data directory         │ C:\Users\User\.screenpipe          │
│ debug mode             │ false                              │
│ telemetry              │ true                               │
│ local llm              │ false                              │
│ use pii removal        │ false                              │
│ ignored windows        │ []                                 │
│ included windows       │ []                                 │
│ ui monitoring          │ false                              │
│ frame cache            │ false                              │
├────────────────────────┼────────────────────────────────────┤
│ languages              │                                    │
│                        │ all languages                      │
├────────────────────────┼────────────────────────────────────┤
│ monitors               │                                    │
│                        │ id: 65537                          │
├────────────────────────┼────────────────────────────────────┤
│ audio devices          │                                    │
│                        │ SteelSeries Sonar - Microphone ... │
│                        │ SteelSeries Sonar - Gaming (Ste... │
├────────────────────────┼────────────────────────────────────┤
│ realtime audio devices │                                    │
│                        │ disabled                           │
├────────────────────────┼────────────────────────────────────┤
│ pipes                  │                                    │
│                        │ no pipes available                 │
└────────────────────────┴────────────────────────────────────┘
you are using local processing. all your data stays on your computer.

warning: telemetry is enabled. only error-level data will be sent.
to disable, use the --disable-telemetry flag.

check latest changes here: https://github.com/mediar-ai/screenpipe/releases
2025-02-15T20:31:23.570003Z  INFO screenpipe: starting pipes
2025-02-15T20:31:23.570424Z  INFO screenpipe_server::server: Server starting on 127.0.0.1:3030
2025-02-15T20:31:23.667686Z ERROR xcap::platform::utils: GetFileVersionInfoSizeW error: WIN32_ERROR(1813)
2025-02-15T20:31:25.234404Z  INFO screenpipe_audio::vad_engine: Initializing SileroVad...
2025-02-15T20:31:25.234948Z  INFO screenpipe_audio::vad_engine: SileroVad Model downloaded to: "C:\\Users\\User\\AppData\\Local\\screenpipe\\vad\\silero_vad.onnx"
The given version [19] is not supported, only version 1 to 10 is supported in this build.
2025-02-15T20:31:25.942808Z  INFO screenpipe_server::video: Starting FFmpeg process for file: C:\Users\User\.screenpipe\data\monitor_65537_2025-02-15_20-31-25.mp4
thread 'tokio-runtime-worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.6\src\lib.rs:223:57:
Failed to initialize ORT API
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@BAWES can you install a modern VC redistributable? 2022 is fine
https://aka.ms/vs/17/release/vc_redist.x64.exe

@BAWES
Copy link
Author

BAWES commented Feb 15, 2025

Thanks @Neptune650 , I just installed using your link

Did a reinstall of screenpipe after via iwr get.screenpi.pe/cli.ps1 | iex

PS C:\Users\User\screenpipe> iwr get.screenpi.pe/cli.ps1 | iex
installing screenpipe...
downloading latest version (v0.2.41) from https://github.com/mediar-ai/screenpipe/releases/download/v0.2.41/screenpipe-0.2.41-x86_64-pc-windows-msvc.zip...
extracting...
installing bun...
################################################################################################################ 100.0%
Bun 1.2.2 was installed successfully!
The binary is located at C:\Users\User\.bun\bin\bun.exe

To get started, restart your terminal/editor, then type "bun"

Checking whether module is installed: VcRedist.
Saving VcRedists to path: C:\Users\User\AppData\Local\Temp\VcRedist.
Downloading and installing supported Microsoft Visual C++ Redistributables.
VcRedist already installed: 'Visual C++ Redistributable for Visual Studio 2022 14.42.34433.0 x86'
Installed Visual C++ Redistributables:


???????????????????????? ?????????????????????????????????????????? ????????????????????????????????????????????????????????????   ?????????????????????????????? ?????????????????????????????? ????????????????????????
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????  ??????????????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????     ??????????????????????????????????????????  ??????????????????  ?????????????????? ?????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????     ??????????????????????????????????????????  ??????????????????  ??????????????????????????????????????????????????? ?????????????????????????????? ??????????????????
?????????????????????????????????????????????????????????  ?????????????????????????????????????????????????????????????????? ???????????????????????????     ??????????????????     ????????????????????????
???????????????????????? ??????????????????????????????  ??????????????????????????????????????????????????????????????????  ????????????????????????     ??????????????????     ????????????????????????
installation complete! ????
to get started:
1. restart your terminal
2. run: screenpipe

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
???  join our discord:                       ???
???  --> https://discord.gg/dU9EBuw7Uq       ???
???                                          ???
???  check the docs:                         ???
???  --> https://docs.screenpi.pe            ???
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Name                                                               Release Architecture Version
----                                                               ------- ------------ -------
Microsoft Visual C++ 2010  x64 Redistributable - 10.0.40219        2010    x64          10.0.40219
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40664       2013    x64          12.0.40664.0
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501       2013    x64          12.0.30501.0
Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030       2012    x86          11.0.61030.0
Microsoft Visual C++ 2005 Redistributable                          2005    x86          8.0.61001
Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.40664       2013    x86          12.0.40664.0
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.42.34438 2022    x64          14.42.34438.0
Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030       2012    x64          11.0.61030.0
Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.42.34433 2022    x86          14.42.34433.0
Microsoft Visual C++ 2010  x86 Redistributable - 10.0.40219        2010    x86          10.0.40219
Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501       2013    x86          12.0.30501.0

Running screenpipe.exe gives the same error message

PS C:\Users\User> screenpipe.exe



                                            _
   __________________  ___  ____     ____  (_____  ___
  / ___/ ___/ ___/ _ \/ _ \/ __ \   / __ \/ / __ \/ _ \
 (__  / /__/ /  /  __/  __/ / / /  / /_/ / / /_/ /  __/
/____/\___/_/   \___/\___/_/ /_/  / .___/_/ .___/\___/
                                 /_/     /_/



build ai apps that have the full context
open source | runs locally | developer friendly


┌────────────────────────┬────────────────────────────────────┐
│ setting                │ value                              │
├────────────────────────┼────────────────────────────────────┤
│ fps                    │ 1                                  │
2025-02-15T21:18:19.369834Z  INFO screenpipe_audio::whisper::model: device = Cpu
│ audio chunk duration   │ 30 seconds                         │
│ video chunk duration   │ 60 seconds                         │
│ port                   │ 3030                               │
│ realtime audio enabled │ false                              │
│ audio disabled         │ false                              │
│ vision disabled        │ false                              │
│ audio engine           │ WhisperLargeV3Turbo                │
│ ocr engine             │ WindowsNative                      │
│ vad engine             │ Silero                             │
│ vad sensitivity        │ High                               │
│ data directory         │ C:\Users\User\.screenpipe          │
│ debug mode             │ false                              │
│ telemetry              │ true                               │
│ local llm              │ false                              │
│ use pii removal        │ false                              │
│ ignored windows        │ []                                 │
│ included windows       │ []                                 │
│ ui monitoring          │ false                              │
│ frame cache            │ false                              │
├────────────────────────┼────────────────────────────────────┤
│ languages              │                                    │
│                        │ all languages                      │
├────────────────────────┼────────────────────────────────────┤
│ monitors               │                                    │
│                        │ id: 65537                          │
├────────────────────────┼────────────────────────────────────┤
│ audio devices          │                                    │
│                        │ SteelSeries Sonar - Microphone ... │
│                        │ SteelSeries Sonar - Gaming (Ste... │
├────────────────────────┼────────────────────────────────────┤
│ realtime audio devices │                                    │
│                        │ disabled                           │
├────────────────────────┼────────────────────────────────────┤
│ pipes                  │                                    │
│                        │ no pipes available                 │
└────────────────────────┴────────────────────────────────────┘
you are using local processing. all your data stays on your computer.

warning: telemetry is enabled. only error-level data will be sent.
to disable, use the --disable-telemetry flag.

check latest changes here: https://github.com/mediar-ai/screenpipe/releases
2025-02-15T21:18:19.372462Z  INFO screenpipe: starting pipes
2025-02-15T21:18:19.372881Z  INFO screenpipe_server::server: Server starting on 127.0.0.1:3030
2025-02-15T21:18:19.445331Z ERROR xcap::platform::utils: GetFileVersionInfoSizeW error: WIN32_ERROR(1813)
2025-02-15T21:18:20.794691Z  INFO screenpipe_server::video: Starting FFmpeg process for file: C:\Users\User\.screenpipe\data\monitor_65537_2025-02-15_21-18-20.mp4
2025-02-15T21:18:21.052254Z  INFO screenpipe_audio::vad_engine: Initializing SileroVad...
2025-02-15T21:18:21.052592Z  INFO screenpipe_audio::vad_engine: SileroVad Model downloaded to: "C:\\Users\\User\\AppData\\Local\\screenpipe\\vad\\silero_vad.onnx"
The given version [19] is not supported, only version 1 to 10 is supported in this build.
thread 'tokio-runtime-worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.6\src\lib.rs:223:57:
Failed to initialize ORT API
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@Neptune650
Copy link
Contributor

@BAWES Do you have .NET installed as well?

@BAWES
Copy link
Author

BAWES commented Feb 15, 2025

@BAWES Do you have .NET installed as well?

@Neptune650 I do not, is it a requirement?

@Neptune650
Copy link
Contributor

@BAWES Do you have .NET installed as well?

@Neptune650 I do not, is it a requirement?

@BAWES could you install it? Some other users of ONNX have reported it helps

@BAWES
Copy link
Author

BAWES commented Feb 15, 2025

@Neptune650 Installed dotnet. I'm getting the same issue after reinstalling screenpipe and attempting to run it

PS C:\Users\User> dotnet --info
.NET SDK:
 Version:           9.0.200
 Commit:            90e8b202f2
 Workload version:  9.0.200-manifests.b4a8049f
 MSBuild version:   17.13.8+cbc39bea8

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22631
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\9.0.200\

After running screenpipe:

←[92myou are using local processing. all your data stays on your computer.
←[0m
←[93mwarning: telemetry is enabled. only error-level data will be sent.
to disable, use the --disable-telemetry flag.←[0m

←[3;94mcheck latest changes here: https://github.com/mediar-ai/screenpipe/releases←[0m
←[2m2025-02-15T23:25:53.773767Z←[0m ←[32m INFO←[0m ←[2mscreenpipe←[0m←[2m:←[0m starting pipes
←[2m2025-02-15T23:25:53.774386Z←[0m ←[32m INFO←[0m ←[2mscreenpipe_server::server←[0m←[2m:←[0m Server starting on 127.0.0.1:3030
←[2m2025-02-15T23:25:53.857763Z←[0m ←[31mERROR←[0m ←[2mxcap::platform::utils←[0m←[2m:←[0m GetFileVersionInfoSizeW error: WIN32_ERROR(1813)
←[2m2025-02-15T23:25:54.671254Z←[0m ←[32m INFO←[0m ←[2mscreenpipe_server::video←[0m←[2m:←[0m Starting FFmpeg process for file: C:\Users\User\.screenpipe\data\monitor_65537_2025-02-15_23-25-54.mp4
←[2m2025-02-15T23:25:55.441515Z←[0m ←[32m INFO←[0m ←[2mscreenpipe_audio::vad_engine←[0m←[2m:←[0m Initializing SileroVad...
←[2m2025-02-15T23:25:55.441883Z←[0m ←[32m INFO←[0m ←[2mscreenpipe_audio::vad_engine←[0m←[2m:←[0m SileroVad Model downloaded to: "C:\\Users\\User\\AppData\\Local\\screenpipe\\vad\\silero_vad.onnx"
The given version [19] is not supported, only version 1 to 10 is supported in this build.
←[2m2025-02-15T23:25:55.469793Z←[0m ←[31mERROR←[0m ←[2mxcap::platform::utils←[0m←[2m:←[0m GetFileVersionInfoSizeW error: WIN32_ERROR(1813)
thread 'tokio-runtime-worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.6\src\lib.rs:223:57:
Failed to initialize ORT API
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants