Crash on inference, checkpoint manager and model browser
What happened?
- Open stability matrix
- Go to inference --> did not respond anymore
- restart
- Go to checkpoint --> crash with message and log. LiteD encounter an error. Details in the inner exception.
- restart
- Go to model browser --> crash with message and log. LiteD encounter an error. Details in the inner exception.
Exception Details
Exception
LiteAsyncException: LiteDB encounter an error. Details in the inner exception.
LiteException: page type must be collection page
Sentry ID
Stack Trace
at StabilityMatrix.Core.Database.LiteDbContext.TryQueryWithClearOnExceptionAsync[T,TResult](ILiteCollectionAsync`1 collection, Task`1 task) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Database/LiteDbContext.cs:line 293 at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CivitAiBrowserViewModel.SearchModels(Boolean isInfiniteScroll) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowser/CivitAiBrowserViewModel.cs:line 592 at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CivitAiBrowserViewModel.OnInitialLoadedAsync() in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowser/CivitAiBrowserViewModel.cs:line 272 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.Native.Interop.Impl.__MicroComIAvnPlatformThreadingInterfaceEventsVTable.Signaled(Void* this) --- End of stack trace from previous location --- at Avalonia.Native.DispatcherImpl.RunLoop(CancellationToken token) at Avalonia.Native.DispatcherImpl.RunLoop(CancellationToken token) 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) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/Program.cs:line 132
at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func`2 fn)
at LiteDB.SharedEngine.DeleteMany(String collection, BsonExpression predicate)
at LiteDB.Async.LiteDatabaseAsync.<>c__DisplayClass37_0`1.<EnqueueAsync>g__Function|0()```
### Version
v2.13.3
### What Operating System are you using?
macOS
I have try to remove the application and reinstall it but without success. I have try to remove /Users/runner/work/StabilityMatrix directory, no success I have try to delete StabilityMatrix.db but this doesnt change anything...
Stability Matrix crash every time i go to inference, checkpoint manager and model browser... The application is not usable anymore...
What can i try now?
After removing the .downloads folder and StabilityMatrix.db and StabilityMatrix-log.db the application doesn't crash anymore on inference and model browser but continue to crash on when i go to checkpoint.
I really love this software it can really help a lot. Big thank's on the the dev! But for now this app is unusable. Anyone to help?
This may happen when you have two folders or two models with the same name, but differing casing. Did you recently download any new models? It's possible one of them has the same name but capitalized slightly different.
related
- #1149
- #1081