Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.93 KB | None | 0 0
  1. RuntimeError (Tk12GradebookLock: invalid row count: expected 35 got 33):
  2. /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:46:in `block in compute_grade_data'
  3. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
  4. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
  5. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/switchman-1.2.40/lib/switchman/active_record/base.rb:50:in `transaction'
  6. /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:40:in `compute_grade_data'
  7. /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:25:in `compute_only'
  8. /home/artem/Work/LMS/ThrivistK12/lib/user_search.rb:363:in `custom_search_for_course'
  9. /home/artem/Work/LMS/ThrivistK12/app/controllers/courses_controller.rb:891:in `users'
  10. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  11. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:167:in `process_action'
  12. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
  13. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  14. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:614:in `block (2 levels) in _run__2775843829284799643__process_action__2360905446606623102__callbacks'
  15. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_9183'
  16. /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:288:in `block in enable_request_cache'
  17. /home/artem/Work/LMS/ThrivistK12/lib/temp_cache.rb:7:in `enable'
  18. /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:287:in `enable_request_cache'
  19. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_9183'
  20. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:459:in `block in _run__2775843829284799643__process_action__2360905446606623102__callbacks'
  21. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_9182'
  22. /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:281:in `set_locale'
  23. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_9182'
  24. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:458:in `_run__2775843829284799643__process_action__2360905446606623102__callbacks'
  25. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
  26. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  27. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
  28. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:17:in `process_action'
  29. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
  30. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  31. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `block in instrument'
  32. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  33. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `instrument'
  34. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  35. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  36. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  37. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:121:in `process'
  38. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb:46:in `process'
  39. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-mini-profiler-0.9.2/lib/mini_profiler/profiling_methods.rb:79:in `block in profile_method'
  40. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:203:in `dispatch'
  41. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  42. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:246:in `block in action'
  43. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  44. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:36:in `call'
  45. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
  46. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
  47. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
  48. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:608:in `call'
  49. /home/artem/Work/LMS/ThrivistK12/gems/plugins/respondus_soap_endpoint/lib/respondus_soap_endpoint/middleware.rb:61:in `call'
  50. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  51. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
  52. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
  53. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb:14:in `call'
  54. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  55. /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:60:in `block in call'
  56. /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:258:in `reserve_capacity'
  57. /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:55:in `call'
  58. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb:242:in `call'
  59. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
  60. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
  61. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/encrypted_cookie_store-instructure-1.1.11/lib/encrypted_cookie_store.rb:47:in `call'
  62. /home/artem/Work/LMS/ThrivistK12/app/middleware/sessions_timeout.rb:23:in `call'
  63. /home/artem/Work/LMS/ThrivistK12/app/middleware/load_account.rb:12:in `call'
  64. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341:in `call'
  65. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64:in `call'
  66. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  67. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  68. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `_run__406364758105213902__call__326541331308099647__callbacks'
  69. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
  70. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  71. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
  72. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  73. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb:65:in `call'
  74. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  75. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  76. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  77. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:32:in `call_app'
  78. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:18:in `call'
  79. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in `call'
  80. /home/artem/Work/LMS/ThrivistK12/app/middleware/request_context_generator.rb:36:in `call'
  81. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
  82. /home/artem/Work/LMS/ThrivistK12/app/middleware/prevent_non_multipart_parse.rb:32:in `call'
  83. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
  84. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
  85. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83:in `call'
  86. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-mini-profiler-0.9.2/lib/mini_profiler/profiler.rb:193:in `call'
  87. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/engine.rb:484:in `call'
  88. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/application.rb:231:in `call'
  89. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
  90. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/log_tailer.rb:17:in `call'
  91. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:86:in `block in pre_process'
  92. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `catch'
  93. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `pre_process'
  94. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:53:in `process'
  95. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:39:in `receive_data'
  96. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine'
  97. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run'
  98. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/backends/base.rb:73:in `start'
  99. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/server.rb:162:in `start'
  100. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run'
  101. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
  102. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands/server.rb:70:in `start'
  103. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:55:in `block in <top (required)>'
  104. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `tap'
  105. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `<top (required)>'
  106. /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `require'
  107. /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `<top (required)>'
  108. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `load'
  109. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `call'
  110. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/command.rb:7:in `call'
  111. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client.rb:30:in `run'
  112. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/bin/spring:49:in `<top (required)>'
  113. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `load'
  114. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `<top (required)>'
  115. /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  116. /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  117. /home/artem/Work/LMS/ThrivistK12/bin/spring:16:in `<top (required)>'
  118. /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `load'
  119. /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `<top (required)>'
  120. -e:1:in `load'
  121. -e:1:in `<main>'
  122.  
  123.  
  124. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] Account Load (0.5ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = 1 LIMIT 1
  125. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] (0.2ms) BEGIN
  126. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
  127. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] CacheStore: read "user_email/users/1-20190815113224" 0.0000
  128. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] CommunicationChannel Load (0.7ms) SELECT "communication_channels".* FROM "communication_channels" WHERE "communication_channels"."user_id" = 1 AND "communication_channels"."path_type" = 'email' AND (communication_channels.workflow_state<>'retired') ORDER BY communication_channels.position ASC LIMIT 1
  129. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] CacheStore: generate "user_email/users/1-20190815113224" 0.0035
  130. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] CacheStore: write "user_email/users/1-20190815113224" 0.0000
  131. [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] SQL (0.9ms) INSERT INTO "error_reports" ("account_id", "backtrace", "category", "created_at", "data", "email", "message", "request_context_id", "request_method", "updated_at", "user_agent", "user_id") VALUES (1, '/home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:46:in `block in compute_grade_data''
  132. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction''
  133. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction''
  134. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/switchman-1.2.40/lib/switchman/active_record/base.rb:50:in `transaction''
  135. /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:40:in `compute_grade_data''
  136. /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:25:in `compute_only''
  137. /home/artem/Work/LMS/ThrivistK12/lib/user_search.rb:363:in `custom_search_for_course''
  138. /home/artem/Work/LMS/ThrivistK12/app/controllers/courses_controller.rb:891:in `users''
  139. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action''
  140. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:167:in `process_action''
  141. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb:10:in `process_action''
  142. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action''
  143. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:614:in `block (2 levels) in _run__2775843829284799643__process_action__2360905446606623102__callbacks''
  144. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_9183''
  145. /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:288:in `block in enable_request_cache''
  146. /home/artem/Work/LMS/ThrivistK12/lib/temp_cache.rb:7:in `enable''
  147. /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:287:in `enable_request_cache''
  148. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_9183''
  149. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:459:in `block in _run__2775843829284799643__process_action__2360905446606623102__callbacks''
  150. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_9182''
  151. /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:281:in `set_locale''
  152. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_9182''
  153. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:458:in `_run__2775843829284799643__process_action__2360905446606623102__callbacks''
  154. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback''
  155. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks''
  156. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks''
  157. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:17:in `process_action''
  158. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb:29:in `process_action''
  159. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action''
  160. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `block in instrument''
  161. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument''
  162. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `instrument''
  163. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action''
  164. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb:207:in `process_action''
  165. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action''
  166. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:121:in `process''
  167. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb:46:in `process''
  168. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-mini-profiler-0.9.2/lib/mini_profiler/profiling_methods.rb:79:in `block in profile_method''
  169. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:203:in `dispatch''
  170. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch''
  171. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:246:in `block in action''
  172. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:73:in `dispatch''
  173. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:36:in `call''
  174. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call''
  175. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `each''
  176. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `call''
  177. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:608:in `call''
  178. /home/artem/Work/LMS/ThrivistK12/gems/plugins/respondus_soap_endpoint/lib/respondus_soap_endpoint/middleware.rb:61:in `call''
  179. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call''
  180. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call''
  181. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call''
  182. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb:14:in `call''
  183. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/params_parser.rb:21:in `call''
  184. /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:60:in `block in call''
  185. /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:258:in `reserve_capacity''
  186. /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:55:in `call''
  187. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb:242:in `call''
  188. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context''
  189. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call''
  190. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/encrypted_cookie_store-instructure-1.1.11/lib/encrypted_cookie_store.rb:47:in `call''
  191. /home/artem/Work/LMS/ThrivistK12/app/middleware/sessions_timeout.rb:23:in `call''
  192. /home/artem/Work/LMS/ThrivistK12/app/middleware/load_account.rb:12:in `call''
  193. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341:in `call''
  194. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64:in `call''
  195. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call''
  196. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call''
  197. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `_run__406364758105213902__call__326541331308099647__callbacks''
  198. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback''
  199. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_call_callbacks''
  200. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks''
  201. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call''
  202. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb:65:in `call''
  203. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb:31:in `call''
  204. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call''
  205. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call''
  206. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:32:in `call_app''
  207. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:18:in `call''
  208. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in `call''
  209. /home/artem/Work/LMS/ThrivistK12/app/middleware/request_context_generator.rb:36:in `call''
  210. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call''
  211. /home/artem/Work/LMS/ThrivistK12/app/middleware/prevent_non_multipart_parse.rb:32:in `call''
  212. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call''
  213. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call''
  214. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83:in `call''
  215. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-mini-profiler-0.9.2/lib/mini_profiler/profiler.rb:193:in `call''
  216. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/engine.rb:484:in `call''
  217. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/application.rb:231:in `call''
  218. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call''
  219. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/log_tailer.rb:17:in `call''
  220. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:86:in `block in pre_process''
  221. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `catch''
  222. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `pre_process''
  223. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:53:in `process''
  224. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:39:in `receive_data''
  225. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine''
  226. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run''
  227. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/backends/base.rb:73:in `start''
  228. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/server.rb:162:in `start''
  229. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run''
  230. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/server.rb:268:in `start''
  231. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands/server.rb:70:in `start''
  232. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:55:in `block in <top (required)>''
  233. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `tap''
  234. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `<top (required)>''
  235. /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `require''
  236. /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `<top (required)>''
  237. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `load''
  238. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `call''
  239. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/command.rb:7:in `call''
  240. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client.rb:30:in `run''
  241. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/bin/spring:49:in `<top (required)>''
  242. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `load''
  243. /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `<top (required)>''
  244. /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require''
  245. /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require''
  246. /home/artem/Work/LMS/ThrivistK12/bin/spring:16:in `<top (required)>''
  247. /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `load''
  248. /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `<top (required)>''
  249. -e:1:in `load''
  250. -e:1:in `<main>''', 'RuntimeError', '2019-08-19 10:48:07.684052', '---
  251. type:
  252. response_code: 500
  253. format: !ruby/object:Mime::Type
  254. hash: 3914234642008998790
  255. string: application/json
  256. symbol: :json
  257. synonyms:
  258. - text/x-json
  259. - application/jsonrequest
  260. tk12_view_history:
  261. - "a7f7df30-f20e-4941-bcf1-930d7be13709 - POST: http://localhost:3000/tk12/api/courses/5886/gradebook (http://localhost:3000/tk12/courses/5886/grades/gradebook)"
  262. - "66625a07-7f0a-453d-8262-404d41f6f19b - GET: http://localhost:3000/api/v1/courses/5886/assignments?custom_gradebook=true&order=asc&page=1&per_page=11&published=true&sort=position (http://localhost:3000/tk12/courses/5886/grades/gradebook)"
  263. - "c3cad17c-90b9-41a1-bdaa-2e58c6f823cd - GET: http://localhost:3000/api/v1/courses/5886/users?page=1&per_page=10&custom_search=true&enrollment_type%5B%5D=student&include=section_ids&order=asc&per_page=10&sort=last_name (http://localhost:3000/tk12/courses/5886/grades/gradebook)"
  264. - "e9a47b40-6581-433e-86c6-5f8455883d65 - GET: http://localhost:3000/api/v1/accounts/1/courses?per_page=20&state%5B%5D%5B%5D=all (http://localhost:3000/tk12/courses/5886/grades/gradebook)"
  265. - "cb360dec-0110-412e-8a4d-7d0f6f137858 - GET: http://localhost:3000/api/v1/courses/5886/sections?per_page=50 (http://localhost:3000/tk12/courses/5886/grades/gradebook)"
  266. HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
  267. HTTP_ACCEPT_ENCODING: gzip, deflate, br
  268. HTTP_HOST: localhost:3000
  269. HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
  270. PATH_INFO: /api/v1/courses/5886/users
  271. QUERY_STRING: ?users?page=1&per_page=13&custom_search=true&enrollment_type%5B%5D=student&include=section_ids&order=asc&per_page=13&sort=overall_current
  272. REQUEST_METHOD: GET
  273. REQUEST_PATH: /api/v1/courses/5886/users
  274. REQUEST_URI: http://localhost:3000/api/v1/courses/5886/users?users?page=1&per_page=13&custom_search=true&enrollment_type%5B%5D=student&include=section_ids&order=asc&per_page=13&sort=overall_current
  275. SERVER_NAME: localhost
  276. SERVER_PORT: "3000"
  277. SERVER_PROTOCOL: HTTP/1.1
  278. REMOTE_ADDR: 127.0.0.1
  279. path_parameters: "{:action=>\"users\", :format=>\"json\", :controller=>\"courses\", :course_id=>\"5886\"}"
  280. query_parameters: "{\"users?page\"=>\"1\", \"per_page\"=>\"13\", \"custom_search\"=>\"true\", \"enrollment_type\"=>[\"student\"], \"include\"=>\"section_ids\", \"order\"=>\"asc\", \"sort\"=>\"overall_current\"}"
  281. request_parameters: "{}"
  282. exception_message: "Tk12GradebookLock: invalid row count: expected 35 got 33"
  283. hostname: Artem-PC
  284. pid: 4782
  285. ', 'admin@test.com', 'Tk12GradebookLock: invalid row count: expected 35 got 33', '1ea58e2e-f7f1-4083-9af1-6681948bbda3', 'get', '2019-08-19 10:48:07.684052', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36', 1) RETURNING "id"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement