Traceback (most recent call last): File "/Users/remidelbouys/Envinorma/data-tasks/tasks/ocr_ap/ocr_ap.py", line 818, in _run_ocr _download_ocr_and_upload_document(id_) File "/Users/remidelbouys/Envinorma/data-tasks/tasks/ocr_ap/ocr_ap.py", line 81, in _download_ocr_and_upload_document _ocr(file_.name, file_.name) File "/Users/remidelbouys/Envinorma/data-tasks/tasks/ocr_ap/ocr_ap.py", line 61, in _ocr ocr(input_filename, output_filename, language=['fra'], progress_bar=False, jobs=1) # type: ignore File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/ocrmypdf/api.py", line 340, in ocr return run_pipeline(options=options, plugin_manager=plugin_manager, api=True) File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/ocrmypdf/_sync.py", line 359, in run_pipeline pdfinfo = get_pdfinfo( File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/ocrmypdf/_pipeline.py", line 157, in get_pdfinfo return PdfInfo( File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/ocrmypdf/pdfinfo/info.py", line 859, in __init__ raise EncryptedPdfError() # Triggered by encryption with empty passwd ocrmypdf.exceptions.EncryptedPdfError: Input PDF is encrypted. The encryption must be removed to perform OCR. For information about this PDF's security use qpdf --show-encryption infilename You can remove the encryption using qpdf --decrypt [--password=[password]] infilename