pdf2docx
pdf2docx copied to clipboard
Python 3.12 issue
Description of the bug
The library with version 0.5.8 is not working as expected with Python 3.12. Please take a look into this.
How to reproduce the bug
Getting this error
Ignore page 1 due to making page error: invalid literal for int() with base 16: 'xe'
pdf2docx version
0.5.8
Operating system
Linux
Python version
3.12
We cannot accept issue reports without a reproducing file.
We're getting this error from common/share.py file on line number 161. It is computing invalid value(xeee7d9) for integer typecasting. We've debugged this issue and color is comming as -16777216 every time. Please try to resolve this issue as soon as possible and update the library.
We're getting this error from common/share.py file on line number 161. It is computing invalid value(xeee7d9) for integer typecasting. We've debugged this issue and color is comming as -16777216 every time. Please try to resolve this issue as soon as possible and update the library.
Hmmm. Maybe related to: PyMuPDF Issue #4139
The workaround mentioned in pdf2docx Issue #329 might help resolve the issue in the short term.
This is due to an error in the base library, PyMuPDF. It will be fixed in the version following 1.25.2.