Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

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

Open
kim-em opened this issue Apr 10, 2013 · 2 comments
Open

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

kim-em opened this issue Apr 10, 2013 · 2 comments

Comments

@kim-em
Copy link

kim-em commented Apr 10, 2013

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!

@kim-em
Copy link
Author

kim-em commented Apr 22, 2013

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

@jgrossi
Copy link
Contributor

jgrossi commented Jun 16, 2015

@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 :

  • error: undefined method []' for nil:NilClass. Use --trace to view backtrace and
  • error: undefined method *' for nil:NilClass. Use --trace to view backtrace

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants