Dear All,
I am unable to use any functionality of the Tesseract OCR method in UiPath (version 2019.6.0 Community Edition). I have tried scraping web pages, notepads, admin consoles etc. to see if it is application specific. But everytime, I received the message “OCR method failed to scrape this UI Element”.
When I try to use the screen scrapper using the Tesseract OCR, I get the below:
When I try to incorporate the Tesseract OCR in a workflow, I get the run time error:
“Source: Tesseract OCR
Message: Error performing OCR: TessErrorLoadEngine
Exception Type: System.Exception
RemoteException wrapping System.Exception: Error performing OCR: TessErrorLoadEngine —> RemoteException wrapping System.ServiceModel.FaultException: TessErrorLoadEngine
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object outs, IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannelProxy.TaskCreator.<>c__DisplayClass7_01.<CreateGenericTask>b__0(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory
1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action
1 endAction, Task`1 promise, Boolean requiresSynchronization)”
After checking the logs, I found the error message as the below:
“[ERROR] [UiPath.Studio.exe] [1] System.IO.IOException: Cannot locate resource ‘themes/icons.xaml’.
at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.get_ContentType()
at MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response)
at MS.Internal.WpfWebRequestHelper.GetResponseStream(WebRequest request, ContentType& contentType)
at System.Windows.ResourceDictionary.set_Source(Uri value)
at UiPath.Studio.Plugin.Workflow.Services.ActivityIconFinder.TryGetThemedActivitiesIconDictionary(String assemblyName)
11:14:27.1478 => [ERROR] [UiPath.Studio.exe] [8] $LoadAssembly: Microsoft.Exchange.WebServices.Auth, Version=15.0.0.0, Culture=neutral, PublicKeyToken=36bf3926bv369l33: System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=36bf3926bv369l33’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=36bf3926bv369l33’”
I guess something must be off in my system. I need this component to work in order to proceed with my UiPath training. I would highly appreciate it if anyone has any insights. Thanks in advance.