Export sometimes fails for unknown reason

More
5 years 6 months ago #3357 by Christofer Engzell
Hello,

We have a Hotfolder set up to monitor a folder for incoming .png files, and through processing we do various things including OCR and finally exporting it to a .pdf file. The whole processing chain is handled by the Hotfolder and we want to achieve a goal where we have no manual input other than placing a file in a folder, and picking up the resulting pdf from the exporting folder.

Because some of our input files are quite large, we have by necessity increased the Timeout for OCR in the Program settings from 180 seconds to 1800 seconds. We use Tesseract engine because it is the only OCR engine that gives functional results for our input files.

We have run into a situation where a small selection of our input files fail to go through the entire process and be exported. We have not determined any common cause, the files appear as far as we can tell more or less the same as the files that go through the process successfully. They are equal size, same resolution, same amount of text to OCR etc.

By monitoring the Hotfolder process and not emptying/deleting the batch at the end of the export, we have guessed that the error seems to occur at the end when the batch is to be exported. See the attached error message.

You can find the particular file ai23-karta.png downloadable through this link apps.sgu.se/filexfer/down.jsp?hash=XVGPzAcgd7tNHMk3 by clicking "Starta nedladdning" up to 12 months after today. It is a 182mb .png and too large to attach directly.

Please advise as to how we can improve this situation in order to avoid the error. If you need any additional information please let me know.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #3358 by Christofer Engzell
Attaching 3 image files of our settings in case it helps. The first two are from the Hotfolder "import tiff" options. The third image is from the general "export batch" settings that the Hotfolder automatically chooses when it arrives at that particular processing step.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #3359 by Christofer Engzell
Dumping the error xml file here to allow Google to index it for other people searching for solutions in case they run into same problem:

<?xml version="1.0" encoding="UTF-8"?>
<chrono_out_report><reportdate>2021-03-11T16:13:01Z</reportdate><ChronoScanVer>1.0.2.29</ChronoScanVer><m_JobName>ocr-tlkning2</m_JobName><m_BatchName>ai23-karta_232</m_BatchName><m_StationId></m_StationId><station_name>BP1736</station_name><station_user>katmor</station_user><m_ChronoUser></m_ChronoUser><modules><module total="1" errors="1" m_End="2021-03-11T16:13:01Z" m_Start="2021-03-11T16:12:53Z" SrcName="ScannedImageFormat" Module="ChronoConvChronoscan.ChronoConv_pdft" ModuleName="ChronoScan PDF Text Conversion"><moduledetails><detail DetailsValue="ChronoScan PDF Text Conversion" DetailsName="ConfName"></detail><detail DetailsValue="ScannedImageFormat" DetailsName="SourceMod"></detail><detail DetailsValue="" DetailsName="Description"></detail><detail DetailsValue="docstatus=any" DetailsName="SourceStatusFilters"></detail><detail DetailsValue="" DetailsName="SourceFieldFilters"></detail><detail DetailsValue="1-" DetailsName="ExportPages"></detail><detail DetailsValue="0" DetailsName="PDFGeneration"></detail><detail DetailsValue="true" DetailsName="SearchableText"></detail><detail DetailsValue="false" DetailsName="UseOriginalPag"></detail><detail DetailsValue="true" DetailsName="OmmitOriginalPageWithoutTexLayer"></detail><detail DetailsValue="false" DetailsName="UseOriginalPdfDocument"></detail><detail DetailsValue="%docfield.Document Title%" DetailsName="Titulo"></detail><detail DetailsValue="%docfield.Author%" DetailsName="Autor"></detail><detail DetailsValue="%docfield.Subject%" DetailsName="Asunto"></detail><detail DetailsValue="%docfield.Keywords%" DetailsName="KeyWords"></detail><detail DetailsValue="" DetailsName="PDFBookMarks"></detail><detail DetailsValue="true" DetailsName="PDFBookMarksOpen"></detail><detail DetailsValue="true" DetailsName="PDFBookMarksFirstPage"></detail><detail DetailsValue="false" DetailsName="PDFa"></detail><detail DetailsValue="70" DetailsName="PDFJpegCompression"></detail><detail DetailsValue="Latin font - WinAnsiEncoding" DetailsName="PDFFonts"></detail><detail DetailsValue="" DetailsName="Password"></detail></moduledetails><outdetails><out OutStatus="0" OutOutput="C:\ProgramData\ChronoScan\WorkDir\ocr-tlkning2@CB246F73-C632-435C-820B-5ABBB8B2403D\ai23-karta_232\_Convert\ChronoScan PDF Text Conversion\Document PDF 1 (document).pdf" OutDetails="converted file doesn't exist C:\ProgramData\ChronoScan\WorkDir\ocr-tlkning2@CB246F73-C632-435C-820B-5ABBB8B2403D\ai23-karta_232\_Convert\ChronoScan PDF Text Conversion\00000000.pdf">

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #3360 by Gsimao
Do you have any error entries in the event viewer that correspond to when the Batch was being processed or exported? What version of ChronoScan are you using?

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #3361 by Christofer Engzell
We are running 1.0.2.29. I've asked our IT department to update to the latest version.

I'm not 100% sure what the event viewer is. In the "Output" list to the right which seems to contain various pieces of information about ongoing processes there appears to be nothing irregular that does not also appear for successful exports as far as I can tell.

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #3362 by Gsimao
That would be the windows event viewer. If you pull up the start menu and start typing event viewer it will show up. Alternatively, you can open the windows administrative tools and open the event viewer from there.
Then go Event Viewer (Local) > Windows Logs > Application and search for Error entries. Usually if you perform a search (crtl+f) for "chrono" without the quotes, you might be able to find something.
Let me know if you can find any entries that match up the time of the failed exports.

Please Log in or Create an account to join the conversation.

Time to create page: 0.317 seconds