You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/app/vendor/bundle/ruby/3.2.0/gems/combine_pdf-1.0.24/lib/combine_pdf/parser.rb:188:in `[]': no implicit conversion of Symbol into Integer (TypeError)
@info_object = @root_object[:Info] ? (@root_object[:Info][:referenced_object] || @root_object[:Info]) : false
^^^^^^^^^^^^^^^^^^
I gather that @root_object[:Info] is expected to be a hash, but it's not in this case.
I found that re-saving the document as a new PDF (in Preview on OSX) gets by this problem. I don't know if the original PDF is valid or not, i.e. if the issue is with the PDF or with the gem.
The text was updated successfully, but these errors were encountered:
Thanks for all your work on CombindPDF. It's been great to use!
Here's one PDF that CombinePDF seems to have trouble parsing.
AHN AGB.pdf
I try to parse the attached PDF like this:
I get this error:
Looks like this is the line of code:
combine_pdf/lib/combine_pdf/parser.rb
Line 188 in fe11372
I gather that
@root_object[:Info]
is expected to be a hash, but it's not in this case.I found that re-saving the document as a new PDF (in Preview on OSX) gets by this problem. I don't know if the original PDF is valid or not, i.e. if the issue is with the PDF or with the gem.
The text was updated successfully, but these errors were encountered: