Closed scunnyjane closed 7 months ago
Hi,
There should be a log file in path %localappdata%\opuscat\logs, which should have more details about the error. Could you send me the log file, or copy-paste the error message included in it?
-Tommi
Here you go, thank you!
2023-06-30 10:56:23.220 +02:00 [INF] Setting Tls12 as security protocol (required for accessing online model storage 2023-06-30 10:56:23.251 +02:00 [INF] Opening OPUS-CAT MT Engine window 2023-06-30 10:56:23.251 +02:00 [INF] Starting OPUS-CAT MT Engine 2023-06-30 10:56:23.589 +02:00 [INF] Starting Net.tcp API. 2023-06-30 10:56:23.636 +02:00 [INF] Creating service host with following URIs: net.tcp://[::1]:8477/ 2023-06-30 10:56:23.720 +02:00 [INF] Opening the service host 2023-06-30 10:56:24.253 +02:00 [INF] Started HTTP API at http://localhost:8500. This API cannot be accessed from remote computers. 2023-06-30 11:01:54.152 +02:00 [ERR] System.IO.FileNotFoundException: Could not find file 'C:\Users\XXXX \AppData\Local\Temp\opus_extract\OpusCATMTEngine_v1.2.0.zip\README.md'. File name: 'C:\Users\XXXX\AppData\Local\Temp\opus_extract\OpusCATMTEngine_v1.2.0.zip\README.md' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) at System.IO.StreamReader..ctor(String path, Encoding encoding) at OpusCatMTEngine.ModelManager.ExtractModel(FileInfo zipFile) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\ModelManager.cs:line 1169 at OpusCatMTEngine.LocalModelListView.btnAddZipModel_Click(Object sender, RoutedEventArgs e) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\UI\LocalModelListView.xaml.cs:line 63 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2023-06-30 11:02:11.123 +02:00 [INF] Setting Tls12 as security protocol (required for accessing online model storage 2023-06-30 11:02:11.139 +02:00 [INF] Opening OPUS-CAT MT Engine window 2023-06-30 11:02:11.139 +02:00 [INF] Starting OPUS-CAT MT Engine 2023-06-30 11:02:11.177 +02:00 [INF] Starting Net.tcp API. 2023-06-30 11:02:11.192 +02:00 [INF] Creating service host with following URIs: net.tcp://[::1]:8477/ 2023-06-30 11:02:11.239 +02:00 [INF] Opening the service host 2023-06-30 11:02:11.509 +02:00 [INF] Started HTTP API at http://localhost:8500. This API cannot be accessed from remote computers. 2023-06-30 11:02:13.890 +02:00 [INF] Fetching a list of online models from https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:15.212 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:15.689 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:16.126 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:16.545 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:17.075 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:17.565 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:17.965 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:18.476 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:18.986 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:19.534 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.135 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.150 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.150 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.150 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.150 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.182 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.198 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:20.231 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:02:20.231 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:02:20.241 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:02:20.249 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:02:20.249 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:02:20.249 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:02:23.672 +02:00 [ERR] System.IndexOutOfRangeException: Index was outside the bounds of the array. at OpusCatMTEngine.MTModel.ParseModelPath(String modelPath) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\MTModel.cs:line 703 at OpusCatMTEngine.ModelManager.TatoebaModelListDownloaded(Object sender, DownloadStringCompletedEventArgs e) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\ModelManager.cs:line 537 at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2023-06-30 11:02:59.986 +02:00 [INF] Setting Tls12 as security protocol (required for accessing online model storage 2023-06-30 11:03:00.013 +02:00 [INF] Opening OPUS-CAT MT Engine window 2023-06-30 11:03:00.015 +02:00 [INF] Starting OPUS-CAT MT Engine 2023-06-30 11:03:00.050 +02:00 [INF] Starting Net.tcp API. 2023-06-30 11:03:00.065 +02:00 [INF] Creating service host with following URIs: net.tcp://[::1]:8477/ 2023-06-30 11:03:00.100 +02:00 [INF] Opening the service host 2023-06-30 11:03:00.363 +02:00 [INF] Started HTTP API at http://localhost:8500. This API cannot be accessed from remote computers. 2023-06-30 11:03:03.027 +02:00 [INF] Fetching a list of online models from https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:04.022 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:04.468 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:04.906 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:05.453 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:06.010 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:06.474 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:06.910 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:07.439 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:08.102 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:08.729 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.324 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.329 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.334 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.334 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.334 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.334 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.364 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.384 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:09.415 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:03:09.415 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:03:09.425 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:03:09.425 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:03:09.425 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:03:09.425 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:03:16.554 +02:00 [ERR] System.IndexOutOfRangeException: Index was outside the bounds of the array. at OpusCatMTEngine.MTModel.ParseModelPath(String modelPath) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\MTModel.cs:line 703 at OpusCatMTEngine.ModelManager.TatoebaModelListDownloaded(Object sender, DownloadStringCompletedEventArgs e) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\ModelManager.cs:line 537 at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2023-06-30 11:10:29.939 +02:00 [INF] Setting Tls12 as security protocol (required for accessing online model storage 2023-06-30 11:10:29.954 +02:00 [INF] Opening OPUS-CAT MT Engine window 2023-06-30 11:10:29.954 +02:00 [INF] Starting OPUS-CAT MT Engine 2023-06-30 11:10:39.054 +02:00 [ERR] System.IO.FileNotFoundException: Could not load file or assembly 'YamlDotNet, Version=8.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e' or one of its dependencies. The system cannot find the file specified. File name: 'YamlDotNet, Version=8.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e' at OpusCatMTEngine.ModelManager.InitializeAutoEditRuleCollections() at OpusCatMTEngine.ModelManager..ctor() at OpusCatMTEngine.MainWindow.StartEngine() at OpusCatMTEngine.MainWindow..ctor() at OpusCatMTEngine.App.Application_Startup(Object sender, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
2023-06-30 11:11:57.256 +02:00 [INF] Setting Tls12 as security protocol (required for accessing online model storage 2023-06-30 11:11:57.294 +02:00 [INF] Opening OPUS-CAT MT Engine window 2023-06-30 11:11:57.294 +02:00 [INF] Starting OPUS-CAT MT Engine 2023-06-30 11:11:57.341 +02:00 [INF] Starting Net.tcp API. 2023-06-30 11:11:57.356 +02:00 [INF] Creating service host with following URIs: net.tcp://[::1]:8477/ 2023-06-30 11:11:57.410 +02:00 [INF] Opening the service host 2023-06-30 11:11:57.757 +02:00 [INF] Started HTTP API at http://localhost:8500. This API cannot be accessed from remote computers. 2023-06-30 11:12:00.923 +02:00 [INF] Fetching a list of online models from https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:01.655 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:01.989 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:02.329 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:02.639 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:02.933 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:03.228 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:03.469 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:03.758 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:04.019 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:04.249 +02:00 [INF] Fetching page https://object.pouta.csc.fi/OPUS-MT-models/ 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.687 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.689 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.699 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.699 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.699 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.699 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.730 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.760 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.801 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:12:04.801 +02:00 [DBG] Language code not recognized: jap. 2023-06-30 11:12:04.830 +02:00 [DBG] Language code not recognized: cn. 2023-06-30 11:12:04.830 +02:00 [DBG] Language code not recognized: ze_zh. 2023-06-30 11:12:04.830 +02:00 [DBG] Language code not recognized: zhs. 2023-06-30 11:12:04.830 +02:00 [DBG] Language code not recognized: zht. 2023-06-30 11:12:04.982 +02:00 [ERR] System.IndexOutOfRangeException: Index was outside the bounds of the array. at OpusCatMTEngine.MTModel.ParseModelPath(String modelPath) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\MTModel.cs:line 703 at OpusCatMTEngine.ModelManager.TatoebaModelListDownloaded(Object sender, DownloadStringCompletedEventArgs e) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\ModelManager.cs:line 537 at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2023-06-30 11:12:09.412 +02:00 [INF] Setting Tls12 as security protocol (required for accessing online model storage 2023-06-30 11:12:09.434 +02:00 [INF] Opening OPUS-CAT MT Engine window 2023-06-30 11:12:09.449 +02:00 [INF] Starting OPUS-CAT MT Engine 2023-06-30 11:12:09.480 +02:00 [INF] Starting Net.tcp API. 2023-06-30 11:12:09.496 +02:00 [INF] Creating service host with following URIs: net.tcp://[::1]:8477/ 2023-06-30 11:12:09.550 +02:00 [INF] Opening the service host 2023-06-30 11:12:09.881 +02:00 [INF] Started HTTP API at http://localhost:8500. This API cannot be accessed from remote computers. 2023-06-30 12:09:19.230 +02:00 [ERR] System.IO.FileNotFoundException: Could not find file 'C:\Users\XXXX\AppData\Local\Temp\opus_extract\OpusCATMTEngine_v1.2.0.zip\README.md'. File name: 'C:\Users\XXXX\AppData\Local\Temp\opus_extract\OpusCATMTEngine_v1.2.0.zip\README.md' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) at System.IO.StreamReader..ctor(String path, Encoding encoding) at OpusCatMTEngine.ModelManager.ExtractModel(FileInfo zipFile) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\ModelManager.cs:line 1169 at OpusCatMTEngine.LocalModelListView.btnAddZipModel_Click(Object sender, RoutedEventArgs e) in C:\Users\niemi\Documents\Code\fiskmo-trados\OpusCatMTEngine\UI\LocalModelListView.xaml.cs:line 63 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2023-06-30 12:17:44.922 +02:00 [INF] Setting Tls12 as security protocol (required for accessing online model storage 2023-06-30 12:17:44.937 +02:00 [INF] Opening OPUS-CAT MT Engine window 2023-06-30 12:17:44.953 +02:00 [INF] Starting OPUS-CAT MT Engine 2023-06-30 12:17:44.991 +02:00 [INF] Starting Net.tcp API. 2023-06-30 12:17:45.006 +02:00 [INF] Creating service host with following URIs: net.tcp://[::1]:8477/ 2023-06-30 12:17:45.060 +02:00 [INF] Opening the service host 2023-06-30 12:17:45.339 +02:00 [INF] Started HTTP API at http://localhost:8500. This API cannot be accessed from remote computers.
The Install model from zip is used to install models that have been packaged as zip files, it's mainly intended for special cases, e.g. when you want to distribute a fine-tuned model to other people. From the log file it seems that you tried to open the OpusMTEngine zip file with it, that's why it fails.
As for the Install OPUS model from Web problem, it's a bit more mysterious. The log file mentions that a the YamlDotNet library is missing, so it might just be that the OpusMTEngine zip extraction has failed some reason. I'd suggest extracting the zip file into another location (for instance into a folder on your desktop) to see if it works there.
It did not work on the desktop. However, "Install Opus Model from Web" worked after copying the files to C:\Users. So the issue has been solved now, thank you.
I was unable to install OPUS-CAT after downloading the files (https://github.com/Helsinki-NLP/OPUS-CAT/releases/tag/engine_v1.2.0). Please see the error messages below from when I attempted to "install model from zip" and "Install Opus Model from Web".