Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.44 KB | None | 0 0
  1. sinatra.rb in read
  2. @contents.push File.read('../coords.txt')
  3. sinatra.rb in block in <main>
  4. @contents.push File.read('../coords.txt')
  5. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
  6. proc { |a,p| unbound_method.bind(a).call }
  7. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in compile!
  8. proc { |a,p| unbound_method.bind(a).call }
  9. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block (3 levels) in route!
  10. route_eval { block[*args] }
  11. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in route_eval
  12. throw :halt, yield
  13. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block (2 levels) in route!
  14. route_eval { block[*args] }
  15. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in process_route
  16. block ? block[self, values] : yield(self, values)
  17. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in catch
  18. catch(:pass) do
  19. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in process_route
  20. catch(:pass) do
  21. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in route!
  22. returned_pass_block = process_route(pattern, keys, conditions) do |*args|
  23. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in each
  24. routes.each do |pattern, keys, conditions, block|
  25. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in route!
  26. routes.each do |pattern, keys, conditions, block|
  27. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in dispatch!
  28. route!
  29. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in invoke
  30. res = catch(:halt) { yield }
  31. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in catch
  32. res = catch(:halt) { yield }
  33. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in invoke
  34. res = catch(:halt) { yield }
  35. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in dispatch!
  36. invoke do
  37. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in call!
  38. invoke { dispatch! }
  39. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in invoke
  40. res = catch(:halt) { yield }
  41. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in catch
  42. res = catch(:halt) { yield }
  43. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in invoke
  44. res = catch(:halt) { yield }
  45. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call!
  46. invoke { dispatch! }
  47. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
  48. dup.call!(env)
  49. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb in call
  50. status, headers, body = @app.call(env)
  51. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb in call
  52. app.call env
  53. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb in call
  54. status, headers, body = app.call(env)
  55. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb in call
  56. result or app.call(env)
  57. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb in call
  58. result or app.call(env)
  59. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb in call
  60. status, headers, body = @app.call(env)
  61. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/logger.rb in call
  62. @app.call(env)
  63. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/commonlogger.rb in call
  64. status, header, body = @app.call(env)
  65. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
  66. call_without_check(env)
  67. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
  68. env['sinatra.commonlogger'] ? @app.call(env) : super
  69. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/head.rb in call
  70. status, headers, body = @app.call(env)
  71. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/methodoverride.rb in call
  72. @app.call(env)
  73. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb in call
  74. @app.call(env)
  75. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
  76. result, callback = app.call(env), env['async.callback']
  77. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
  78. @stack.call(env)
  79. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in block in call
  80. synchronize { prototype.call(env) }
  81. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in synchronize
  82. yield
  83. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb in call
  84. synchronize { prototype.call(env) }
  85. C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb in service
  86. status, headers, body = @app.call(env)
  87. C:/row/Ruby200/lib/ruby/2.3.0/webrick/httpserver.rb in service
  88. si.service(req, res)
  89. C:/row/Ruby200/lib/ruby/2.3.0/webrick/httpserver.rb in run
  90. server.service(req, res)
  91. C:/row/Ruby200/lib/ruby/2.3.0/webrick/server.rb in block in start_thread
  92. addr = sock.peeraddr
  93. @logger.debug "accept: #{addr[3]}:#{addr[1]}"
  94. rescue SocketError
  95. @logger.debug "accept: <address unknown>"
  96. raise
  97. end
  98. call_callback(:AcceptCallback, sock)
  99. block ? block.call(sock) : run(sock)
  100. rescue Errno::ENOTCONN
  101. @logger.debug "Errno::ENOTCONN raised"
  102. rescue ServerError => ex
  103. msg = "#{ex.class}: #{ex.message}\n\t#{ex.backtrace[0]}"
  104. @logger.error msg
  105. rescue Exception => ex
  106. @logger.error ex
  107. GET
  108. No GET data.
  109. POST
  110. No POST data.
  111. COOKIES
  112. No cookie data.
  113. Rack ENV
  114. Variable Value
  115. GATEWAY_INTERFACE
  116. CGI/1.1
  117. HTTP_ACCEPT
  118. text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  119. HTTP_ACCEPT_ENCODING
  120. gzip, deflate, sdch
  121. HTTP_ACCEPT_LANGUAGE
  122. en-US,en;q=0.8
  123. HTTP_CACHE_CONTROL
  124. max-age=0
  125. HTTP_CONNECTION
  126. keep-alive
  127. HTTP_HOST
  128. localhost:3000
  129. HTTP_UPGRADE_INSECURE_REQUESTS
  130. 1
  131. HTTP_USER_AGENT
  132. Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
  133. HTTP_VERSION
  134. HTTP/1.1
  135. PATH_INFO
  136. /
  137. QUERY_STRING
  138. REMOTE_ADDR
  139. 127.0.0.1
  140. REMOTE_HOST
  141. 127.0.0.1
  142. REQUEST_METHOD
  143. GET
  144. REQUEST_PATH
  145. /
  146. REQUEST_URI
  147. http://localhost:3000/
  148. SCRIPT_NAME
  149. SERVER_NAME
  150. localhost
  151. SERVER_PORT
  152. 3000
  153. SERVER_PROTOCOL
  154. HTTP/1.1
  155. SERVER_SOFTWARE
  156. WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
  157. rack.errors
  158. #<Object:0x2b16e98>
  159. rack.hijack
  160. #<Proc:0x26251e0@C:/row/Ruby200/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:76 (lambda)>
  161. rack.hijack?
  162. true
  163. rack.hijack_io
  164. nil
  165. rack.input
  166. #<StringIO:0x26252e8>
  167. rack.logger
  168. #<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>>>
  169. rack.multiprocess
  170. false
  171. rack.multithread
  172. true
  173. rack.request.cookie_hash
  174. {}
  175. rack.request.query_hash
  176. {}
  177. rack.request.query_string
  178. rack.run_once
  179. false
  180. rack.url_scheme
  181. http
  182. rack.version
  183. [1, 3]
  184. sinatra.accept
  185. [#<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>]
  186. sinatra.commonlogger
  187. true
  188. sinatra.error
  189. #<Errno::ENOENT: No such file or directory @ rb_sysopen - ../coords.txt>
  190. sinatra.route
  191. GET /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement