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

Couldn't connect reference #236

Open
Alagaesia93 opened this issue Jan 12, 2024 · 0 comments
Open

Couldn't connect reference #236

Alagaesia93 opened this issue Jan 12, 2024 · 0 comments

Comments

@Alagaesia93
Copy link

Couldn't connect reference for {:is_reference_only=>true, :indirect_generation_number=>0, :indirect_reference_id=>2, :referenced_object=>nil}

Hi there!
Great gem, never had any issues so far.
With one file (I can't share here for privacy issues, happy to do in private) it just gets stuck printing this message to console. PDF is not that big, around 11 MB

This is the intersting part of the code

# url is a cloudfront presigned url
tempfile = Tempfile.new("temp.pdf")
File.binwrite(tempfile.path, HTTParty.get(url).body)
original_pdf = CombinePDF.load(tempfile.path, raise_on_encrypted: true)

I tried to leave it and after 14 hours it's still pending. Any hints?

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

1 participant