Did you install tesseract and OCRmyPDF? and also the necessary language (romanian)? The message queing capabilities also have ot be available for php (semaphore functions).
[root]# ocrmypdf -v Traceback (most recent call last):
_ File “/usr/bin/ocrmypdf”, line 7, in _
_ from ocrmypdf.main import run_pipeline_
_ File “/usr/lib/python3.6/site-packages/ocrmypdf/main.py”, line 26, in _
_ from .pipeline import JobContext, JobContextManager, re_symlink, _
_ File “/usr/lib/python3.6/site-packages/ocrmypdf/pipeline.py”, line 30, in _
_ from . import leptonica_
_ File “/usr/lib/python3.6/site-packages/ocrmypdf/leptonica.py”, line 18, in _
_ lept = ffi.dlopen(find_library(‘lept’))_ OSError: cannot load library ‘liblept.so.5’: liblept.so.5: cannot open shared object file: No such file or directory
and also the necessary language (romanian)?
NO > I don’t know how can install romanian language, but i have an english PDF
Available language are only
The message queing capabilities also have ot be available for php (semaphore functions).
Sorry i don’t understand this - please explain it for a beginner user.
Thank you very much for help - this problem is very important for us!
Thanks for this information! I guess your ocrmypdf installation didn’t go well. Because the output you give here, is a traceback (an error). You can try to reinstall it or look at https://ocrmypdf.readthedocs.io/en/latest/installation.html for further help, because I have not really much experience with CENTOS yet.
Hi, it seems to me, that this has nothing to do with OCR now, it’s reporting a CSRF check failed:
I don’t know how that can be fixed, but I assume, that there could be a corresponding log entry for this, as the CSRF check takes place in nextcloud, as far as I know.
Hi, I have recently released a new Release Candidate (beta) but it’s using Docker containers and offers easier configuration. Maybe you can check this out and try.