Comments (9)
Hi @LeptonHeavy,
Thank you so much for pointing this out 👍 👍 👍
I uploaded a patched version to github. Could you check that this resolves the issue?
Thanks,
Bo.
from combine_pdf.
I'm kind of new to github, so I'm still getting used to the functions of these comments.
I'm still having this same problem. Here's the error again:
C:/Ruby21/lib/ruby/gems/2.1.0/gems/combine_pdf-0.2.18/lib/combine_pdf/pdf_public.rb:303:in 'insert': undefined method 'update' for nil:NilClass (NoMethodError) from C:/Ruby21/lib/ruby/gems/2.1.0/gems/combine_pdf-0.2.18/lib/combine_pdf/pdf_public.rb:275:in '<<' from addinfo.rb:23:in '<main>'
My code is straight out of the combine_pdf.rb, and looks like this:
pdf = CombinePDF.new pdf << CombinePDF.load("file1.pdf") pdf << CombinePDF.load("file2.pdf") pdf.save "combined.pdf"
Since I'm new to github, I might simply not have the patch. I re-downloaded the zip, thinking that might solve the issue, but unfortunately it didn't. I'd love to use this gem for a project I'm working on for a class, though!
from combine_pdf.
After downloading the zip
, you need to copy (and overwrite) the pdf_public.rb
file to the C:/Ruby21/lib/ruby/gems/2.1.0/gems/combine_pdf-0.2.18/lib/combine_pdf
folder (the gem's folder).
After you overwrite the gem installation's file, you should have the patch.
The error might be resolved... of the error might move to a different line.
This week is finals at my collage, so I didn't get around to testing and releasing the patch. I'm not sure why the issue didn't come up with any of my pdf
files when I was testing the 0.2.18 version.
from combine_pdf.
I released a fixed version (v.0.2.20) - please check that this actually fixes the issue for you.
from combine_pdf.
Alrighty! Thanks! I'll take a look right now
from combine_pdf.
It worked! Thank you!
from combine_pdf.
Thanks for letting me know and for reporting this issue and your experience.
@LeptonHeavy thanks again. Let me know if you have any issues, I'm closing this one for now.
from combine_pdf.
confirming that 0.2.20 works for me as well!
thanks for the speedy fix!
from combine_pdf.
@LeptonHeavy , thanks for keeping me posted 👍
from combine_pdf.
Related Issues (20)
- How to PDF Encrypted Property Change ??
- LIbreOffice / Scribus & embedding fonts HOT 2
- Line break is not working HOT 1
- Parsing specific PDF in 1.0.21 - RangeError: index out of range (works in 1.0.20) HOT 5
- General PDF error - Combine PDF fails on specific PDF file HOT 1
- Seeking maintainers?
- How to use Arial black font in pdf?
- Fuzzer + various crashes
- SystemStackError: stack level too deep for docx file HOT 1
- Broken when parsing PDF with empty object
- Element missing error when rendering
- CombinePDF.parse is unable to process some PDF files
- Smart links are not updating or working in the combine process
- no implicit conversion of Symbol into Integer when using fonts()
- Combine many files at the same time and memory usage
- Web optimized PDFs improperly parsed
- center watermark HOT 1
- ParsingError: Optional Content PDF - with some PDF files uploaded HOT 5
- Couldn't connect reference
- paragraph text is collapsing when trying to combine file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from combine_pdf.