Tesseract OCR Error Load Engine

Hello. I am getting this error

Get OCR Text ‘UIContainerClass’: Error performing OCR: TessErrorLoadEngine TessErrorLoadEngine

It was working fine for a while but then I got this during the run
image

I tried updating all the dependencies but same thing. Microsoft OCR also gives the same error whereas using Omnipage works fine. But it would be great if I could fix this and use Tesseract instead.

I also tried using the languages from the github repo of tesseract.

Stack trace error:

17:59:21.2674 Info UiPath.Vision.Host.BrokerService_IHostService_283bbb9c-b2ba-460f-895f-3082eae4cfd2 12547953 received request IHostService ScrapeAsync 0…
17:59:21.3299 Info Starting scrape. Image size: 15907.
17:59:21.3455 Info Scrape options: {“ExtractWords”:false,“Timeout”:null,“ComputeSkewAngle”:false,“Profile”:1,“Language”:“eng”,“Scale”:2.0,“FilterRegion”:null,“Engine”:0,“EngineImplClass”:null,“EngineOptions”:“{"AllowedCharacters":"","DeniedCharacters":"","Invert":false}”}
17:59:21.3612 Info Input language:eng, translated language:eng
17:59:21.3612 Info Getting tesseract language for C:\USERS\ADMINISTRATOR.NUGET\PACKAGES\UIPATH.VISION\3.1.4\BUILD\NET461\tessdata and language eng
17:59:21.4080 Warn Cannot initialize TesseractEngine with provided path C:\USERS\ADMINISTRATOR.NUGET\PACKAGES\UIPATH.VISION\3.1.4\BUILD\NET461\tessdata and language eng
17:59:21.4236 Error Error initializing Tesseract Engine.
17:59:21.4236 Fatal UiPath.Vision.OCR.OCRException: TessErrorLoadEngine TessErrorLoadEngine —> UiPath.Vision.OCR.OCRException: TessErrorLoadEngine
at UiPath.Vision.Engines.TesseractLegacyEngine.Initialize()
— End of inner exception stack trace —
at UiPath.Vision.Engines.TesseractLegacyEngine.Initialize()
at UiPath.Vision.OCR.Engine.BaseEngine.d__20.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.Core.OcrEngineRunner.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.Host.Service.HostServiceWithRefContext.d__5.MoveNext()
17:59:21.4236 Error UiPath.Vision.Host.BrokerService_IHostService_283bbb9c-b2ba-460f-895f-3082eae4cfd2 12547953 IHostService ScrapeAsync 0. # UiPath.Vision.OCR.OCRException: TessErrorLoadEngine TessErrorLoadEngine —> UiPath.Vision.OCR.OCRException: TessErrorLoadEngine
at UiPath.Vision.Engines.TesseractLegacyEngine.Initialize()
— End of inner exception stack trace —
at UiPath.Vision.Engines.TesseractLegacyEngine.Initialize()
at UiPath.Vision.OCR.Engine.BaseEngine.d__20.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.Core.OcrEngineRunner.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.Host.Service.HostServiceWithRefContext.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.d__22.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.d__21.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass4_2.<<-ctor>b__6>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.IOHelpers.d__12.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.IOHelpers.d__18`1.MoveNext()

Hi!

Have a view on this

Regards,
NaNi

I have read that but no luck. Nothing seems to fix it.

Any idea?