ualbertalib / HydraNorth

This repo is deprecated. Succeeded by https://github.com/ualbertalib/jupiter. This codebase was a IR built based on Samvera/Sufia
11 stars 4 forks source link

ArgumentError: wrong number of arguments (given 1, expected 0) #1720

Open ualbertalib-bot opened 6 years ago

ualbertalib-bot commented 6 years ago

View details in Rollbar: https://rollbar.com/ualbertalib/ERA/items/201/



ActiveFedora::ObjectNotFoundError: ActiveFedora::ObjectNotFoundError
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 191, in load_from_fedora
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 178, in find_one
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 243, in find_with_ids
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 59, in find
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/querying.rb", line 3, in find
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/hydra-core-9.2.2/app/controllers/concerns/hydra/controller/download_behavior.rb", line 43, in asset
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/hydra-core-9.2.2/app/controllers/concerns/hydra/controller/download_behavior.rb", line 66, in load_file
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/hydra-core-9.2.2/app/controllers/concerns/hydra/controller/download_behavior.rb", line 52, in file
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/hydra-core-9.2.2/app/controllers/concerns/hydra/controller/download_behavior.rb", line 39, in authorize_download!
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 432, in block in make_lambda
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 164, in block in halting
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 504, in block in call
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 504, in each
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 504, in call
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 498, in block (2 levels) in around
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 298, in block in halting_and_conditional
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 497, in block in around
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 505, in call
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 498, in block (2 levels) in around
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 298, in block in halting_and_conditional
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 497, in block in around
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 505, in call
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 778, in _run_process_action_callbacks
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb", line 29, in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb", line 164, in instrument
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb", line 250, in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb", line 18, in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb", line 137, in process
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionview-4.2.7.1/lib/action_view/rendering.rb", line 30, in process
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/live.rb", line 278, in block in process
ArgumentError: wrong number of arguments (given 1, expected 0)
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/hydra-core-9.2.2/app/controllers/concerns/hydra/controller/download_behavior.rb", line 24, in render_404
  File "/var/www/sites/hydranorth/app/controllers/application_controller.rb", line 22, in block in <class:ApplicationController>
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/rescuable.rb", line 114, in instance_exec
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/rescuable.rb", line 114, in block in handler_for_rescue
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/rescuable.rb", line 80, in rescue_with_handler
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb", line 15, in rescue_with_handler
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb", line 32, in rescue in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb", line 29, in process_action
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb", line 32, in block in proces