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

LiteAsyncExeption - Second page only #297

Closed
SilverAmerican opened this issue Nov 27, 2023 · 0 comments · Fixed by #298
Closed

LiteAsyncExeption - Second page only #297

SilverAmerican opened this issue Nov 27, 2023 · 0 comments · Fixed by #298
Labels
bug Something isn't working

Comments

@SilverAmerican
Copy link

SilverAmerican commented Nov 27, 2023

Update: I can get it to crash with this error rarely on other model browser pages now as well, it also seems to randomly crash with this error during image generation using Stable Diffusion WebUI V1.6

Stability Matrix crashes with the below error only when moving to the second page of the model browser even when browsing installed models only. I have attempted to get it to crash on any other page but for some reason will only crash with this error on the second page specifically.

Callstack:
at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowserViewModel.SearchModels()
at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowserViewModel.TrySearchAgain(Boolean shouldUpdatePageNumber)
at AsyncAwaitBestPractices.SafeFireAndForgetExtensions.HandleSafeFireAndForget[TException](Task task, Boolean continueOnCapturedContext, Action`1 onException)
at System.Threading.Tasks.Task.<>c.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)

Inner exception:
System.ArgumentException: Requested value 'Training_Data' was not found.
at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result) at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)
at System.Enum.TryParse(Type enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result) 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.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.LiteQueryable1.b__27_2(BsonDocument x)
at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source) at LiteDB.Async.LiteDatabaseAsync.<>c__DisplayClass36_01.g__Function|0()

@ionite34 ionite34 added the bug Something isn't working label Nov 27, 2023
@ionite34 ionite34 mentioned this issue Nov 28, 2023
pull bot pushed a commit to SysLik000/StabilityMatrix that referenced this issue Dec 19, 2023
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

Successfully merging a pull request may close this issue.

2 participants