OCR giving following error

Hi,

From last night ,
I am not able to perform any OCR actions on version 1.1.6.
Was there any patch applied or is there any auto update been done.

Please refer below error.

Error executing OcrAction
com.workfusion.studio.rpa.recorder.model.playback.PlaybackException: Error executing TemplateAction[templateName=OcrAction.ftl,id=1,name=Optional[OcrAction],parent=-1,nextSibling=2,arguments=ActionArguments[varName=[variable],imageName=[C:\Users\tilak.patil\workfusion-workspace\rpae_project\recording111509442301132\1509442351622-anchor.apng],fullImageName=[1509442351622.png],xsi:type=[recorder:OcrAction, recorder:OcrAction],pollingInterval=[300],active=[true],offsetX=[4],varType=[java.lang.String],offsetY=[57],delay=[0],width=[57],actionDetails=[(to ‘variable’ rectangle 4 x 57)],height=[34],awaitTimeout=[5000]]]
at com.workfusion.studio.rpa.recorder.model.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:27)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:14)
at com.workfusion.studio.rpa.recorder.model.playback.player.ActionPlayer.next(ActionPlayer.java:51)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:147)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:108)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.WebDriverException: OCR task has failed : taskId=2 status=ProcessingFailed tries=1
Command duration or timeout: 143.24 seconds
Build info: version: ‘8.5.0-SNAPSHOT’, revision: ‘ea718eb6fe87923f2e412d135f26f55fb0f75cc2’, time: ‘2017-09-08 08:56:34’
System info: host: ‘N10187’, ip: ‘172.29.176.43’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_121’
Driver info: com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper
Capabilities [{imageSimilarityThreshold=0.8, webdriver.remote.sessionid=46b70fe1-084c-44d7-a81e-10917f097c00, CLOSE_ALL_WINDOWS=false, browserName=universal, takesScreenshot=true, javascriptEnabled=true, SEARCH_ALL_WINDOWS=true, platform=WINDOWS}]
Session ID: 46b70fe1-084c-44d7-a81e-10917f097c00
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:545)
at com.workfusion.rpa.helpers.RPA.executeScript(RPA.java:702)
at com.workfusion.rpa.helpers.RPA.executeGroovyScript(RPA.java:750)
at com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:90)
at com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:35)
at com.workfusion.rpa.helpers.Ocr$proccessImage.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at Script2.run(Script2.groovy:2)
at com.workfusion.studio.rpa.recorder.model.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:34)
at com.workfusion.studio.rpa.recorder.model.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:34)
at com.workfusion.studio.rpa.recorder.model.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:27)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:14)
at com.workfusion.studio.rpa.recorder.model.playback.player.ActionPlayer.next(ActionPlayer.java:51)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:147)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:108)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken
Build info: version: ‘8.5.0-SNAPSHOT’, revision: ‘ea718eb6fe87923f2e412d135f26f55fb0f75cc2’, time: ‘2017-09-08 08:56:34’
System info: host: ‘N10187’, ip: ‘172.29.176.43’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_121’
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:138)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:545)
at com.workfusion.rpa.helpers.RPA.executeScript(RPA.java:702)
at com.workfusion.rpa.helpers.RPA.executeGroovyScript(RPA.java:750)
at com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:90)
at com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:35)
at com.workfusion.rpa.helpers.Ocr$proccessImage.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at Script2.run(Script2.groovy:2)
at com.workfusion.studio.rpa.recorder.model.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:34)
at com.workfusion.studio.rpa.recorder.model.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:34)
at com.workfusion.studio.rpa.recorder.model.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:27)
at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:14)
at com.workfusion.studio.rpa.recorder.model.playback.player.ActionPlayer.next(ActionPlayer.java:51)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:147)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:108)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.WebDriverException: OCR task has failed : taskId=2 status=ProcessingFailed tries=1
Build info: version: ‘8.5.0-SNAPSHOT’, revision: ‘ea718eb6fe87923f2e412d135f26f55fb0f75cc2’, time: ‘2017-09-08 08:56:34’
System info: host: ‘N10187’, ip: ‘172.29.176.43’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_121’
Driver info: driver.version: EventFiringWebDriver
at com.workfusion.desktop.driver.ocr.impl.OcrClient$Waiting.fail(OcrClient.java:122)
at com.workfusion.desktop.driver.ocr.impl.OcrClient.waitCompletion(OcrClient.java:106)
at com.workfusion.desktop.driver.ocr.Ocr.proccessImage(Ocr.java:52)
at com.workfusion.desktop.driver.ocr.Ocr$proccessImage$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at Script1.run(Script1.groovy:8)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:594)
at com.workfusion.autoit.driver.AutoItDriver.executeScript(AutoItDriver.java:215)
at com.workfusion.autoit.driver.AutoItDriver.executeScript(AutoItDriver.java:184)
at com.workfusion.universal.driver.UniversalDriver.executeScript(UniversalDriver.java:139)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:81)
at com.sun.proxy.$Proxy3.executeScript(Unknown Source)
at org.openqa.selenium.support.events.EventFiringWebDriver.executeScript(EventFiringWebDriver.java:202)
at org.openqa.selenium.remote.server.handler.ExecuteScript.call(ExecuteScript.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

@tilak_patil - have you reached the OCR pages limit (10k)?

Hi,

How to check that?

Thanks.

Currently you cannot check that, but if you used this action a lot and it suddenly stopped working, then it is license expiration.

BTW, you can install the new 1.1.7 version and the page count will be refreshed.

This is good and new information! The pagecount refresh with new versions was not the case in previous versions. This means we now have 10.000 OCR scans per month (meaning, per new version) instead of the 10.000 scans in total lifetime?

@tilak_patil,

have you updated to the 1.1.7 version?