-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 'called readLinearizationData for file that is not linearized' #680
Comments
I can also reproduce this. ocrmypdf linear.pdf ocr.pdf results in:
And indeed, the resulting file is not linearized (but valid nonetheless!):
Versions:
I can also provide a pdf file to reproduce this if needed. |
@jbarlow83 I have submitted two pull-requests with different approaches to fixing this, feedback is welcome of course. Either this error should be ignored (like Edit: closed one PR since I was wrong, linearization is being checked even though the errors are ignored. But then again this might already be covered by |
Thanks 😃 |
Describe the bug
When ocr'ing the attached file, I get an error at the end. The resulting pdf looks fine, however.
To Reproduce
Run with verbosity or higher
-v1
to see more detailed logging. This information may be helpful.Example file
Expected behavior
No error or clearer message
System
ArchLinux Linux 5.9.8-zen1-1-zen #1 ZEN SMP PREEMPT Tue, 10 Nov 2020 22:44:06 +0000 x86_64 GNU/Linux
ocrmypdf 11.3.2
The text was updated successfully, but these errors were encountered: