Hello PKHeXers - I am coming across a certain error/set of errors and was wondering if anyone is familiar with the problem I am having or has suggestions. I can try to run PKHeX on wine for both win32 and win64 - with different errors (I simply switch between the two versions using the command line ``winetricks arch=32`` or 64 for the architecture I want). While most sources suggest 32 I do find that I get further with 64 but without further ado here are the errors:
32, Only a window with the following error message is opened:
Exception Details:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00098] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at System.Drawing.Image.get_FrameDimensionsList () [0x0000d] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Image.get_FrameDimensionsList()
at System.Drawing.ImageAnimator.CanAnimate (System.Drawing.Image image) [0x00005] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at System.Drawing.ImageAnimator.Animate (System.Drawing.Image image, System.EventHandler onFrameChangedHandler) [0x00000] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at System.Windows.Forms.ButtonBase.Animate (System.Boolean animate) [0x00028] in <4055c35822884d58876b1c889fdafb80>:0
at System.Windows.Forms.ButtonBase.Animate () [0x00020] in <4055c35822884d58876b1c889fdafb80>:0
at System.Windows.Forms.ButtonBase.set_Image (System.Drawing.Image value) [0x00057] in <4055c35822884d58876b1c889fdafb80>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ButtonBase.set_Image(System.Drawing.Image)
at PKHeX.WinForms.Controls.ShinyLeaf.InitializeComponent () [0x0013e] in <9bc37010a829474bbf7248cbb1320dc2>:0
at PKHeX.WinForms.Controls.ShinyLeaf..ctor () [0x00006] in <9bc37010a829474bbf7248cbb1320dc2>:0
at (wrapper remoting-invoke-with-check) PKHeX.WinForms.Controls.ShinyLeaf..ctor()
at PKHeX.WinForms.Controls.PKMEditor.InitializeComponent () [0x003f4] in <9bc37010a829474bbf7248cbb1320dc2>:0
at PKHeX.WinForms.Controls.PKMEditor..ctor () [0x0003c] in <9bc37010a829474bbf7248cbb1320dc2>:0
at (wrapper remoting-invoke-with-check) PKHeX.WinForms.Controls.PKMEditor..ctor()
at PKHeX.WinForms.Main.InitializeComponent () [0x001a8] in <9bc37010a829474bbf7248cbb1320dc2>:0
at PKHeX.WinForms.Main..ctor () [0x0002b] in <9bc37010a829474bbf7248cbb1320dc2>:0
at (wrapper remoting-invoke-with-check) PKHeX.WinForms.Main..ctor()
at PKHeX.WinForms.Program.Main () [0x00088] in <9bc37010a829474bbf7248cbb1320dc2>:0
--------------------
User Message:
An unhandled exception has occurred.
PKHeX must now close.
And for 64, the program seems to load and I even hear some sort of chime (I don't know if that's from wine or from PKHeX), but it seems something to do with the display loads incorrectly. No error is displayed, however my shell does output some text which may be of interest (but may also have more to do with wine than with PKHeX)
Issues using PkHeX with WINE in Linux (Ubuntu 20.04)
in PKHeX
Posted
Hello PKHeXers - I am coming across a certain error/set of errors and was wondering if anyone is familiar with the problem I am having or has suggestions. I can try to run PKHeX on wine for both win32 and win64 - with different errors (I simply switch between the two versions using the command line ``winetricks arch=32`` or 64 for the architecture I want). While most sources suggest 32 I do find that I get further with 64 but without further ado here are the errors:
32, Only a window with the following error message is opened:
Exception Details:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00098] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at System.Drawing.Image.get_FrameDimensionsList () [0x0000d] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Image.get_FrameDimensionsList()
at System.Drawing.ImageAnimator.CanAnimate (System.Drawing.Image image) [0x00005] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at System.Drawing.ImageAnimator.Animate (System.Drawing.Image image, System.EventHandler onFrameChangedHandler) [0x00000] in <59a01ee1edc64bcebd25e10b5eef399b>:0
at System.Windows.Forms.ButtonBase.Animate (System.Boolean animate) [0x00028] in <4055c35822884d58876b1c889fdafb80>:0
at System.Windows.Forms.ButtonBase.Animate () [0x00020] in <4055c35822884d58876b1c889fdafb80>:0
at System.Windows.Forms.ButtonBase.set_Image (System.Drawing.Image value) [0x00057] in <4055c35822884d58876b1c889fdafb80>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ButtonBase.set_Image(System.Drawing.Image)
at PKHeX.WinForms.Controls.ShinyLeaf.InitializeComponent () [0x0013e] in <9bc37010a829474bbf7248cbb1320dc2>:0
at PKHeX.WinForms.Controls.ShinyLeaf..ctor () [0x00006] in <9bc37010a829474bbf7248cbb1320dc2>:0
at (wrapper remoting-invoke-with-check) PKHeX.WinForms.Controls.ShinyLeaf..ctor()
at PKHeX.WinForms.Controls.PKMEditor.InitializeComponent () [0x003f4] in <9bc37010a829474bbf7248cbb1320dc2>:0
at PKHeX.WinForms.Controls.PKMEditor..ctor () [0x0003c] in <9bc37010a829474bbf7248cbb1320dc2>:0
at (wrapper remoting-invoke-with-check) PKHeX.WinForms.Controls.PKMEditor..ctor()
at PKHeX.WinForms.Main.InitializeComponent () [0x001a8] in <9bc37010a829474bbf7248cbb1320dc2>:0
at PKHeX.WinForms.Main..ctor () [0x0002b] in <9bc37010a829474bbf7248cbb1320dc2>:0
at (wrapper remoting-invoke-with-check) PKHeX.WinForms.Main..ctor()
at PKHeX.WinForms.Program.Main () [0x00088] in <9bc37010a829474bbf7248cbb1320dc2>:0
Loaded Assemblies:
--------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\windows\mono\mono-2.0\lib\mono\4.5\mscorlib.dll
PKHeX, Version=21.8.6.0, Culture=neutral, PublicKeyToken=null
Z:\home\user\pkhex\PKHeX.exe
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\windows\mono\mono-2.0\lib\mono\gac\System.Windows.Forms\4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\windows\mono\mono-2.0\lib\mono\gac\System\4.0.0.0__b77a5c561934e089\System.dll
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\mono\mono-2.0\lib\mono\gac\System.Drawing\4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\mono\mono-2.0\lib\mono\gac\Accessibility\4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll
PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\mono\mono-2.0\lib\mono\gac\System.Configuration\4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\windows\mono\mono-2.0\lib\mono\gac\System.Core\4.0.0.0__b77a5c561934e089\System.Core.dll
System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\mono\mono-2.0\lib\mono\4.5\Facades\System.Runtime.dll
System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\mono\mono-2.0\lib\mono\4.5\Facades\System.Resources.ResourceManager.dll
System.Runtime.InteropServices, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\mono\mono-2.0\lib\mono\4.5\Facades\System.Runtime.InteropServices.dll
System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Reflection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\mono\mono-2.0\lib\mono\4.5\Facades\System.Reflection.dll
Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
--------------------
User Message:
An unhandled exception has occurred.
PKHeX must now close.
And for 64, the program seems to load and I even hear some sort of chime (I don't know if that's from wine or from PKHeX), but it seems something to do with the display loads incorrectly. No error is displayed, however my shell does output some text which may be of interest (but may also have more to do with wine than with PKHeX)
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0027:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0x6b7e6d0, 0xd8b210, 0x6b7e6d8, 0x6b7e6c8
0027:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0x6b7e6d0, 0xd8b210, 0x6b7e6d8, 0x6b7e6c8
0009:fixme:uiautomation:UiaClientsAreListening ()
0009:fixme:uiautomation:UiaClientsAreListening ()
0009:fixme:uiautomation:UiaClientsAreListening ()
0009:fixme:uiautomation:UiaClientsAreListening ()
0009:fixme:uiautomation:UiaClientsAreListening ()
0009:fixme:uiautomation:UiaReturnRawElementProvider (000000000001008C, 0, 0, 0000000000000000) stub!
0009:fixme:uiautomation:UiaReturnRawElementProvider (0000000000000000, 0, 0, 0000000000000000) stub!
0009:fixme:shell:SHAutoComplete stub
0009:fixme:uiautomation:UiaClientsAreListening ()
0009:fixme:shell:SHAutoComplete stub
0009:fixme:shell:SHAutoComplete stub
0009:fixme:shell:SHAutoComplete stub
0009:fixme:shell:SHAutoComplete stub
0009:fixme:shell:SHAutoComplete stub
0009:fixme:shell:SHAutoComplete stub
0009:fixme:shell:SHAutoComplete stub
0009:fixme:shell:SHAutoComplete stub
0009:fixme:uiautomation:UiaClientsAreListening ()
the uiaClientsAreListening () line repeats a few dozen times and then is followed by:
0026:fixme:uiautomation:UiaReturnRawElementProvider (000000000001005C, 0, 0, 0000000000000000) stub!
0026:fixme:uiautomation:UiaReturnRawElementProvider (000000000001005E, 0, 0, 0000000000000000) stub!
at which point it stops providing output and in order to close out I have to terminate the process.
Does anyone have any ideas? Am I missing a package or framework? Thanks much for the help.