Skip to content

web_demo not functional #11

Description

@aep
[2015-10-15 12:27:27] INFO  WEBrick 1.3.1
[2015-10-15 12:27:27] INFO  ruby 2.2.1 (2015-02-26) [x86_64-linux]
== Sinatra/1.4.5 has taken the stage on 3000 for development with backup from WEBrick
[2015-10-15 12:27:27] INFO  WEBrick::HTTPServer#start: pid=4074 port=3000
        SECURITY WARNING: No secret option provided to Rack::Session::Cookie.
        This poses a security threat. It is strongly recommended that you
        provide a secret to prevent exploits that may be possible from crafted
        cookies. This will not be supported in future versions of Rack, and
        future versions will even invalidate your existing user cookies.

        Called from: /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:86:in `new'.
Figo::Error - We are very sorry, but something went wrong.:
    /tmp/ruby-figo/lib/figo.rb:100:in `request'
    /tmp/ruby-figo/lib/figo.rb:252:in `query_api'
    /tmp/ruby-figo/lib/figo.rb:261:in `query_api_object'
    /tmp/ruby-figo/lib/figo.rb:380:in `transactions'
    app.rb:50:in `block in <main>'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `block in compile!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `[]'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (3 levels) in route!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:985:in `route_eval'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (2 levels) in route!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1006:in `block in process_route'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `catch'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `process_route'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:964:in `block in route!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `each'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `route!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1076:in `block in dispatch!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1073:in `dispatch!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `block in call!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `call!'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:886:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:217:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:210:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:21:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `block in call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in `synchronize'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
[2015-10-15 12:27:33] ERROR NoMethodError: undefined method `join' for #<String:0x0055d6fe6dbbb0>
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:37:in `rescue in call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:21:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `block in call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in `synchronize'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `call'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
    /home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
localhost.localdomain - - [15/Oct/2015:12:27:33 CEST] "GET / HTTP/1.1" 500 340

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions