-
Notifications
You must be signed in to change notification settings - Fork 952
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
ValueError: invalid literal for int() with base 16 #385
Comments
Hi @rcarraretto, thanks for raising this issue! I can replicate this error. I'll look into this now. |
As far as I can see there is an error in your PDF file. More specific, the
The encoding of this font has a list of differences wrt the
The second last element is I'm not sure how the |
A quick fix is to skip characters with exceptions. We already do this for |
Cool, thanks for the fix @pietermarsman! |
First of all, thanks for the tool! My team has been successfully using this.
Describe the bug
With Python 3.7.6 and pdfminer 20200124.
Given this file, when running
I get an incomplete xml output with a stacktrace
The file is a pdf with non-embedded fonts.
To help isolate the issue, I was able to reproduce it with this docker setup.
Could this be a bug?
Thanks!
The text was updated successfully, but these errors were encountered: