Advertisement
Guest User

Untitled

a guest
Jun 24th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.29 KB | None | 0 0
  1.  
  2. POST http://localhost:3000/tasks
  3.  
  4. 500 Internal Server Error
  5. 120ms
  6. jquery....?body=1 (line 9660)
  7. "NetworkError: 500 Internal Server Error - http://localhost:3000/tasks"
  8. tasks
  9. Profile (363.018ms, 5003 calls)
  10. POST http://localhost:3000/tasks
  11.  
  12. 500 Internal Server Error
  13. 70ms
  14. jquery....?body=1 (line 9660)
  15. HeadersPostResponseCookies
  16.  
  17. ActionView::MissingTemplate at /tasks
  18. =====================================
  19.  
  20. > Missing template tasks/create, application/create with {:locale=>[:en], :formats=>[:js, :html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in:
  21. * "/home/jjan/imp/app/views"
  22.  
  23.  
  24. actionview (4.2.2) lib/action_view/path_set.rb, line 46
  25. -------------------------------------------------------
  26.  
  27. ``` ruby
  28. 41 end
  29. 42 METHOD
  30. 43 end
  31. 44
  32. 45 def find(*args)
  33. > 46 find_all(*args).first || raise(MissingTemplate.new(self, *args))
  34. 47 end
  35. 48
  36. 49 def find_all(path, prefixes = [], *args)
  37. 50 prefixes = [prefixes] if String === prefixes
  38. 51 prefixes.each do |prefix|
  39. ```
  40.  
  41. App backtrace
  42. -------------
  43.  
  44.  
  45.  
  46. Full backtrace
  47. --------------
  48.  
  49. - actionview (4.2.2) lib/action_view/path_set.rb:46:in `find'
  50. - actionview (4.2.2) lib/action_view/lookup_context.rb:121:in `find'
  51. - actionview (4.2.2) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
  52. - actionview (4.2.2) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
  53. - actionview (4.2.2) lib/action_view/renderer/template_renderer.rb:8:in `render'
  54. - actionview (4.2.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
  55. - actionview (4.2.2) lib/action_view/renderer/renderer.rb:23:in `render'
  56. - actionview (4.2.2) lib/action_view/rendering.rb:100:in `_render_template'
  57. - actionpack (4.2.2) lib/action_controller/metal/streaming.rb:217:in `_render_template'
  58. - actionview (4.2.2) lib/action_view/rendering.rb:83:in `render_to_body'
  59. - actionpack (4.2.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
  60. - actionpack (4.2.2) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
  61. - actionpack (4.2.2) lib/abstract_controller/rendering.rb:25:in `render'
  62. - actionpack (4.2.2) lib/action_controller/metal/rendering.rb:16:in `render'
  63. - actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
  64. - activesupport (4.2.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
  65. - /home/jjan/.rbenv/versions/2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
  66. - activesupport (4.2.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
  67. - actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
  68. - actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
  69. - activerecord (4.2.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
  70. - actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:43:in `render'
  71. - actionpack (4.2.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
  72. - actionpack (4.2.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
  73. - actionpack (4.2.2) lib/abstract_controller/base.rb:198:in `process_action'
  74. - actionpack (4.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
  75. - actionpack (4.2.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
  76. - activesupport (4.2.2) lib/active_support/callbacks.rb:117:in `call'
  77. - activesupport (4.2.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
  78. - activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
  79. - activesupport (4.2.2) lib/active_support/callbacks.rb:92:in `_run_callbacks'
  80. - activesupport (4.2.2) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
  81. - activesupport (4.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
  82. - actionpack (4.2.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
  83. - actionpack (4.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
  84. - actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
  85. - activesupport (4.2.2) lib/active_support/notifications.rb:164:in `block in instrument'
  86. - activesupport (4.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  87. - activesupport (4.2.2) lib/active_support/notifications.rb:164:in `instrument'
  88. - actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
  89. - actionpack (4.2.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
  90. - activerecord (4.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  91. - actionpack (4.2.2) lib/abstract_controller/base.rb:137:in `process'
  92. - actionview (4.2.2) lib/action_view/rendering.rb:30:in `process'
  93. - actionpack (4.2.2) lib/action_controller/metal.rb:196:in `dispatch'
  94. - actionpack (4.2.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  95. - actionpack (4.2.2) lib/action_controller/metal.rb:237:in `block in action'
  96. - actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
  97. - actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
  98. - actionpack (4.2.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
  99. - actionpack (4.2.2) lib/action_dispatch/journey/router.rb:30:in `serve'
  100. - actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:819:in `call'
  101. - rack (1.6.4) lib/rack/etag.rb:24:in `call'
  102. - rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
  103. - rack (1.6.4) lib/rack/head.rb:13:in `call'
  104. - actionpack (4.2.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  105. - actionpack (4.2.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
  106. - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
  107. - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
  108. - actionpack (4.2.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
  109. - activerecord (4.2.2) lib/active_record/query_cache.rb:36:in `call'
  110. - activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
  111. - activerecord (4.2.2) lib/active_record/migration.rb:378:in `call'
  112. - actionpack (4.2.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  113. - activesupport (4.2.2) lib/active_support/callbacks.rb:88:in `_run_callbacks'
  114. - activesupport (4.2.2) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
  115. - activesupport (4.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
  116. - actionpack (4.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  117. - actionpack (4.2.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
  118. - actionpack (4.2.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  119. - better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
  120. - better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
  121. - better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
  122. - actionpack (4.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  123. - web-console (2.1.3) lib/web_console/middleware.rb:37:in `call'
  124. - actionpack (4.2.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  125. - railties (4.2.2) lib/rails/rack/logger.rb:38:in `call_app'
  126. - railties (4.2.2) lib/rails/rack/logger.rb:20:in `block in call'
  127. - activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  128. - activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'
  129. - activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'
  130. - railties (4.2.2) lib/rails/rack/logger.rb:20:in `call'
  131. - actionpack (4.2.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  132. - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
  133. - rack (1.6.4) lib/rack/runtime.rb:18:in `call'
  134. - activesupport (4.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  135. - rack (1.6.4) lib/rack/lock.rb:17:in `call'
  136. - actionpack (4.2.2) lib/action_dispatch/middleware/static.rb:113:in `call'
  137. - rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
  138. - railties (4.2.2) lib/rails/engine.rb:518:in `call'
  139. - railties (4.2.2) lib/rails/application.rb:164:in `call'
  140. - rack (1.6.4) lib/rack/content_length.rb:15:in `call'
  141. - thin (1.6.3) lib/thin/connection.rb:86:in `block in pre_process'
  142. - thin (1.6.3) lib/thin/connection.rb:84:in `pre_process'
  143. - thin (1.6.3) lib/thin/connection.rb:53:in `process'
  144. - thin (1.6.3) lib/thin/connection.rb:39:in `receive_data'
  145. - eventmachine (1.0.7) lib/eventmachine.rb:187:in `run'
  146. - thin (1.6.3) lib/thin/backends/base.rb:73:in `start'
  147. - thin (1.6.3) lib/thin/server.rb:162:in `start'
  148. - rack (1.6.4) lib/rack/handler/thin.rb:19:in `run'
  149. - rack (1.6.4) lib/rack/server.rb:286:in `start'
  150. - railties (4.2.2) lib/rails/commands/server.rb:80:in `start'
  151. - railties (4.2.2) lib/rails/commands/commands_tasks.rb:80:in `block in server'
  152. - railties (4.2.2) lib/rails/commands/commands_tasks.rb:75:in `server'
  153. - railties (4.2.2) lib/rails/commands/commands_tasks.rb:39:in `run_command!'
  154. - railties (4.2.2) lib/rails/commands.rb:17:in `<top (required)>'
  155. - bin/rails:4:in `<main>'
  156.  
  157. "NetworkError: 500 Internal Server Error - http://localhost:3000/tasks"
  158. tasks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement