Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Mort #64

Open
RomulloSousa1 opened this issue Jan 5, 2025 · 3 comments
Open

Error Mort #64

RomulloSousa1 opened this issue Jan 5, 2025 · 3 comments

Comments

@RomulloSousa1
Copy link

Hello everyone! I was using the program normally when it started giving an 'Invalid JSON String' error and later presented this error:

image

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
   at MORT.TransFormOver.setVisibleBackground() in D:\project\MORT\64bit\MORT\MORT\TransFormOver.cs:line 859
   at MORT.FormManager.SetVisibleTrans() in D:\project\MORT\64bit\MORT\MORT\Manager\FormManager.cs:line 1080
   at MORT.Form1.StopTrans(Boolean isOnceTrans) in D:\project\MORT\64bit\MORT\MORT\Form1.cs:line 1840
   at MORT.RTT.stopButton_Click(Object sender, EventArgs e) in D:\project\MORT\64bit\MORT\MORT\Rtt.cs:line 169
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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: 7.0.0.0
    Win32 Version: 7.0.2024.26716
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Private.CoreLib.dll
----------------------------------------
MORT
    Assembly Version: 1.0.0.1
    Win32 Version: n/a
    CodeBase: 

I can't even close it normally, it needs to be done through the task manager.

@RomulloSousa1
Copy link
Author

Solved, it came back on its own apparently, if it happens again I will update you

@RomulloSousa1
Copy link
Author

Again it is giving Invalid JSON string, it happens out of nowhere.

image

image

@killkimno
Copy link
Owner

Use other translation type
above problem occurs when the translation result cannot be retrieved.

  1. When blocked by the translator
  2. When using a VPN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants