BrandenStoberReal / PartyGui

Home repository of a GUI applet designed to interface with the popular archiving sites coomer.su & kemono.su.
20 stars 1 forks source link

Issue when importing artist #14

Open TheConfusedlol opened 1 month ago

TheConfusedlol commented 1 month ago

I keep getting this error whenever I try and download from a specific artist See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.ArgumentException: Parameter is not valid. at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status) at System.Drawing.Image.LoadGdipImageFromStream(GPStream stream, Boolean useEmbeddedColorManagement) at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement) at System.Drawing.Image.FromStream(Stream stream) at PartyLib.Bases.Creator.GetProfilePicture() in C:\Users\brand\source\repos\PartyLib\PartyLib\Bases\Creator.cs:line 157 at KemonoScraperSharp_GUI.Party_Main.scrapeButton_Click(Object sender, EventArgs e) in C:\Users\brand\source\repos\PartyLib\PartyScraper\Party_Main.cs:line 332 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** System.Private.CoreLib Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Private.CoreLib.dll

PartyScraper Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/PartyScraper.dll

System.Runtime Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Runtime.dll

System.Windows.Forms Assembly Version: 6.0.2.0 Win32 Version: 6.0.2924.17106 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.29/System.Windows.Forms.dll

System.ComponentModel.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.ComponentModel.Primitives.dll

System.Windows.Forms.Primitives Assembly Version: 6.0.2.0 Win32 Version: 6.0.2924.17106 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.29/System.Windows.Forms.Primitives.dll

System.Runtime.InteropServices Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Runtime.InteropServices.dll

System.Drawing.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Drawing.Primitives.dll

System.Collections.Specialized Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Collections.Specialized.dll

System.Threading Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Threading.dll

System.Diagnostics.TraceSource Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Diagnostics.TraceSource.dll

System.Collections Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Collections.dll

System.Drawing.Common Assembly Version: 8.0.0.0 Win32 Version: 8.0.23.53105 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/System.Drawing.Common.dll

DiscordRPC Assembly Version: 1.2.1.24 Win32 Version: 1.2.1.24 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/DiscordRPC.dll

netstandard Assembly Version: 2.1.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/netstandard.dll

PartyLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/PartyLib.dll

GTranslate Assembly Version: 2.1.6.0 Win32 Version: 2.1.6.0 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/GTranslate.dll

System.Net.Http Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Net.Http.dll

System.Net.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Net.Primitives.dll

System.Diagnostics.Tracing Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Diagnostics.Tracing.dll

System.Diagnostics.DiagnosticSource Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Diagnostics.DiagnosticSource.dll

System.Net.Security Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Net.Security.dll

System.Security.Cryptography.X509Certificates Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Security.Cryptography.X509Certificates.dll

System.Private.Uri Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Private.Uri.dll

Microsoft.Win32.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/Microsoft.Win32.Primitives.dll

System.ComponentModel.EventBasedAsync Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.ComponentModel.EventBasedAsync.dll

System.Threading.Thread Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Threading.Thread.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 6.0.2924.17106 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.29/Accessibility.dll

System.ComponentModel.TypeConverter Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.ComponentModel.TypeConverter.dll

System.Numerics.Vectors Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Numerics.Vectors.dll

System.Diagnostics.FileVersionInfo Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Diagnostics.FileVersionInfo.dll

System.Memory Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Memory.dll

System.Resources.Extensions Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.29/System.Resources.Extensions.dll

System.Drawing Assembly Version: 6.0.2.0 Win32 Version: 6.0.2924.17106 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.29/System.Drawing.dll

System.ObjectModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.ObjectModel.dll

System.Linq Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Linq.dll

System.ComponentModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.ComponentModel.dll

Microsoft.Win32.SystemEvents Assembly Version: 8.0.0.0 Win32 Version: 8.0.23.53103 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll

System.Collections.NonGeneric Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Collections.NonGeneric.dll

Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: 13.0.3.27908 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/Newtonsoft.Json.dll

System.Runtime.Serialization.Formatters Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Runtime.Serialization.Formatters.dll

System.Collections.Concurrent Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Collections.Concurrent.dll

System.Linq.Expressions Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Linq.Expressions.dll

System.Runtime.Numerics Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Runtime.Numerics.dll

System.Runtime.Serialization.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Runtime.Serialization.Primitives.dll

System.Data.Common Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Data.Common.dll

System.Xml.ReaderWriter Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Xml.ReaderWriter.dll

System.Private.Xml Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Private.Xml.dll

System.Reflection.Emit.ILGeneration Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Reflection.Emit.ILGeneration.dll

System.Reflection.Emit.Lightweight Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Reflection.Emit.Lightweight.dll

System.Reflection.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Reflection.Primitives.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Private.CoreLib.dll

RestSharp Assembly Version: 110.2.0.0 Win32 Version: 110.2.0 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/RestSharp.dll

Microsoft.Win32.Registry Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/Microsoft.Win32.Registry.dll

System.Runtime.CompilerServices.Unsafe Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Runtime.CompilerServices.Unsafe.dll

System.Threading.ThreadPool Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Threading.ThreadPool.dll

HtmlAgilityPack Assembly Version: 1.11.57.0 Win32 Version: 1.11.57.0 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/HtmlAgilityPack.dll

System.Text.RegularExpressions Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Text.RegularExpressions.dll

System.Console Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Console.dll

System.Text.Json Assembly Version: 7.0.0.0 Win32 Version: 7.0.323.6910 CodeBase: file:///C:/Program%20Files/Party%20Developers%20LLC/System.Text.Json.dll

System.Security.Cryptography.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Security.Cryptography.Primitives.dll

System.Web.HttpUtility Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Web.HttpUtility.dll

System.Net.Sockets Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Net.Sockets.dll

System.Threading.Overlapped Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Threading.Overlapped.dll

System.Net.NameResolution Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Net.NameResolution.dll

System.Security.Principal.Windows Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Security.Principal.Windows.dll

System.Security.Claims Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Security.Claims.dll

System.Security.Cryptography.Encoding Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Security.Cryptography.Encoding.dll

System.IO.Compression Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.IO.Compression.dll

System.Net.WebHeaderCollection Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Net.WebHeaderCollection.dll

System.Runtime.Loader Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Runtime.Loader.dll

System.Diagnostics.StackTrace Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Diagnostics.StackTrace.dll

System.Reflection.Metadata Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Reflection.Metadata.dll

System.Collections.Immutable Assembly Version: 6.0.0.0 Win32 Version: 6.0.2924.17105 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.29/System.Collections.Immutable.dll

** JIT Debugging **

BrandenStoberReal commented 1 month ago

Wow! Thanks for the detailed report! Looks like the creator's image failed to fetch, ill try to work on a patch

BrandenStoberReal commented 1 month ago

So due to some core API changes I'll have to rewrite how images are fetched by the backend. I'm currently away from my PC for a few days but once I return I can begin adjusting the API calls to function properly again.