StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

Crash when searching for python package

Open mcDandy opened this issue 6 months ago • 2 comments

What happened?

Open python packages for OneTrainer Search for xformers. After 2 letters stability matrix will crash (maybe becouse xformers got malformed?, probably not, opening xformers details works)

Exception Details

Exception

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

Sentry ID

cf89bab7

Stack Trace

at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.Collection`1.System.Collections.IList.get_Item(Int32 index) at Avalonia.Controls.ItemsSourceView`1.GetAt(Int32 index) at Avalonia.Controls.Selection.SelectedItems`1.GetEnumerator()+MoveNext() at System.Linq.Enumerable.<ToArray>g__EnumerableToArray|314_0[TSource](IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Avalonia.Controls.Selection.InternalSelectionModel.OnSelectionChanged(Object sender, SelectionModelSelectionChangedEventArgs e) at Avalonia.Controls.Selection.SelectionModel`1.CommitOperation(Operation operation, Boolean raisePropertyChanged) at Avalonia.Controls.Selection.InternalSelectionModel.OnSourceCollectionChangeFinished() at Avalonia.Controls.Utils.CollectionChangedEventManager.Entry.<Avalonia.Utilities.IWeakEventSubscriber<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.OnEvent>g__Notify|6_0(INotifyCollectionChanged incc, NotifyCollectionChangedEventArgs args, WeakReference`1[] listeners) at Avalonia.Threading.DispatcherOperation.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.StartCore(String[] args) at StabilityMatrix.Avalonia.Program.Main(String[] args)

Version

2.14.2

What Operating System are you using?

Windows

mcDandy avatar Jun 15 '25 15:06 mcDandy

This bug has existed for a while. It's still super irritating, but if you wait for it to finish loading the python libraries, it shouldn't crash when you start typing.

Ratione avatar Jun 18 '25 02:06 Ratione

For me, it won't even install the base Python package to do ANYTHING. It reports a crc error in some Python modules and stops.

-- EDIT: That was on another SSD. It worked on my C drive (SSD/NVMe). But then it did the same with MingW64. The downloaded installer works FINE.

cooperdk avatar Sep 26 '25 21:09 cooperdk