Closed CHollman82 closed 6 days ago
I also have this issue as of the latest update (v2.11.0)
LiteAsyncException: LiteDB encounter an error. Details in the inner exception.
f238d630a2684a0f81f768d7b10579cc
at StabilityMatrix.Core.Services.ModelIndexService.RefreshIndexParallelCore()
at StabilityMatrix.Avalonia.ViewModels.CheckpointsPageViewModel.Refresh()
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.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.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.Start(String[] args)
at StabilityMatrix.Avalonia.Program.Main(String[] args)
ArgumentException: Requested value 'Training_Data' was not found.
at System.Enum.TryParseByName[TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TStorage& result)
at System.Enum.TryParseByValueOrName[TUnderlying,TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TUnderlying& result)
at System.Enum.TryParse(Type enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.BsonMapper.DeserializeObject(EntityMapper entity, Object obj, BsonDocument value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.BsonMapper.DeserializeList(Type type, BsonArray value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.BsonMapper.DeserializeObject(EntityMapper entity, Object obj, BsonDocument value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.BsonMapper.DeserializeList(Type type, BsonArray value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.BsonMapper.DeserializeObject(EntityMapper entity, Object obj, BsonDocument value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.LiteQueryable`1.<ToEnumerable>b__27_2(BsonDocument x)
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at LiteDB.Async.LiteDatabaseAsync.<>c__DisplayClass36_0`1.<EnqueueAsync>g__Function|0()
Sorry about that, I think it's due to a change in one of the database models for civitai, looking into how to fix this for existing, but for now you can delete the StabilityMatrix.db
file in the data directory and relaunch to fix it.
The database file only includes cached information which can all be retrieved again when searching or reindexing your models, so there should be no loss of information.
Sorry about that, I think it's due to a change in one of the database models for civitai, looking into how to fix this for existing, but for now you can delete the
StabilityMatrix.db
file in the data directory and relaunch to fix it.The database file only includes cached information which can all be retrieved again when searching or reindexing your models, so there should be no loss of information.
@ionite34 I have the same issue even after removing the StabilityMatrix.db
file.
Using the latest version 2.11.1
Sorry about that, I think it's due to a change in one of the database models for civitai, looking into how to fix this for existing, but for now you can delete the
StabilityMatrix.db
file in the data directory and relaunch to fix it.The database file only includes cached information which can all be retrieved again when searching or reindexing your models, so there should be no loss of information.
got the same error and just add .old to the extension StabilityMatrix.db. Now can click on the checkpoint manager and works. Thanks for the workaround.
Sorry about that, I think it's due to a change in one of the database models for civitai, looking into how to fix this for existing, but for now you can delete the
StabilityMatrix.db
file in the data directory and relaunch to fix it. The database file only includes cached information which can all be retrieved again when searching or reindexing your models, so there should be no loss of information.@ionite34 I have the same issue even after removing the
StabilityMatrix.db
file. Using the latest version 2.11.1
Did you restart the app after doing so? The safest way is to delete it after the app is stopped and start the app afterwards. After make sure you're in the correct instance data directory (Can open in Settings > App Folders > Data Directory)
Sorry about that, I think it's due to a change in one of the database models for civitai, looking into how to fix this for existing, but for now you can delete the
StabilityMatrix.db
file in the data directory and relaunch to fix it.The database file only includes cached information which can all be retrieved again when searching or reindexing your models, so there should be no loss of information.
This worked for me, thank you!
Renaming "~Data\StabilityMatrix.db" to "~Data\StabilityMatrix.db.old" and updating metadata worked for me.