StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

Crash when trying to download from CivitAI with browser extension

Open CamilleHbp opened this issue 6 months ago • 1 comments

What happened?

  1. Open Stability Matrix
  2. Install the Chrome extension
  3. Try to download a model from CivitAI with the extension
  4. Stability Matrix freezes and I get this exception in the logs.

Running on MacBook Pro M1 Max, macOS Sequoia 15.5 (24F74). I could never get the search to properly work with CivitAI even without a VPN and with my account connected.

Exception Details

Exception

2025-07-01 11:15:40.7514|INFO|StabilityMatrix.Avalonia.App|Activated with Protocol OpenUri: stabilitymatrix://downloadcivitmodel/?modelid=630820&type=Model&format=SafeTensor&size=full&fp=fp16
2025-07-01 11:15:40.7524|DEBUG|StabilityMatrix.Avalonia.Services.ModelDownloadLinkHandler|ModelDownloadLinkHandler Received URI: /?modelid=630820&type=Model&format=SafeTensor&size=full&fp=fp16
2025-07-01 11:16:35.8179|DEBUG|StabilityMatrix.Avalonia.App|OnExit: Disposing App Services
2025-07-01 11:16:35.8219|FATAL|StabilityMatrix.Avalonia.Program|Unhandled "InvalidOperationException": "'StabilityMatrix.Core.Helper.SharedFolders' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container."|System.InvalidOperationException: 'StabilityMatrix.Core.Helper.SharedFolders' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
   at StabilityMatrix.Avalonia.App.OnExit(Object sender, EventArgs _) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/App.axaml.cs:line 927

Version

v2.14.2

What Operating System are you using?

macOS

CamilleHbp avatar Jul 01 '25 09:07 CamilleHbp

Retried with a fresh install (removed all configuration folders, etc), still crashing with the same error.

CamilleHbp avatar Jul 01 '25 20:07 CamilleHbp