Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 issue #332

Open
apurv-sttl opened this issue Dec 17, 2024 · 3 comments
Open

Python 3.12 issue #332

apurv-sttl opened this issue Dec 17, 2024 · 3 comments
Labels
input needed Need test file

Comments

@apurv-sttl
Copy link

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

@JorjMcKie
Copy link
Collaborator

We cannot accept issue reports without a reproducing file.

@JorjMcKie JorjMcKie added the input needed Need test file label Dec 17, 2024
@apurv-sttl
Copy link
Author

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.

@hstov3
Copy link

hstov3 commented Dec 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
input needed Need test file
Projects
None yet
Development

No branches or pull requests

3 participants