Skip to content

Instantly share code, notes, and snippets.

@tmtm
Created January 30, 2015 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmtm/a569753ecb5f33640fe6 to your computer and use it in GitHub Desktop.
Save tmtm/a569753ecb5f33640fe6 to your computer and use it in GitHub Desktop.
Windows の Rabbit で PDF を表示しようとしたときに出たエラー
DL is deprecated, please use Fiddle
c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/parser/pdf.rb: line 29
Poppler-INFO **:Syntax error at position -1: Couldn't find trailer dictionary
c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/parser/pdf.rb: line 29
Poppler-INFO **:Syntax error at position -1: Couldn't find trailer dictionary
c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/parser/pdf.rb: line 29
Poppler-INFO **:Syntax error at position -1: Couldn't read xref table
c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/parser/pdf.rb:29:in `initialize': PDF document is damaged (GLib::Error)
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/parser/pdf.rb:29:in `new'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/parser/pdf.rb:29:in `parse'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/parser.rb:19:in `parse'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/canvas.rb:333:in `block in parse'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/canvas.rb:726:in `keep_index'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/canvas.rb:330:in `parse'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/frame.rb:56:in `parse'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/command/rabbit.rb:702:in `parse'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/command/rabbit.rb:864:in `do_display'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/command/rabbit.rb:51:in `run'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/lib/rabbit/command/rabbit.rb:29:in `run'
from c:/Ruby21/lib/ruby/gems/2.1.0/gems/rabbit-2.1.3/bin/rabbit:22:in `<top (required)>'
from c:/Ruby21/bin/rabbit:23:in `load'
from c:/Ruby21/bin/rabbit:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment