Skip to content

Can't OCR a pdf file #73

@bit-man

Description

@bit-man

Uploading a PDF file and trying to OCR (method: simple, format : txt) by pressing button Convert into Document opens a new tab with the error Not Found and no file is downloaded

image

At docker console the error show is

172.17.0.1 - - [01/May/2024:20:26:37 +0000] "GET /HRProprietary/HRConvert2/DATA/856ca1146d63/7f10275ffce6/m1m2.txt HTTP/1.1" 404 489 "http://localhost:8080/HRProprietary/HRConvert2/convertCore.php?showFiles=1&gui=Default&language=en&color=blue" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"

Doing tail of txt log at Logs folder shows

Op-Act, May 1, 2024, 8:36 pm, 856ca1146d63/b0806464b510: Initiating Converter.
Op-Act, May 1, 2024, 8:36 pm, 856ca1146d63/b0806464b510: User selected to perform OCR on file m1m2.pdf.
Op-Act, May 1, 2024, 8:36 pm, 856ca1146d63/b0806464b510: Copying file m1m2.pdf to /var/www/html/HRProprietary/HRConvert2/DATA/856ca1146d63/b0806464b510/m1m2.pdf.
Op-Act, May 1, 2024, 8:36 pm, 856ca1146d63/b0806464b510: Copied file m1m2.pdf.
Op-Act, May 1, 2024, 8:36 pm, 856ca1146d63/b0806464b510: Verified file /DATA/HRConvert2/856ca1146d63/b0806464b510/m1m2.txt.
ERROR!!! May 1, 2024, 8:36 pm, HRConvert2-22, 856ca1146d63/b0806464b510: OCR Operation Failed!

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions