You are viewing limited content. For full access, please sign in.

Question

Question

Error 407 OCR license check failed

asked on October 30, 2017

I need your help urgently. I have enable the tracing from the client to check why ocr is failing and I found the error below

14:36:17.074 [07172]   OCR Error 0x80040197

14:36:17.074 [07172]  Exception: 0x80040197 [407] (OCR license check failed.) (COcrWorkerThread::Run at OcrWorkerThread.cpp:124)

I copied a file to laserfiche client  and I expect the pdf files to convert to tiff format. In this process, I get error preparing page for OCR (407) and error reading file (6408). I did this exercise in the server directly and it works however I get the error message from the desktop where LF client was installed. The trace file reported the following error message

 

Any idea why this OCR license check failed message appeared ?

 

Appreciate your speedy resolution this issue.

 

I checked the laserfiche support and some respond due to resource issues ( I doubt this in our case)

 

Thanks

Kumar

 

2017-10-30 Client 10.2.0.839

Current Process: C:\Program Files (x86)\Laserfiche\Client\LF.exe (PID=8244)

Current Module: C:\Program Files (x86)\Laserfiche\Client\LF.exe

14:18:35.837 [08324]   WriteOptionString ([Tracing]DPTraceLogLastPath)

14:18:35.837 [08324]    SetProfileValue

14:18:35.837 [08324]     CAttachedRepository::AddProfile

14:18:35.837 [08324]      CAttachedRepository::UpdateProfile

14:18:35.868 [08324]   WriteOptionString ([Settings]TracingDialogPos)

14:18:35.868 [08324]    SetProfileValue

14:18:35.868 [08324]     CAttachedRepository::AddProfile

14:18:35.868 [08324]      CAttachedRepository::UpdateProfile

14:18:40.712 [08324] CFolderListCtrl::OnDocumentOcr

14:18:40.712 [05136] CTocCacheWorkerWnd::ProcessLoadRows

14:18:40.712 [08324]  Lf_OCRIndex

14:18:40.712 [09856] CLFWorkerThread::Run

14:18:40.712 [09856]  CLFOCRIndexThread::DoRun

14:18:40.775 [09856]   GetOptionString ([Ocr]PagesOption)

14:18:40.775 [09856]    CAttachedRepository::GetProfileValue

14:18:40.775 [09856]   COCRIndex::CheckIndexedAndPages

14:18:40.775 [09856]   GetOptionString ([Settings]OCR)

14:18:40.775 [09856]    CAttachedRepository::GetProfileValue

14:18:40.775 [09856]   GetOptionString ([Settings]Index)

14:18:40.775 [09856]    CAttachedRepository::GetProfileValue

14:18:42.275 [09856]   WriteOptionString ([OCR]PagesOption)

14:18:42.275 [09856]    SetProfileValue

14:18:42.275 [09856]     CAttachedRepository::AddProfile

14:18:42.275 [09856]   WriteOptionString ([Settings]OCR)

14:18:42.275 [09856]    SetProfileValue

14:18:42.275 [09856]     CAttachedRepository::AddProfile

14:18:42.275 [09856]   WriteOptionString ([Settings]Index)

14:18:42.275 [09856]    SetProfileValue

14:18:42.275 [09856]     CAttachedRepository::AddProfile

14:18:42.290 [09856]   LFFlushPrivateProfile

14:18:42.290 [09856]    CAttachedRepository::UpdateProfile

14:18:42.290 [09856]   GetOptionString ([Settings]UseAlternatePdfTextMethod)

14:18:42.290 [09856]    CAttachedRepository::GetProfileValue

14:18:42.290 [09856]   GetOptionString ([Settings]AlternatePdfTextMethod)

14:18:42.290 [09856]    CAttachedRepository::GetProfileValue

14:18:42.290 [09856]   GetOptionString ([Settings]GeneratePagesForPdfWithoutTextStream)

14:18:42.290 [09856]    CAttachedRepository::GetProfileValue

14:18:42.306 [09856]   GetOptionString ([Options]OcrCancelTimeout)

14:18:42.306 [09856]    CAttachedRepository::GetProfileValue

14:18:42.306 [09856]   GetOptionString ([Settings]UseAlternatePdfTextMethod)

14:18:42.306 [09856]    CAttachedRepository::GetProfileValue

14:18:42.306 [09856]   GetOptionString ([Settings]GeneratePagesForPdfWithoutTextStream)

14:18:42.306 [09856]    CAttachedRepository::GetProfileValue

14:18:42.306 [09856]   COcrProgress::DoOCR

14:18:42.306 [09856]    GetOptionString ([Settings]ReportProgPos)

14:18:42.306 [09856]     CAttachedRepository::GetProfileValue

14:18:42.321 [07172]  COcrWorkerThread::LoadOcrEngine

14:18:42.321 [07172]   GetOptionString ([Options]OCREngineProgId)

14:18:42.321 [07172]    CAttachedRepository::GetProfileValue

14:18:42.321 [07172]   LFOcrEngine::Init

14:18:42.321 [07172]   LFRemoveDirectory(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\c7dfc73d-3298-4d2c-a280-8e519902da8c\)

14:18:42.321 [07172]   Lf_CreateDirectoryLevels(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7)

14:18:42.321 [07172]    StandardOcrEngine::Init

14:18:42.321 [07172]     GetOptionString ([OCR]UseFormFix)

14:18:42.321 [07172]      CAttachedRepository::GetProfileValue

14:18:42.321 [07172]     GetOptionString ([OCR]Language)

14:18:42.321 [07172]      CAttachedRepository::GetProfileValue

14:18:42.321 [07172]     GetOptionString ([OCR]ForceSingleColumn)

14:18:42.321 [07172]      CAttachedRepository::GetProfileValue

14:18:42.321 [07172]     GetOptionString ([OCR]OptimizeForSpeed)

14:18:42.321 [07172]      CAttachedRepository::GetProfileValue

14:18:42.321 [07172]     GetOptionString ([OCR]Optimization)

14:18:42.321 [07172]      CAttachedRepository::GetProfileValue

14:18:42.321 [09856]    GetOptionString ([Settings]OcrLoopTimeout)

14:18:42.321 [09856]     CAttachedRepository::GetProfileValue

14:18:42.321 [09856]    GetOptionString ([Settings]MImportFlags)

14:18:42.321 [09856]     CAttachedRepository::GetProfileValue

14:18:42.321 [09856]    COcrProgress::ProcessDocuments

14:18:42.321 [09856]    COcrProgress::ChooseProcForDoc

14:18:42.337 [09856]    COcrProgress::ProcessDocuments

14:18:42.337 [09856]     COcrProgress::ProcessDocument

14:18:42.400 [09856]      COcrProgress::OCRDocument

14:18:42.525 [09856]       GetImageFile

14:18:42.525 [09856]        _LfApiUtil_ReadDataFromLFStream

14:18:42.540 [09856]        CLFImage::WriteFile

14:18:42.540 [09856]         GetOptionString ([Settings]JPEGCompression)

14:18:42.540 [09856]          CAttachedRepository::GetProfileValue

14:18:42.571 [09856]        CLFImage::Destroy

14:18:42.571 [07172]  LFOcrEngine::Recognize

14:18:42.571 [07172]   StandardOcrEngine::Recognize

14:18:42.743 [08324] IdleTimerProc

14:18:43.728 [07172]   OCR Error 0x80040197

14:18:43.728 [07172]  Exception: 0x80040197 [407] (OCR license check failed.) (COcrWorkerThread::Run at OcrWorkerThread.cpp:124)

14:18:43.728 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lf0.tmp)

14:18:43.728 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\_lf0.tmp)

14:18:43.728 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lfocr.tmp)

14:18:43.775 [09856]       GetImageFile

14:18:43.775 [09856]        _LfApiUtil_ReadDataFromLFStream

14:18:43.853 [09856]        CLFImage::WriteFile

14:18:43.853 [09856]         GetOptionString ([Settings]JPEGCompression)

14:18:43.853 [09856]          CAttachedRepository::GetProfileValue

14:18:44.056 [09856]        CLFImage::Destroy

14:18:44.056 [07172]  LFOcrEngine::Recognize

14:18:44.056 [07172]   StandardOcrEngine::Recognize

14:18:45.228 [07172]   OCR Error 0x80040197

14:18:45.228 [07172]  Exception: 0x80040197 [407] (OCR license check failed.) (COcrWorkerThread::Run at OcrWorkerThread.cpp:124)

14:18:45.228 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lf1.tmp)

14:18:45.228 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\_lf1.tmp)

14:18:45.228 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lfocr.tmp)

14:18:45.274 [09856]       GetImageFile

14:18:45.274 [09856]        _LfApiUtil_ReadDataFromLFStream

14:18:45.353 [09856]        CLFImage::WriteFile

14:18:45.353 [09856]         GetOptionString ([Settings]JPEGCompression)

14:18:45.353 [09856]          CAttachedRepository::GetProfileValue

14:18:45.556 [09856]        CLFImage::Destroy

14:18:45.556 [07172]  LFOcrEngine::Recognize

14:18:45.556 [07172]   StandardOcrEngine::Recognize

14:18:46.712 [07172]   OCR Error 0x80040197

14:18:46.712 [07172]  Exception: 0x80040197 [407] (OCR license check failed.) (COcrWorkerThread::Run at OcrWorkerThread.cpp:124)

14:18:46.712 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lf2.tmp)

14:18:46.712 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\_lf2.tmp)

14:18:46.712 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lfocr.tmp)

14:18:46.759 [09856]       GetImageFile

14:18:46.759 [09856]        _LfApiUtil_ReadDataFromLFStream

14:18:46.837 [09856]        CLFImage::WriteFile

14:18:46.837 [09856]         GetOptionString ([Settings]JPEGCompression)

14:18:46.837 [09856]          CAttachedRepository::GetProfileValue

14:18:47.040 [09856]        CLFImage::Destroy

14:18:47.040 [07172]  LFOcrEngine::Recognize

14:18:47.040 [07172]   StandardOcrEngine::Recognize

14:18:48.212 [07172]   OCR Error 0x80040197

14:18:48.212 [07172]  Exception: 0x80040197 [407] (OCR license check failed.) (COcrWorkerThread::Run at OcrWorkerThread.cpp:124)

14:18:48.212 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lf3.tmp)

14:18:48.212 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\_lf3.tmp)

14:18:48.212 [09856]      LFDeleteFile(C:\Users\KRAMAK~1\AppData\Local\Temp\5\LFO\1f455ada-28e6-4a80-b1b7-894158a311d7\~lfocr.tmp)

0 0

Replies

replied on October 30, 2017

Try repairing the client installation from Add/Remove programs.

0 0
replied on October 30, 2017

I tried that option too still issue not resolved

0 0
replied on October 30, 2017

The next thing I would try is a full reinstall of the LF client. If that doesn't work, please open a support case so we can troubleshoot further.

0 0
replied on October 30, 2017

Hi Robert,

We are the client's VAR - case 190574 is already open for this issue.

Many thanks, Dan

0 0
replied on March 26, 2019

was there any resolution to this????

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.