Page 1 of 1

OCR Worked, Now its not?!

PostPosted:Fri Sep 18, 2009 5:19 pm
by djdifulvio
Error I am seeing is:
Code: Select all
05:09:17,872 WARN  [TiffTextExtractor] Failed to extract OCR text
java.io.FileNotFoundException: /tmp/okm2804744968207462335.txt (No such file or directory)
Have installed OpenKM-3.0_JBoss-4.2.2.GA, current release/build of ImageMagick and Tesseract-OCR. and running Ubuntu server 9.04 x64.

I do not know why its looking in \"/tmp/\" when the start-up shows the server temp is set to \"/opt/OpenKM-3.0_JBoss-4.2.2.GA/server/default/tmp\" is it some how not picking up the path correctly?

The only change I made was moved it from testing on my desktop Ubuntu 9.04 workstation to a dedicated server...

Thanks,
B)

Re:OCR Worked, Now its not?!

PostPosted:Mon Sep 21, 2009 9:32 pm
by djdifulvio
Anyone??

Re:OCR Worked, Now its not?!

PostPosted:Tue Sep 22, 2009 5:00 pm
by djdifulvio
Reinstalled; still get the same error.... WTB Community...

Tested with a manual \"tesseract file.tif results\" and there was some unknown text errors but otherwise it correctly created the results.txt file, and it had data. When I add the same TIFF file to OpenKM, I get the same \"can not file /tmp/filename.txt\" error.

So, how can I check to make sure the \"/tmp/\" is the correct path and/or change it?