pdf-diff icon indicating copy to clipboard operation
pdf-diff copied to clipboard

Python 3.12.3 Compatibility Issues

Open saukif opened this issue 1 year ago • 2 comments

irst of all, thank you for creating this awesome tool! However, I've encountered some issues while trying to use it with Python 3.12.3.

Environment:

  • Python version: 3.12.3
  • Operating System: [ubuntu]

Issue: When trying to compare PDFs, I'm encountering multiple errors:

  1. First error encountered:
AttributeError: module 'diff_match_patch' has no attribute 'diff'

saukif avatar Nov 15 '24 05:11 saukif

I've created a pull request that will hopefully address your issue. The updated code can be found here. I hope it helps.

moriartynz avatar Dec 04 '24 15:12 moriartynz

@JoshData thanks for the quick update on this. I noticed there was an issue with an unterminated string literal in argument which i addressed in this PR

sakibyousuf avatar Dec 06 '24 19:12 sakibyousuf