Open emmanuelrosa opened 1 year ago
Have the same issue, anyone have an idea of a workaround on Arch Linux?
I uninstalled pypdf2 v. 3.0.1 and installed pypdf (all smalls) 2.12.1, then it works
I suppose this is already fixed in krop but they just haven't made a release with the fix yet. See: https://github.com/arminstraub/krop/pull/39
@leenaars, since upstream hasn't released an update with the commit which fixes this issue, would you consider updating the Nix package to use a commit as the version, rather than using the "0.6.0" tag?
You can probably use the current master as the commit.
Describe the bug
When attempting to crop a PDF with krop, it crashes with the message: PyPDF2.errors.DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
Steps To Reproduce
krop --grid=2x1 --go -o output.pdf input.pdf
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
I expected the input PDF to be cropped.
Notify maintainers
@leenaars
Metadata