Closed Kagetsuki closed 8 years ago
Hello Kagetsuki,
Thank you very much for discovering and opening this issue.
Again, thank you for opening this issue. Bo.
I found some old Scribus PDF files on the internet and released a patched... I don't know if it solves everything, but there was an issue with PDF style "inheritance" (pages inheriting data) and empty string data that CombinePDF didn't handle properly.
I hope this is now resolved, please let me know if the fix works for you.
Now I get
combine_pdf-0.2.24/lib/combine_pdf/pdf_protected.rb:332:in `merge_outlines': undefined method `delete' for nil:NilClass (NoMethodError)
I'll try and take a good look tomorrow if I have time.
Scribus I'm using is edge, "Scribus NG". Here's one of the actual files we're using: --redacted--
I fixed it to work as expected with the file you sent me. There was an issue with outline merging where the outline existed but had 0 entries (code expected the outline to either exist with some entries or not exist.
If the issue persists, please reopen the issue (or open a new one), so we can fix this.
Thank you for your input and the test file you sent.
@boazsegev confirming you've fixed it! Works perfectly! Thanks!!!
🎉 Thanks for letting me know. I'm happy it's fixed.
v0.2.21 was combining Scribus PDFs without issue, now all Scribus generated pages are blank. I reverted to 0.2.21 to double check and it definitely worked before. Pages generated with ThinReports work absolutely fine. If needed I can provide a sample PDF and template file from Scribus. What's funny is 0.2.23 gives the following errors for each page generated from Scribus:
But 0.2.21, which again is working, gives an additional error:
Note also how
Form data might be lost when combining PDF forms (possible conflicts).
appears at the top and bottom in 21, whereas it appears twice at the top in 23.If there's anything I can do to try and get more information or anything I can provide to help please tell me.