AAndyProgram / SCrawler

🏳️‍🌈 Media downloader from any sites, including Twitter, Reddit, Instagram, Threads, Facebook, OnlyFans, YouTube, Pinterest, PornHub, XHamster, XVIDEOS, ThisVid etc.
https://discord.gg/uFNUXvFFmg
GNU General Public License v3.0
1.23k stars 81 forks source link

"ControlInvokeFast" error in log [BUG] #82

Closed TGJ64 closed 1 year ago

TGJ64 commented 1 year ago

In the 2022.10.23.0 version, I seem to get this error in the log sometimes and I'm not sure what it means:

2022-10-29 13:11:29: [ControlInvokeFast] Operation is not valid due to the current state of the object. 2022-10-29 13:11:29: [ControlInvokeFast] Operation is not valid due to the current state of the object. 2022-10-29 13:11:29: Message: Operation is not valid due to the cu ent state of the object. HelpLink: StackTrace: at System.Windows.Forms.Layout.TableLayout.SorterObjectArray.SwapIfGreaterWithItems(Int32 a, Int32 b) at System.Windows.Forms.Layout.TableLayout.SorterObjectArray.QuickSort(Int32 left, Int32 right) at System.Windows.Forms.Layout.TableLayout.Sort(Object[] array, IComparer comparer) at System.Windows.Forms.Layout.TableLayout.ContainerInfo.get_FixedChildrenInfo() at System.Windows.Forms.Layout.TableLayout.xAssignRowsAndColumns(ContainerInfo containerInfo, LayoutInfo[] childrenInfo, Int32 maxColumns, Int32 maxRows, TableLayoutPanelGrowStyle growStyle) at System.Windows.Forms.Layout.TableLayout.AssignRowsAndColumns(ContainerInfo containerInfo) at System.Windows.Forms.Layout.TableLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args) at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs) at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent) at System.Windows.Forms.TableLayoutPanel.OnLayout(LayoutEventArgs levent) at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args) at System.Windows.Forms.Control.PerformLayout() at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout) at System.Windows.Forms.Layout.LayoutTransaction.Dispose() at System.Windows.Forms.Control.SetVisibleCore(Boolean value) at PersonalUtilities.Functions.UniversalFunctions.ControlInvokeFast(Control Control, Action Method, ErrorsDescriber e)

AAndyProgram commented 1 year ago

This is not a bug. I added this on purpose. I can't determine one internal error. This doesn't affect the operation of SCrawler in any way. This error will disappear in one of the next releases.