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

Getting this issue while trying to fetch metadate of the Lora or when I am trying to browse the lora in checkpoints section #559

Closed
saadkhan955 opened this issue Apr 5, 2024 · 1 comment · Fixed by #570
Labels
bug Something isn't working

Comments

@saadkhan955
Copy link

Exception

ArgumentException: Unable to load bitmap from provided data

Sentry ID

376de1a90ff748908486172164a4e7b7

Stack Trace

   at Avalonia.Skia.ImmutableBitmap..ctor(Stream stream)
   at Avalonia.Skia.PlatformRenderInterface.LoadBitmap(String fileName)
   at Avalonia.Labs.Controls.AsyncImage.SetSource(Object source) in /_/src/Avalonia.Labs.Controls/AsyncImage/AsyncImage.cs:line 141
   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)
@mohnjiles mohnjiles added the bug Something isn't working label Apr 6, 2024
@mohnjiles
Copy link
Contributor

mohnjiles commented Apr 6, 2024

Thanks for the report! It seems to happen when the default thumbnail for a model is a video instead of an image. If you delete the offending image/video file in the Models directory it should fix it for now, though we'll have a permanent fix in the next update.

mohnjiles added a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Apr 11, 2024
@mohnjiles mohnjiles mentioned this issue Apr 11, 2024
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