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

unable to create copying context. verify that the target is an existing PDF file error for PDF #319

Open
skhilliard opened this issue Aug 10, 2023 · 10 comments

Comments

@skhilliard
Copy link

We are on the latest version (as of 8/10/2023 4.0.0) and are getting an error thrown calling the createPDFCopyingContext method:

TypeError: unable to create copying context. verify that the target is an existing PDF file

image

This seems to happen for a specific PDF file (it is a Text gov't workers compensation PDF form). It does seem to be a valid PDF file. Any idea what may cause this? File attached for review.

TX Workers Comp Form.pdf

@julianhille
Copy link
Owner

will take a look at the weekend

@skhilliard
Copy link
Author

@julianhille Thank you! 👍

@skhilliard
Copy link
Author

@julianhille Good day. I was wondering if you had managed to look at the error I encountered using the PDF. Thank you!

@julianhille
Copy link
Owner

no i was a bit too busy. will try this evening

@julianhille
Copy link
Owner

started to look around unable to see an issue in your code, interchanging the way of loadin the file into a buffer, stream or reader does not really change the outcome. needs further debugging inside of cpp

@skhilliard
Copy link
Author

skhilliard commented Sep 29, 2023

@julianhille Good afternoon! Just wanted to follow up to see if there had been any opportunity to investigate this any further.

@julianhille
Copy link
Owner

No did not really. Trying harder.

@skhilliard
Copy link
Author

@julianhille Hello! It's been a while....any follow up for this particular problem?

@skhilliard
Copy link
Author

@julianhille Hello once again! We think we discovered a different PDF that exhibits this same behavior. Were there any updates for this issue?

@julianhille
Copy link
Owner

there will be an update to the cpp code shortly, maybe that will also fix this one

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

No branches or pull requests

2 participants