Hallo, greetings from The Netherlands,
I use a Rulerunner service for automatic actions (VScan, Profile, Export). I have some problems with 'timing' in VScan.
When I copy the files into the input folder (image), the service is picking up the files. But sometimes it's stopping and it is leaving a *.tmp file. Looks like some timing issue with writing of filesystem, and Datacap reading to quick. Causing a 'Abort', and stops Rulerunner service. (I have configured 'Stop after error')
Anybody experiencing same problems? And maybe some tips?
Thanks, Sander.
Answer by Tony Nguyen (51) | Apr 01, 2014 at 02:21 PM
This isn't a problem with 8.1. It has been a problem with prior releases of Datacap. I found that the out of the box vScan actions are not production ready due to the issue you're experiencing. I've only used the out of the box vScan actions for demos. You will need to customize a vScan action to:
I hope this helps.
Tony
Answer by Tom Price (1431) | Apr 01, 2014 at 02:23 PM
Hi S.Baars
This is a common issue. There is a post regarding it in Datacap 8.0 which was supposedly fixed. However it is still prevalent.
My recommendation would be to use the C# VScan library (Available as VScanSample from developerworks site). With some modification this action library performs better than the VBScript default one.
I believe it to be some form of contention issue (file access denied, corrupt etc)
I have not seen any instances of .tmp files with a C# VScan... comments from others would be appreciated.
Regards
Tom.
Answer by Juan Breuer (0) | Apr 09, 2014 at 02:38 PM
Hi S.Baars
We used to have the same issue in our implementation. We have ftp jobs from our branches pooling the multi image tifs from the branch servers to the central server where datacap process it with vscan. The Vscan was configured to get only one tif for each batch.
When the FTP was slow, it created a lot of tmp files ( that where the processed tif incomplete, rename it and open it to check).
We fixed this issue changing the image folder to another one and having a new job moving the files.
This job moves the tif files to the new images folder but with a changed extension that datacap ignores. After it renames it. Because this last action its really fast we issues with the tmp files disappears.
(Note: Whe didn't change the ftp jobs to upload the files with a temp extension because we needed to change more than 600 jobs manually)
One more issue when you got the tmp files issue is that some times with the correct timing Datacap process an incomplete tif file (Last image of the tif truncated).
Regards,
Juan.