Skip to content

Instantly share code, notes, and snippets.

@samflores
Created January 17, 2018 11:13
Show Gist options
  • Save samflores/26c46b99fdde4f8bdd86008f0433e28a to your computer and use it in GitHub Desktop.
Save samflores/26c46b99fdde4f8bdd86008f0433e28a to your computer and use it in GitHub Desktop.
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/authorizenet-1.8.2/lib/authorize_net/reporting/returned_item.rb:28: warning: duplicated key at line 28 ignored: :return_item_date_utc
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/premailer-1.7.9/lib/premailer/premailer.rb:49: warning: duplicated key at line 54 ignored: "’"
downloading structural dump to /Users/samflores/Code/cyanna/edvera/tmp/production_structural_dump_1516148541.sql and decompressing
loading backported structural data...
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/authorizenet-1.8.2/lib/authorize_net/reporting/returned_item.rb:28: warning: duplicated key at line 28 ignored: :return_item_date_utc
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/premailer-1.7.9/lib/premailer/premailer.rb:49: warning: duplicated key at line 54 ignored: "’"
injecting agency dependencies: iin_agency, cyanna
Seed permissions
Seed event queues
Seed-once webhooks
Seed payment plans
Seed payment negotiation strategies
seed Role#exposes_profile
Seed queries
Seed sql reports
Seed ruby reports
Seed Summary Document Templates
Seed workflow definition state machines
Setting everybody's passwords to 'password'...
Forcing all Stripe gateways to use sandbox credentials.
Forcing all AuthorizeNet gateways to use sandbox credentials.
Overriding Canvas configurations...
marked db clean
Deleting queued jobs...
=== Running deployment rake tasks
running deployment rake task deployment:001_accet_add_commissioners_permissions
Adding commissioner permissions to admin_staff
**ERROR** running deployment:001_accet_add_commissioners_permissions. Try running that task separately to fix the problem.
Validation failed: Permission has already been taken
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/validations.rb:56:in `save!'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:264:in `block in save!'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:264:in `save!'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_record_helper.rb:34:in `block in save!'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent.rb:586:in `with_database_metric_name'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/newrelic_rpm-3.17.2.327/lib/new_relic/agent/instrumentation/active_record_helper.rb:33:in `save!'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/has_many_through_association.rb:85:in `save_through_record'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/has_many_through_association.rb:52:in `insert_record'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:496:in `block (2 levels) in concat_records'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:344:in `add_to_target'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:495:in `block in concat_records'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:493:in `each'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:493:in `concat_records'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:134:in `block in concat'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:149:in `block in transaction'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:148:in `transaction'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_association.rb:134:in `concat'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/has_many_through_association.rb:38:in `concat'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/associations/collection_proxy.rb:118:in `<<'
/Users/samflores/Code/cyanna/edvera/lib/tasks/deployment/001_accet_add_comissioners_permissions.rake:16:in `block (4 levels) in <top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/relation/delegation.rb:6:in `each'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/relation/delegation.rb:6:in `each'
/Users/samflores/Code/cyanna/edvera/lib/tasks/deployment/001_accet_add_comissioners_permissions.rake:14:in `block (3 levels) in <top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
/Users/samflores/Code/cyanna/edvera/lib/tasks/deployment/001_accet_add_comissioners_permissions.rake:5:in `block (2 levels) in <top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/Users/samflores/Code/cyanna/edvera/lib/tasks/deploy.rake:15:in `block in run_deploy_tasks'
/Users/samflores/Code/cyanna/edvera/lib/tasks/deploy.rake:11:in `each'
/Users/samflores/Code/cyanna/edvera/lib/tasks/deploy.rake:11:in `run_deploy_tasks'
/Users/samflores/Code/cyanna/edvera/lib/tasks/deploy.rake:5:in `block (2 levels) in <top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:61:in `block (4 levels) in <top (required)>'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:58:in `each'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:58:in `block (3 levels) in <top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:17:in `block (4 levels) in <top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:7:in `block (3 levels) in <top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:150:in `invoke_task'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `each'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block in top_level'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:115:in `run_with_threads'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:100:in `top_level'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:78:in `block in run'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'
/usr/local/opt/asdf/installs/ruby/2.2.6/bin/rake:23:in `load'
/usr/local/opt/asdf/installs/ruby/2.2.6/bin/rake:23:in `<main>'
=== End of Running deployment rake tasks
=== Running Document Sync!
=== Finished Document Sync!
purging transactional data...
loading db/generate/iin_agency/development.yml
generating data for iin_agency
loading db/generate/cyanna/development.yml
generating data for cyanna
generating users for organization
created [email protected]
created [email protected]
loading db/generate/iin_institution/development.yml
generating data for iin_institution
generating outside integration links
created {"id"=>2, "organization_id"=>15069, "object_type"=>"EnrollmentAgreement", "stage_url"=>nil, "production_url"=>nil, "development_url"=>"http://example.com/some/place/{{sis_object_id}}", "description"=>"Salesforce", "created_at"=>Tue, 16 Jan 2018 19:02:59 CST -06:00, "updated_at"=>Tue, 16 Jan 2018 19:02:59 CST -06:00}
generating authorize net payment gateway
created AuthorizeNet (test mode)
generating users for organization
created [email protected]
created [email protected]
created [email protected]
created [email protected]
created [email protected]
created [email protected]
created [email protected]
created [email protected]
created [email protected]
created [email protected]
generating canvas courses
rake aborted!
unknown ping reply: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Action Controller: Exception caught</title>
<style>
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
font-family: helvetica, verdana, arial, sans-serif;
font-size: 13px;
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
white-space: pre-wrap;
}
a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
</style>
</head>
<body>
<h1>Routing Error</h1>
<p><pre>No route matches [POST] &quot;/api/v1/edvera_development/ping&quot;</pre></p>
<p>
Try running <code>rake routes</code> for more information on available routes.
</p>
</body>
</html>
/Users/samflores/Code/cyanna/edvera/app/services/canvas/synchronization_service.rb:39:in `online?'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/canvas_courses_builder.rb:7:in `create!'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:111:in `run_builder'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:93:in `block (3 levels) in start_building'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:91:in `each'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:91:in `block (2 levels) in start_building'
/Users/samflores/Code/cyanna/edvera/app/models/concerns/read_only.rb:30:in `bypass_read_only_constraint_globally'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:89:in `block in start_building'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:104:in `with_papertrail_disabled'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:88:in `start_building'
/Users/samflores/Code/cyanna/edvera/app/services/dummy_object_builder/base_builder.rb:79:in `build_existing_organization'
/Users/samflores/Code/cyanna/edvera/app/services/edvera/data_generation_service.rb:57:in `block in build_dummy_data'
/Users/samflores/Code/cyanna/edvera/app/services/edvera/data_generation_service.rb:52:in `each'
/Users/samflores/Code/cyanna/edvera/app/services/edvera/data_generation_service.rb:52:in `build_dummy_data'
/Users/samflores/Code/cyanna/edvera/app/services/edvera/data_generation_service.rb:29:in `block in generate'
/Users/samflores/Code/cyanna/edvera/app/services/edvera/data_generation_service.rb:74:in `block in benchmark'
/Users/samflores/Code/cyanna/edvera/app/services/edvera/data_generation_service.rb:73:in `benchmark'
/Users/samflores/Code/cyanna/edvera/app/services/edvera/data_generation_service.rb:27:in `generate'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/data/generate.rake:8:in `block (3 levels) in <top (required)>'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:61:in `block (4 levels) in <top (required)>'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:58:in `each'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:58:in `block (3 levels) in <top (required)>'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:17:in `block (4 levels) in <top (required)>'
/Users/samflores/Code/cyanna/edvera/lib/tasks/db/org.rake:7:in `block (3 levels) in <top (required)>'
Tasks: TOP => db:data:generate
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment