MuhammaraJS icon indicating copy to clipboard operation
MuhammaraJS copied to clipboard

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

Open skhilliard opened this issue 1 year ago • 10 comments

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

skhilliard avatar Aug 10 '23 18:08 skhilliard

will take a look at the weekend

julianhille avatar Aug 11 '23 18:08 julianhille

@julianhille Thank you! 👍

skhilliard avatar Aug 11 '23 18:08 skhilliard

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

skhilliard avatar Aug 16 '23 21:08 skhilliard

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

julianhille avatar Aug 28 '23 08:08 julianhille

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

julianhille avatar Sep 07 '23 21:09 julianhille

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

skhilliard avatar Sep 29 '23 21:09 skhilliard

No did not really. Trying harder.

julianhille avatar Oct 03 '23 13:10 julianhille

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

skhilliard avatar May 28 '24 21:05 skhilliard

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

skhilliard avatar Jul 03 '24 16:07 skhilliard

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

julianhille avatar Jul 08 '24 01:07 julianhille