CrossRef / pdfextract

MOVED TO https://gitlab.com/crossref/pdfextract
https://gitlab.com/crossref/pdfextract
MIT License
508 stars 89 forks source link

error: undefined method `*' for nil:NilClass #6

Open semorrison opened 11 years ago

semorrison commented 11 years ago

Under Ruby 1.9.3 (with pdf-reader downgraded to 1.1.1), I get

$ pdf-extract extract --references example.pdf

error: undefined method `*' for nil:NilClass. Use --trace to view backtrace

Under Ruby 1.9.1 (again with pdf-reader at 1.1.1), I get

$ pdf-extract extract --references example.pdf

error: undefined method `sort_by!' for #<Array:0x007fa62e9cc930>. Use --trace to view backtrace

Any suggestions? I'm not sure what else to try, but am excited to get pdfextract running!

semorrison commented 11 years ago

Under Ruby 2.0.0, with pdf-reader downgraded to 1.1.1, it looks like it works!

jgrossi commented 9 years ago

@semorrison Hi! Sorry about replying on this topic again. I'm trying to run pdf-extract. For some PDF papers it runs very well, but some I get these errors with a blank output :

I'm using Ruby 2.0.0 and pdf-reader 1.1.1. Do you know can I solve this?