Jump to content

UI error on Linux Mint


PedroKeitawa

Recommended Posts

I was finaly able to use the program wine to run pkhex on Linux (recenlty im try a dual boot with windows and linux). Find Wine, installed and all seems to be ok. I did not fully tested becouse i currently don't have my 3ds/switch with me but it seems to display all fine and good. The error appear the moment i closed the program. It was telling me that a UI error accured. This is the report the appear after.

System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
  at System.Windows.Forms.Control.MarshaledInvoke (System.Windows.Forms.Control caller, System.Delegate method, System.Object[] args, System.Boolean synchronous) [0x00011] in <4b7d326f792d4378bd436300c6961411>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control,System.Delegate,object[],bool)
  at System.Windows.Forms.Control.BeginInvoke (System.Delegate method, System.Object[] args) [0x0000f] in <4b7d326f792d4378bd436300c6961411>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.BeginInvoke(System.Delegate,object[])
  at System.Windows.Forms.WindowsFormsSynchronizationContext.Post (System.Threading.SendOrPostCallback d, System.Object state) [0x0000f] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.__ComObject.Finalize () [0x0001a] in <7713cb95b33244ed9608bf0b23fbdce9>:0 
System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00162] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.CreateHandle () [0x0014f] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.CreateControl (System.Boolean fIgnoreVisible) [0x00045] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.CreateControl () [0x00008] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00051] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.ButtonBase.OnVisibleChanged (System.EventArgs e) [0x00001] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x0000d] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x000c4] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Form.OnVisibleChanged (System.EventArgs e) [0x00020] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00131] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x000d1] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00001] in <4b7d326f792d4378bd436300c6961411>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible(bool)
  at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x00245] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Application+ThreadContext.RunMessageLoop (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x0001a] in <4b7d326f792d4378bd436300c6961411>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.RunMessageLoop(int,System.Windows.Forms.ApplicationContext)
  at System.Windows.Forms.Application.RunDialog (System.Windows.Forms.Form form) [0x0000d] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x0027b] in <4b7d326f792d4378bd436300c6961411>:0 
  at System.Windows.Forms.Form.ShowDialog () [0x00001] in <4b7d326f792d4378bd436300c6961411>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog()
  at PKHeX.WinForms.ErrorWindow.ShowErrorDialog (System.String friendlyMessage, System.Exception ex, System.Boolean allowContinue) [0x0002a] in <c814acc5739d4c9b87d8b19e1c18e8c6>:0 
  at PKHeX.WinForms.Program.CurrentDomain_UnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x00023] in <c814acc5739d4c9b87d8b19e1c18e8c6>:0 

Im kinda new to the use of wine but at this point i ask is this a normal error that happen on linux? I cannot test other stuff, as i said i don't have any save file for test editing ecc, but i felt was right to report this.Or maybe is just me that i have not set up wine correctly. I don't know first time using wine as i said, so if is a error on my part how do i fix this. Im using Linux Mint 20.2.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...