Skip to main content
Kofax

Could not perform recognition due to an internal OmniPage error: Recognition process soft TimeOut. Paprika.

Article # 3046307 - Page views: 35

Issue

Error Could not perform recognition due to an internal OmniPage error: Recognition process soft TimeOut. Paprika.

Cause

 

 

Solution

To correct this, we can increase the timeout from '180000' (3 minutes) to, for example,  ''360000L' (6 minutes).

Important note : the 'L' is required as this is for a long data type. Otherwise we can see Extraction fail with 'Failed to load script code, because: Expecting a valid data type (eg. Integer).'

Please find instructions below on how to add the necessary script to the ProjectClass level in the Extraction Group in Kofax Transformation Designer.

1. Right click on the Project Class and select "Show Script" option.

image.jpg

 

2. Cut and paste the code below at the top of the Project script

Private Sub Application_InitializeScript()

SetSoftTimeOut()

End Sub

Private Sub SetSoftTimeOut()

Dim profile As MpsPageRecogProfileOmniPage

Set profile = Project.RecogProfiles.ItemByName("OmniPage")

profile.Timeout = 360000L

End Sub

 

The result would look like below:

image1.jpg

3. After adding this script, we also need to make a change in the Project - Script Code editor.

Still on the script window, click Edit > References .

image2.jpg

 

4. Make sure the 'Kofax Memphis OmniPage 4.0 (4.0)' option is checked. Then click the 'Ok' button:

 

bg2 

Once we do this, we have referenced the DLL which we are using.

 

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
KTA        

References

Add any references to other internal or external articles

 

 

Article # 3046307