StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

LightAsyncException - cant connect to civit and crash

Open Reaper176 opened this issue 8 months ago • 0 comments

What happened?

Click on the model browser - this will bring up a popup saying cant connect to civitai

type anything into the search and click enter: Crash

I have done a clean install. Checked firewall(nothing has changed) and even tried a new directory just to make sure.

Exception Details

Exception

LiteAsyncException: LiteDB encounter an error. Details in the inner exception. LiteException: Page type must be data page: {0}

Sentry ID

7a40a252

Stack Trace

at StabilityMatrix.Core.Database.LiteDbContext.TryQueryWithClearOnExceptionAsync[T,TResult](ILiteCollectionAsync`1 collection, Task`1 task) at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CivitAiBrowserViewModel.SearchModels(Boolean isInfiniteScroll) at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CivitAiBrowserViewModel.TrySearchAgain(Boolean shouldUpdatePageNumber) at AsyncAwaitBestPractices.SafeFireAndForgetExtensions.HandleSafeFireAndForget[TException](Task task, Boolean continueOnCapturedContext, Action`1 onException) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore() at Avalonia.Threading.DispatcherOperation.Execute() at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job) at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback) at Avalonia.Threading.Dispatcher.Signaled() at Avalonia.X11.X11PlatformThreading.CheckSignaled() at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken) at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl) at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args) at StabilityMatrix.Avalonia.Program.Main(String[] args)

   at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func`2 fn)
   at LiteDB.Engine.LiteEngine.DeleteMany(String collection, BsonExpression predicate)
   at LiteDB.SharedEngine.DeleteMany(String collection, BsonExpression predicate)
   at LiteDB.Async.LiteDatabaseAsync.<>c__DisplayClass37_0`1.<EnqueueAsync>g__Function|0()```

### Version

2.13.4

### What Operating System are you using?

Linux - garuda linux(arch)

Reaper176 avatar Apr 08 '25 10:04 Reaper176