SubtitleEdit / subtitleedit

the subtitle editor :)
http://www.nikse.dk/SubtitleEdit/Help
GNU General Public License v3.0
7.49k stars 850 forks source link

Windows Forms Thread Exception - Auto Translate #8561

Open Steinar-ichiban opened 1 week ago

Steinar-ichiban commented 1 week ago

I get this error whenever i try to use auto translate. (Some of the text in the error is in Norwegian) I made a video of me reproduce the error: https://1drv.ms/v/s!AkS-DirWiby7oIQZ86YcMiPBzsZTZw?e=z5ox7d

Windows Forms Thread Exception An application error occurred in Subtitle Edit 4.0.6.0 - 64-bit - Microsoft Windows NT 10.0.22631.0. Please report at https://github.com/Subtitle Edit/subtitleedit/issues with the following information: Error Message: Unable to cast object of type 'System.String' to type 'Nikse.SubtitleEdit.Core.Translate.TranslationPair'. X Stack Trace: ved Nikse.SubtitleEdit.Forms.Translate.AutoTranslate.SelectLangua geCode(NikseComboBox comboBox, String languagelsoCode) Nikse.SubtitleEdit.Controls.NikseComboBox.NotifyTextChange ved d0 ved Nikse.SubtitleEdit.Controls.NikseComboBox.set_SelectedIndex( Int32 value) ved Nikse.SubtitleEdit.Forms.Translate.AutoTranslate.InitializeAuto TranslatorEngines() ved Nikse.SubtitleEdit.Forms.Translate.AutoTranslate..ctor(Subtitle subtitle, Subtitle targetLines, String title, Encoding encoding) ved Nikse.SubtitleEdit.Forms.Main.MakeAutoTranslate(Boolean onlySelectedLines) ved System.Windows.Forms.ToolStripltem.RaiseEvent(Object key, EventArgs e) ved System.Windows.Forms.ToolStripMenultem.OnClick(EventArgs e) ved System.Windows.Forms.ToolStripltem.HandleClick(EventArgs e) ved System.Windows.Forms.ToolStripltem.Handle MouseUp(Mouse EventArgs e) ved System.Windows.Forms.ToolStrip. OnMouseUp(MouseEventAr gs mea) ved System.Windows.Forms.ToolStripDropDown.OnMouseUp(Mo useEventArgs mea) ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) m) ved System.Windows.Forms.Control.WndProc(Message& m) ved System.Windows.Forms.ToolStrip.WndProc(Message& ved System.Windows.Forms.ToolStrip DropDown.WndProc(Messag e& m) ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr Iparam)

niksedk commented 1 week ago

Sorry, this is a known bug... should be fixed in latest beta: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.6/SubtitleEditBeta.zip

abudulamh commented 1 week ago

Sorry, this is a known bug... should be fixed in latest beta: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.6/SubtitleEditBeta.zip

Hi Nik This bug still exists with the dark theme When using nllb-api Capture

niksedk commented 1 week ago

Sorry, this is a known bug... should be fixed in latest beta: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.6/SubtitleEditBeta.zip

Hi Nik This bug still exists with the dark theme When using nllb-api

Are you using latest beta? See help about...

abudulamh commented 1 week ago

Sorry, this is a known bug... should be fixed in latest beta: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.6/SubtitleEditBeta.zip

Hi Nik This bug still exists with the dark theme When using nllb-api

Are you using latest beta? See help about...

I am very sorry for the late response I use SubtitleEdit-4.0.6-Setup.zip Windows installer version

It's not a big problem, it works well with a light theme Thank you

Capture

Steinar-ichiban commented 1 week ago

Sorry, this is a known bug... should be fixed in latest beta: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.6/SubtitleEditBeta.zip

This is working for me, i don't have this issues anymore even in dark theme. But will there be an windows installer for the beta version instead of only the portable one?

Steinar-ichiban commented 1 week ago

Sorry, this is a known bug... should be fixed in latest beta: https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.6/SubtitleEditBeta.zip

Hi Nik This bug still exists with the dark theme When using nllb-api

Are you using latest beta? See help about...

I am very sorry for the late response I use SubtitleEdit-4.0.6-Setup.zip Windows installer version

It's not a big problem, it works well with a light theme Thank you

Capture

Your version is not the beta, you have to download using the link @niksedk posted. The beta version: image

abudulamh commented 1 week ago

Your version is not the beta, you have to download using the link @niksedk posted.

Well, I guess I didn't read nik's response well I have difficulty reading small font I will download the beta version Thank you for the clarification