pdf2docx
pdf2docx copied to clipboard
[ERROR] Ignore page 1 due to making page error: invalid literal for int() with base 16: 'x1'
Description of the bug
Currently facing an issue when using Converter to convert pdf to docx. The code was working fine 10 hours ago but now fails, with no fix. Parse fails as well
How to reproduce the bug
1) Using Converter
from pdf2docx import Converter source = "path/to/source.pdf" target = "path/to/target.docx" cv = Converter(source) cv.convert(target) cv.close()
error: [ERROR] Ignore page 1 due to making page error: invalid literal for int() with base 16: 'x1'
2) using Parse
from pdf2docx import parse source = "path/to/source.pdf" target = "path/to/target.docx" parse(source, target)
error: [ERROR] Ignore page 1 due to making page error: invalid literal for int() with base 16: 'x1'
pdf2docx version
0.5.8
Operating system
Linux
Python version
3.10