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

[Bug] [Crash] Can't upgrade Numpy in Stable Diffusion WebUI and Stable Diffusion Forge WebUI in Stability Matrix #610

Closed
Giribot opened this issue Apr 21, 2024 · 1 comment

Comments

@Giribot
Copy link

Giribot commented Apr 21, 2024

Hello !

Numpy

In the tab: "Packages"
(choose "Stable Diffusion WebUI" OR "Stable Diffusion Forge WebUI" ) => ((three dots) => "Python Packages" => numpy 1.26.4 => when i click on "Numpy", Stability Matrix crashes (RIP).
(but it's work on all others packages like "Foocus", (?))
(No problems for clicking the others Python Packages from "Accelerate" to "Numba" and after "Numpy" to the end of the list, => only "Numpy" +++ crashes Stability Matrix. +++ )

_## Exception
ArgumentException: An item with the same key has already been added. Key: Name

Sentry ID

748f59890f9e40c297fcd34fbfa4ee58

Stack Trace

   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at StabilityMatrix.Core.Python.PipShowResult.Parse(String output)
   at StabilityMatrix.Core.Python.PyVenvRunner.PipShow(String packageName)
   at StabilityMatrix.Avalonia.ViewModels.Dialogs.PythonPackagesItemViewModel.LoadExtraInfo(DirectoryPath venvPath)
   at StabilityMatrix.Avalonia.ViewModels.Dialogs.PythonPackagesItemViewModel.LoadExtraInfo(DirectoryPath venvPath)
   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)
```_



Thanks you !
pull bot pushed a commit to leftomelas/StabilityMatrix that referenced this issue Apr 23, 2024
Fix some crashes on macOS & linux
@mohnjiles
Copy link
Contributor

This should be fixed now with v2.10.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants