Skip to content

Instantly share code, notes, and snippets.

@lbjay
Created December 28, 2011 19:53
Show Gist options
  • Save lbjay/1529407 to your computer and use it in GitHub Desktop.
Save lbjay/1529407 to your computer and use it in GitHub Desktop.
pdf-extract extract --sections 2259.pdf --trace
/home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-reader-1.0.0.rc1/lib/pdf/reader/object_hash.rb:73:in `[]': undefined method `to_i' for {:BaseFont=>:"Times-Roman", :Type=>:Font, :Subtype=>:Type1}:Hash (NoMethodError)
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/model/characters.rb:132:in `block in build_fonts'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/model/characters.rb:131:in `each'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/model/characters.rb:131:in `build_fonts'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/model/characters.rb:163:in `block (2 levels) in include_in'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf.rb:81:in `call'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf.rb:81:in `block (2 levels) in expand_listeners_to_callback_methods'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf.rb:170:in `block in invoke_calls'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf.rb:169:in `each'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf.rb:169:in `invoke_calls'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf-extract.rb:43:in `block in parse'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf-extract.rb:39:in `each'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf-extract.rb:39:in `parse'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/lib/pdf-extract.rb:54:in `view'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/bin/pdf-extract:116:in `block (4 levels) in <top (required)>'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/bin/pdf-extract:113:in `each'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/pdf-extract-0.0.9/bin/pdf-extract:113:in `block (3 levels) in <top (required)>'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/commander-4.0.6/lib/commander/command.rb:180:in `call'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/commander-4.0.6/lib/commander/command.rb:180:in `call'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/commander-4.0.6/lib/commander/command.rb:155:in `run'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/commander-4.0.6/lib/commander/runner.rb:394:in `run_active_command'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/commander-4.0.6/lib/commander/runner.rb:74:in `run!'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/commander-4.0.6/lib/commander/delegates.rb:11:in `run!'
from /home/jluker/.rvm/gems/ruby-1.9.2-p290/gems/commander-4.0.6/lib/commander/import.rb:10:in `block in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment