Skip to content

Instantly share code, notes, and snippets.

@timdiggins timdiggins/traceback
Created Feb 20, 2018

Embed
What would you like to do?
traceback for oneboxing failure of https error
2018-02-20 18:41:58 - RuntimeError - Unable to read pdf file: https://www.poettker.com/files/pdf/Produktkatalog_170912.pdf:
/Users/tim/workspaces/bws/onebox/lib/onebox/engine/pdf_onebox.rb:14:in `data'
/Users/tim/workspaces/bws/onebox/lib/onebox/engine.rb:66:in `block in record'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/moneta-1.0.0/lib/moneta/mixins.rb:165:in `fetch'
/Users/tim/workspaces/bws/onebox/lib/onebox/engine.rb:66:in `record'
/Users/tim/workspaces/bws/onebox/lib/onebox/layout_support.rb:9:in `layout'
/Users/tim/workspaces/bws/onebox/lib/onebox/layout_support.rb:13:in `to_html'
/Users/tim/workspaces/bws/onebox/lib/onebox/preview.rb:35:in `engine_html'
/Users/tim/workspaces/bws/onebox/lib/onebox/preview.rb:16:in `to_s'
/Users/tim/workspaces/bws/onebox/lib/onebox/web.rb:33:in `block in <class:Web>'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-protection-1.5.4/lib/rack/protection/xss_header.rb:18:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-protection-1.5.4/lib/rack/protection/path_traversal.rb:16:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-protection-1.5.4/lib/rack/protection/json_csrf.rb:18:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-protection-1.5.4/lib/rack/protection/base.rb:49:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-protection-1.5.4/lib/rack/protection/base.rb:49:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-protection-1.5.4/lib/rack/protection/frame_options.rb:31:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-1.6.8/lib/rack/logger.rb:15:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-1.6.8/lib/rack/commonlogger.rb:33:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:219:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:212:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/show_exceptions.rb:25:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/Users/tim/.rvm/gems/ruby-2.3.1@rails/gems/rack-1.6.8/lib/rack/handler/webrick.rb:88:in `service'
/Users/tim/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
/Users/tim/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
/Users/tim/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.