Skip to content

[ERROR] Ignore page 1 due to making page error: invalid literal for int() with base 16: 'x1' #330

@JoshhMiranda

Description

@JoshhMiranda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions