Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sinatra.rb in read
- @contents.push File.read('../coords.txt')
- sinatra.rb in block in <main>
- @contents.push File.read('../coords.txt')
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
- proc { |a,p| unbound_method.bind(a).call }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in compile!
- proc { |a,p| unbound_method.bind(a).call }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block (3 levels) in route!
- route_eval { block[*args] }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in route_eval
- throw :halt, yield
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block (2 levels) in route!
- route_eval { block[*args] }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in process_route
- block ? block[self, values] : yield(self, values)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in catch
- catch(:pass) do
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in process_route
- catch(:pass) do
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in route!
- returned_pass_block = process_route(pattern, keys, conditions) do |*args|
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in each
- routes.each do |pattern, keys, conditions, block|
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in route!
- routes.each do |pattern, keys, conditions, block|
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in dispatch!
- route!
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in invoke
- res = catch(:halt) { yield }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in catch
- res = catch(:halt) { yield }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in invoke
- res = catch(:halt) { yield }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in dispatch!
- invoke do
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in call!
- invoke { dispatch! }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in invoke
- res = catch(:halt) { yield }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in catch
- res = catch(:halt) { yield }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in invoke
- res = catch(:halt) { yield }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call!
- invoke { dispatch! }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
- dup.call!(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb in call
- status, headers, body = @app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb in call
- app.call env
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb in call
- status, headers, body = app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb in call
- result or app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb in call
- result or app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb in call
- status, headers, body = @app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/logger.rb in call
- @app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/commonlogger.rb in call
- status, header, body = @app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
- call_without_check(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
- env['sinatra.commonlogger'] ? @app.call(env) : super
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/head.rb in call
- status, headers, body = @app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/methodoverride.rb in call
- @app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb in call
- @app.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
- result, callback = app.call(env), env['async.callback']
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
- @stack.call(env)
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in call
- synchronize { prototype.call(env) }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in synchronize
- yield
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
- synchronize { prototype.call(env) }
- C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb in service
- status, headers, body = @app.call(env)
- C:/row/Ruby200/lib/ruby/2.3.0/webrick/httpserver.rb in service
- si.service(req, res)
- C:/row/Ruby200/lib/ruby/2.3.0/webrick/httpserver.rb in run
- server.service(req, res)
- C:/row/Ruby200/lib/ruby/2.3.0/webrick/server.rb in block in start_thread
- addr = sock.peeraddr
- @logger.debug "accept: #{addr[3]}:#{addr[1]}"
- rescue SocketError
- @logger.debug "accept: <address unknown>"
- raise
- end
- call_callback(:AcceptCallback, sock)
- block ? block.call(sock) : run(sock)
- rescue Errno::ENOTCONN
- @logger.debug "Errno::ENOTCONN raised"
- rescue ServerError => ex
- msg = "#{ex.class}: #{ex.message}\n\t#{ex.backtrace[0]}"
- @logger.error msg
- rescue Exception => ex
- @logger.error ex
- GET
- No GET data.
- POST
- No POST data.
- COOKIES
- No cookie data.
- Rack ENV
- Variable Value
- GATEWAY_INTERFACE
- CGI/1.1
- HTTP_ACCEPT
- text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
- HTTP_ACCEPT_ENCODING
- gzip, deflate, sdch
- HTTP_ACCEPT_LANGUAGE
- en-US,en;q=0.8
- HTTP_CACHE_CONTROL
- max-age=0
- HTTP_CONNECTION
- keep-alive
- HTTP_HOST
- localhost:3000
- HTTP_UPGRADE_INSECURE_REQUESTS
- 1
- HTTP_USER_AGENT
- Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
- HTTP_VERSION
- HTTP/1.1
- PATH_INFO
- /
- QUERY_STRING
- REMOTE_ADDR
- 127.0.0.1
- REMOTE_HOST
- 127.0.0.1
- REQUEST_METHOD
- GET
- REQUEST_PATH
- /
- REQUEST_URI
- http://localhost:3000/
- SCRIPT_NAME
- SERVER_NAME
- localhost
- SERVER_PORT
- 3000
- SERVER_PROTOCOL
- HTTP/1.1
- SERVER_SOFTWARE
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
- rack.errors
- #<Object:0x2b16e98>
- rack.hijack
- #<Proc:0x26251e0@C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:76 (lambda)>
- rack.hijack?
- true
- rack.hijack_io
- nil
- rack.input
- #<StringIO:0x26252e8>
- rack.logger
- #<Logger:0x2b0c338 @progname=nil, @level=1, @default_formatter=#<Logger::Formatter:0x2b0c2d8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x2b0c218 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x2b0c1e8>>>
- rack.multiprocess
- false
- rack.multithread
- true
- rack.request.cookie_hash
- {}
- rack.request.query_hash
- {}
- rack.request.query_string
- rack.run_once
- false
- rack.url_scheme
- http
- rack.version
- [1, 3]
- sinatra.accept
- [#<Sinatra::Request::AcceptEntry:0x2b022e8 @entry="text/html", @type="text/html", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x2b02018 @entry="application/xhtml+xml", @type="application/xhtml+xml", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x2b01958 @entry="image/webp", @type="image/webp", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x2b01ee0 @entry="application/xml;q=0.9", @type="application/xml", @params={}, @q=0.9>, #<Sinatra::Request::AcceptEntry:0x2b01670 @entry="*/*;q=0.8", @type="*/*", @params={}, @q=0.8>]
- sinatra.commonlogger
- true
- sinatra.error
- #<Errno::ENOENT: No such file or directory @ rb_sysopen - ../coords.txt>
- sinatra.route
- GET /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement