Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RuntimeError (Tk12GradebookLock: invalid row count: expected 35 got 33):
- /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:46:in `block in compute_grade_data'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/switchman-1.2.40/lib/switchman/active_record/base.rb:50:in `transaction'
- /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:40:in `compute_grade_data'
- /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:25:in `compute_only'
- /home/artem/Work/LMS/ThrivistK12/lib/user_search.rb:363:in `custom_search_for_course'
- /home/artem/Work/LMS/ThrivistK12/app/controllers/courses_controller.rb:891:in `users'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:167:in `process_action'
- /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'
- /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'
- /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'
- /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'
- /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:288:in `block in enable_request_cache'
- /home/artem/Work/LMS/ThrivistK12/lib/temp_cache.rb:7:in `enable'
- /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:287:in `enable_request_cache'
- /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'
- /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'
- /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'
- /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:281:in `set_locale'
- /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'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:17:in `process_action'
- /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'
- /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'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `instrument'
- /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'
- /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'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:121:in `process'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb:46:in `process'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:203:in `dispatch'
- /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'
- /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'
- /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'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
- /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'
- /home/artem/Work/LMS/ThrivistK12/gems/plugins/respondus_soap_endpoint/lib/respondus_soap_endpoint/middleware.rb:61:in `call'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb:14:in `call'
- /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'
- /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:60:in `block in call'
- /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:258:in `reserve_capacity'
- /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:55:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb:242:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
- /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'
- /home/artem/Work/LMS/ThrivistK12/app/middleware/sessions_timeout.rb:23:in `call'
- /home/artem/Work/LMS/ThrivistK12/app/middleware/load_account.rb:12:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64:in `call'
- /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'
- /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'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb:65:in `call'
- /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'
- /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'
- /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'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:32:in `call_app'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:18:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in `call'
- /home/artem/Work/LMS/ThrivistK12/app/middleware/request_context_generator.rb:36:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
- /home/artem/Work/LMS/ThrivistK12/app/middleware/prevent_non_multipart_parse.rb:32:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-mini-profiler-0.9.2/lib/mini_profiler/profiler.rb:193:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/engine.rb:484:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/application.rb:231:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/log_tailer.rb:17:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:86:in `block in pre_process'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `catch'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `pre_process'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:53:in `process'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:39:in `receive_data'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/backends/base.rb:73:in `start'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/server.rb:162:in `start'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands/server.rb:70:in `start'
- /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)>'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `tap'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `<top (required)>'
- /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `require'
- /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `<top (required)>'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `load'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/command.rb:7:in `call'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client.rb:30:in `run'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/bin/spring:49:in `<top (required)>'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `load'
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `<top (required)>'
- /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require'
- /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require'
- /home/artem/Work/LMS/ThrivistK12/bin/spring:16:in `<top (required)>'
- /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `load'
- /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `<top (required)>'
- -e:1:in `load'
- -e:1:in `<main>'
- [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] Account Load (0.5ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = 1 LIMIT 1
- [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] (0.2ms) BEGIN
- [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] CacheStore: read "user_email/users/1-20190815113224" 0.0000
- [- 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
- [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] CacheStore: generate "user_email/users/1-20190815113224" 0.0035
- [- 1ea58e2e-f7f1-4083-9af1-6681948bbda3] CacheStore: write "user_email/users/1-20190815113224" 0.0000
- [- 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''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/switchman-1.2.40/lib/switchman/active_record/base.rb:50:in `transaction''
- /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:40:in `compute_grade_data''
- /home/artem/Work/LMS/ThrivistK12/lib/tk12_grade_service.rb:25:in `compute_only''
- /home/artem/Work/LMS/ThrivistK12/lib/user_search.rb:363:in `custom_search_for_course''
- /home/artem/Work/LMS/ThrivistK12/app/controllers/courses_controller.rb:891:in `users''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:167:in `process_action''
- /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''
- /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''
- /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''
- /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''
- /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:288:in `block in enable_request_cache''
- /home/artem/Work/LMS/ThrivistK12/lib/temp_cache.rb:7:in `enable''
- /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:287:in `enable_request_cache''
- /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''
- /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''
- /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''
- /home/artem/Work/LMS/ThrivistK12/app/controllers/application_controller.rb:281:in `set_locale''
- /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''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:17:in `process_action''
- /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''
- /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''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `instrument''
- /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''
- /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''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:121:in `process''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb:46:in `process''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:203:in `dispatch''
- /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''
- /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''
- /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''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `each''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/journey-1.0.4/lib/journey/router.rb:56:in `call''
- /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''
- /home/artem/Work/LMS/ThrivistK12/gems/plugins/respondus_soap_endpoint/lib/respondus_soap_endpoint/middleware.rb:61:in `call''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb:14:in `call''
- /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''
- /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:60:in `block in call''
- /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:258:in `reserve_capacity''
- /home/artem/Work/LMS/ThrivistK12/lib/canvas/request_throttle.rb:55:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb:242:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call''
- /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''
- /home/artem/Work/LMS/ThrivistK12/app/middleware/sessions_timeout.rb:23:in `call''
- /home/artem/Work/LMS/ThrivistK12/app/middleware/load_account.rb:12:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64:in `call''
- /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''
- /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''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb:65:in `call''
- /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''
- /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''
- /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''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:32:in `call_app''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:18:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in `call''
- /home/artem/Work/LMS/ThrivistK12/app/middleware/request_context_generator.rb:36:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call''
- /home/artem/Work/LMS/ThrivistK12/app/middleware/prevent_non_multipart_parse.rb:32:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-mini-profiler-0.9.2/lib/mini_profiler/profiler.rb:193:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/engine.rb:484:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/application.rb:231:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/rack/log_tailer.rb:17:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:86:in `block in pre_process''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `catch''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:84:in `pre_process''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:53:in `process''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/connection.rb:39:in `receive_data''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/backends/base.rb:73:in `start''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/thin-1.6.3/lib/thin/server.rb:162:in `start''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/rack-1.4.5/lib/rack/server.rb:268:in `start''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands/server.rb:70:in `start''
- /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)>''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `tap''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in `<top (required)>''
- /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `require''
- /home/artem/Work/LMS/ThrivistK12/bin/rails:9:in `<top (required)>''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `load''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client/command.rb:7:in `call''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/client.rb:30:in `run''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/bin/spring:49:in `<top (required)>''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `load''
- /home/artem/.rvm/gems/ruby-2.3.8@thrivist/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `<top (required)>''
- /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require''
- /usr/share/rvm/rubies/ruby-2.3.8/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in `require''
- /home/artem/Work/LMS/ThrivistK12/bin/spring:16:in `<top (required)>''
- /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `load''
- /home/artem/Work/LMS/ThrivistK12/bin/rails:3:in `<top (required)>''
- -e:1:in `load''
- -e:1:in `<main>''', 'RuntimeError', '2019-08-19 10:48:07.684052', '---
- type:
- response_code: 500
- format: !ruby/object:Mime::Type
- hash: 3914234642008998790
- string: application/json
- symbol: :json
- synonyms:
- - text/x-json
- - application/jsonrequest
- tk12_view_history:
- - "a7f7df30-f20e-4941-bcf1-930d7be13709 - POST: http://localhost:3000/tk12/api/courses/5886/gradebook (http://localhost:3000/tk12/courses/5886/grades/gradebook)"
- - "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)"
- - "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)"
- - "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)"
- - "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)"
- HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
- HTTP_ACCEPT_ENCODING: gzip, deflate, br
- HTTP_HOST: localhost:3000
- HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
- PATH_INFO: /api/v1/courses/5886/users
- 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
- REQUEST_METHOD: GET
- REQUEST_PATH: /api/v1/courses/5886/users
- 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
- SERVER_NAME: localhost
- SERVER_PORT: "3000"
- SERVER_PROTOCOL: HTTP/1.1
- REMOTE_ADDR: 127.0.0.1
- path_parameters: "{:action=>\"users\", :format=>\"json\", :controller=>\"courses\", :course_id=>\"5886\"}"
- query_parameters: "{\"users?page\"=>\"1\", \"per_page\"=>\"13\", \"custom_search\"=>\"true\", \"enrollment_type\"=>[\"student\"], \"include\"=>\"section_ids\", \"order\"=>\"asc\", \"sort\"=>\"overall_current\"}"
- request_parameters: "{}"
- exception_message: "Tk12GradebookLock: invalid row count: expected 35 got 33"
- hostname: Artem-PC
- pid: 4782
- ', '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