Traceback (most recent call last): File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/ocrmypdf/_pipeline.py", line 50, in triage_image_file im = Image.open(input_file) File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/PIL/Image.py", line 2967, in open raise UnidentifiedImageError( PIL.UnidentifiedImageError: cannot identify image file '/private/var/folders/10/tknnxkpn7033g7t9bw56gxx80000gn/T/tmpznl3wnlt' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/remidelbouys/Envinorma/data-tasks/tasks/ocr_ap/ocr_ap.py", line 548, in _run_ocr 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 354, in run_pipeline origin_pdf = triage( File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/ocrmypdf/_pipeline.py", line 143, in triage triage_image_file(input_file, output_file, options) File "/Users/remidelbouys/Envinorma/data-tasks/venv/lib/python3.9/site-packages/ocrmypdf/_pipeline.py", line 54, in triage_image_file raise UnsupportedImageFormatError() from e ocrmypdf.exceptions.UnsupportedImageFormatError