Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

ActiveFedora::ActiveFedoraError: Model mismatch. Expected GenericFile. Got: ActiveFedora::Base #1789

Open
ualbertalib-bot opened this issue Apr 10, 2018 · 0 comments

Comments

@ualbertalib-bot
Copy link

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


ActiveFedora::ActiveFedoraError: Model mismatch. Expected GenericFile. Got: ActiveFedora::Base
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 202, in class_to_load
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 192, 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 127, in block (2 levels) in find_each
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 125, in each
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 125, in block in find_each
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 165, in find_in_batches
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/active-fedora-9.4.2/lib/active_fedora/relation/finder_methods.rb", line 124, in find_each
  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_each
  File "/var/www/sites/hydranorth/lib/tasks/getchecksums.rake", line 5, in block (2 levels) in <top (required)>
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/task.rb", line 248, in block in execute
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/task.rb", line 243, in each
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/task.rb", line 243, in execute
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/task.rb", line 187, in block in invoke_with_call_chain
  File "/usr/lib64/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/task.rb", line 180, in invoke_with_call_chain
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/task.rb", line 173, in invoke
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 152, in invoke_task
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 108, in block (2 levels) in top_level
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 108, in each
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 108, in block in top_level
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 117, in run_with_threads
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 102, in top_level
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 80, in block in run
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 178, in standard_exception_handling
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/lib/rake/application.rb", line 77, in run
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/gems/rake-11.3.0/exe/rake", line 27, in <top (required)>
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/bin/rake", line 23, in load
  File "/var/www/sites/hydranorth/vendor/ruby/2.3.0/bin/rake", line 23, in <top (required)>
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb", line 74, in load
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb", line 74, in kernel_load
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb", line 27, in run
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb", line 332, in exec
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/command.rb", line 27, in run
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/invocation.rb", line 126, in invoke_command
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor.rb", line 359, in dispatch
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb", line 20, in dispatch
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/base.rb", line 440, in start
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb", line 11, in start
  File "/usr/bin/bundle", line 34, in block in <main>
  File "/usr/lib64/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/friendly_errors.rb", line 100, in with_friendly_errors
  File "/usr/bin/bundle", line 26, in <main>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant