I’m using the Read PDF with OCR activity to read OCR pdf. When I have used tesseract OCR activity it won’t throw any error in execution but when I try to use the omni page OCR activity it throws below error,
RemoteException wrapping System.Exception: Error waiting for host service. Timeout: 30000
at UiPath.OCR.Contracts.Activities.OCRAsyncCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location —
at UiPath.PDF.Activities.OcrReader.ProcessAsync()
at UiPath.PDF.Activities.ReadWithOCRBase.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Try to change the version System.Activities Package in manage packages.
Or
Use another Pdf to read the text in omnipage Ocr.whether that one also it raises any error