activebridge / projectr

11 stars 1 forks source link

Octokit::NotFound: GET https://api.github.com/repos/robotology/ycm/commits/fix/InstallBasicPackageFiles/status: 404 - Ref not found // See: https://developer.github.com/v3/repos/#get-branch #78

Closed YaroslavTupytskyi closed 7 years ago

YaroslavTupytskyi commented 7 years ago

View details in Rollbar: https://rollbar.com/yaroslavtupitskyi/ProjectR/items/24/



Octokit::NotFound: GET https://api.github.com/repos/robotology/ycm/commits/fix/InstallBasicPackageFiles/status: 404 - Ref not found // See: https://developer.github.com/v3/repos/#get-branch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/response/raise_error.rb", line 16, in on_complete
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb", line 9, in block in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb", line 57, in on_complete
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb", line 8, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/middleware/follow_redirects.rb", line 73, in perform_with_redirection
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/middleware/follow_redirects.rb", line 61, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb", line 139, in build_response
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb", line 377, in run_request
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb", line 140, in get
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sawyer-0.7.0/lib/sawyer/agent.rb", line 94, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/connection.rb", line 154, in request
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/connection.rb", line 19, in get
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/client/statuses.rb", line 27, in combined_status
  File "/home/deploy/releases/20170125095210/app/jobs/application_job.rb", line 13, in status
  File "/home/deploy/releases/20170125095210/app/jobs/rebaser_job.rb", line 11, in perform
  File "/home/deploy/releases/20170125095210/app/jobs/refresher_job.rb", line 9, in block in perform
  File "/home/deploy/releases/20170125095210/app/jobs/refresher_job.rb", line 7, in each
  File "/home/deploy/releases/20170125095210/app/jobs/refresher_job.rb", line 7, in perform
  File "/home/deploy/releases/20170125095210/app/models/repo.rb", line 38, in refresh_all
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 382, in block in make_lambda
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 207, in block in halting_and_conditional
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 456, in block in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 456, in each
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 456, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 101, in __run_callbacks__
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 750, in _run_create_callbacks
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/callbacks.rb", line 302, in _create_record
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/timestamp.rb", line 68, in _create_record
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/persistence.rb", line 534, in create_or_update
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/callbacks.rb", line 298, in block in create_or_update
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 126, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 506, in block (2 levels) in compile
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 455, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 101, in __run_callbacks__
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 750, in _run_save_callbacks
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/callbacks.rb", line 298, in create_or_update
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/persistence.rb", line 125, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/validations.rb", line 44, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/attribute_methods/dirty.rb", line 22, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 319, in block (2 levels) in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 395, in block in with_transaction_returning_status
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb", line 232, in block in transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/transaction.rb", line 189, in within_new_transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb", line 232, in transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 211, in transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 392, in with_transaction_returning_status
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 319, in block in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 334, in rollback_active_record_state!
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 318, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/suppressor.rb", line 41, in save
  File "/home/deploy/releases/20170125095210/app/controllers/projects_controller.rb", line 14, in create
  File "/home/deploy/releases/20170125095210/app/controllers/projects_controller.rb", line 36, in check_repo
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesu