You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an output file is moved or deleted quickly after processing completes, especially in parallel processing of many files, OcrTask may not yet have been scheduled to sanity check the final timestamp and activate on-success actions such as deleting or archiving the input file before the output is no longer accessible, causing output_mtime measurement to fail.
Should either remove the timestamp sanity check and rely on the return code from ocrmypdf or find a way to win this race, e.g. moving to the final path from /ocrtemp as a final step.
The text was updated successfully, but these errors were encountered:
When an output file is moved or deleted quickly after processing completes, especially in parallel processing of many files,
OcrTask
may not yet have been scheduled to sanity check the final timestamp and activate on-success actions such as deleting or archiving the input file before the output is no longer accessible, causingoutput_mtime
measurement to fail.Should either remove the timestamp sanity check and rely on the return code from
ocrmypdf
or find a way to win this race, e.g. moving to the final path from/ocrtemp
as a final step.The text was updated successfully, but these errors were encountered: