Closed mjgiarlo closed 9 years ago
I have not seen that. Do you get the same in fedora-4/master?
Yep, same in fedora-4/master.
mjg@beacon:~/workspace/druw (master[2.1.5@druw]⚡)$ bundle show sufia
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768
mjg@beacon:~/workspace/druw (master[2.1.5@druw]⚡)$ (cd $(bundle show sufia) && git log | head -n4)
commit 6c2f1a08b768783cf8e45f0244f35946c7f5cfa8
Merge: 189057b 55ab6db
Author: Adam Wead <amsterdamos@gmail.com>
Date: Sat Dec 20 09:23:04 2014 -0500
Hmm, I can't duplicate. Maybe your batch was created without a proper hasModel assertion?
What does that object look like in fedora?
Here are the batch and GF solrized:
2.1.5 :016 > gf.to_solr
=> {"system_create_dtsi"=>"2014-12-21T06:04:57Z", "system_modified_dtsi"=>"2014-12-21T06:04:57Z", "active_fedora_model_ssi"=>"ActiveFedora::Base", "has_model_ssim"=>[], :id=>"cf54b54b-1c90-48eb-bc7d-3a67eaf5d129", "object_profile_ssm"=>"{\"id\":\"cf54b54b-1c90-48eb-bc7d-3a67eaf5d129\"}"}
2.1.5 :017 > b.to_solr
=> {"system_create_dtsi"=>"2014-12-21T06:05:19Z", "system_modified_dtsi"=>"2014-12-21T06:05:19Z", "active_fedora_model_ssi"=>"ActiveFedora::Base", "has_model_ssim"=>[], :id=>"ebea1af9-885b-43f3-89e3-ebd2a2175c57", "object_profile_ssm"=>"{\"id\":\"ebea1af9-885b-43f3-89e3-ebd2a2175c57\"}"}
2.1.5 :018 >
Batch object properties in F4:
<sv:node xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:ns001="info:fedora/fedora-system:def/model#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:ns002="info:fedora/fedora-system:def/relations-external#" xmlns:test="info:fedora/test/" xmlns:fedoraconfig="http://fedora.info/definitions/v4/config#" xmlns:ns003="http://scholarsphere.psu.edu/ns#" xmlns:ns004="http://purl.org/dc/terms/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:image="http://www.modeshape.org/images/1.0" xmlns:premis="http://www.loc.gov/premis/rdf/v1#" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:mode="http://www.modeshape.org/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:ns006="http://www.w3.org/ns/auth/acl#" xmlns:ns005="http://id.loc.gov/vocabulary/relators/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:ldp="http://www.w3.org/ns/ldp#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fedora="http://fedora.info/definitions/v4/repository#" sv:name="ebea1af9-885b-43f3-89e3-ebd2a2175c57">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>nt:folder</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
<sv:value>fedora:Container</sv:value>
<sv:value>fedora:Resource</sv:value>
</sv:property>
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:value>af786aa5-13ab-4015-8c5d-1c64002b711b</sv:value>
</sv:property>
<sv:property sv:name="jcr:created" sv:type="Date">
<sv:value>2014-12-20T11:36:19.046-08:00</sv:value>
</sv:property>
<sv:property sv:name="jcr:lastModified" sv:type="Date">
<sv:value>2014-12-20T11:36:31.925-08:00</sv:value>
</sv:property>
<sv:property sv:name="ns001:hasModel" sv:type="String" sv:multiple="true">
<sv:value>Batch</sv:value>
</sv:property>
<sv:property sv:name="jcr:lastModifiedBy" sv:type="String">
<sv:value>bypassAdmin</sv:value>
</sv:property>
<sv:property sv:name="jcr:createdBy" sv:type="String">
<sv:value>bypassAdmin</sv:value>
</sv:property>
</sv:node>
GF object properties in F4:
<sv:node xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:ns001="info:fedora/fedora-system:def/model#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:ns002="info:fedora/fedora-system:def/relations-external#" xmlns:test="info:fedora/test/" xmlns:fedoraconfig="http://fedora.info/definitions/v4/config#" xmlns:ns003="http://scholarsphere.psu.edu/ns#" xmlns:ns004="http://purl.org/dc/terms/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:image="http://www.modeshape.org/images/1.0" xmlns:premis="http://www.loc.gov/premis/rdf/v1#" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:mode="http://www.modeshape.org/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:ns006="http://www.w3.org/ns/auth/acl#" xmlns:ns005="http://id.loc.gov/vocabulary/relators/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:ldp="http://www.w3.org/ns/ldp#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fedora="http://fedora.info/definitions/v4/repository#" sv:name="cf54b54b-1c90-48eb-bc7d-3a67eaf5d129">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>nt:folder</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
<sv:value>fedora:Container</sv:value>
<sv:value>fedora:Resource</sv:value>
</sv:property>
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:value>36667e8b-c808-49ae-a498-ecdc5e1f0877</sv:value>
</sv:property>
<sv:property sv:name="ns004:creator" sv:type="String" sv:multiple="true">
<sv:value>leftwing@uw.edu</sv:value>
</sv:property>
<sv:property sv:name="jcr:created" sv:type="Date">
<sv:value>2014-12-20T11:36:31.925-08:00</sv:value>
</sv:property>
<sv:property sv:name="jcr:lastModified" sv:type="Date">
<sv:value>2014-12-20T11:36:32.368-08:00</sv:value>
</sv:property>
<sv:property sv:name="ns003:relativePath" sv:type="String" sv:multiple="true">
<sv:value/>
</sv:property>
<sv:property sv:name="ns004:modified" sv:type="String" sv:multiple="true">
<sv:value xsi:type="xs:base64Binary">
MjAxNC0xMi0yMBheXhhodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNkYXRl
</sv:value>
</sv:property>
<sv:property sv:name="ns002:isPartOf_ref" sv:type="WeakReference" sv:multiple="true">
<sv:value>af786aa5-13ab-4015-8c5d-1c64002b711b</sv:value>
</sv:property>
<sv:property sv:name="ns001:hasModel" sv:type="String" sv:multiple="true">
<sv:value>GenericFile</sv:value>
</sv:property>
<sv:property sv:name="ns004:title" sv:type="String" sv:multiple="true">
<sv:value>AssistantToTenured.pdf</sv:value>
</sv:property>
<sv:property sv:name="jcr:lastModifiedBy" sv:type="String">
<sv:value>bypassAdmin</sv:value>
</sv:property>
<sv:property sv:name="ns005:dpt" sv:type="String" sv:multiple="true">
<sv:value>leftwing@uw.edu</sv:value>
</sv:property>
<sv:property sv:name="ns004:dateSubmitted" sv:type="String" sv:multiple="true">
<sv:value xsi:type="xs:base64Binary">
MjAxNC0xMi0yMBheXhhodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNkYXRl
</sv:value>
</sv:property>
<sv:property sv:name="jcr:createdBy" sv:type="String">
<sv:value>bypassAdmin</sv:value>
</sv:property>
</sv:node>
The rails console is at times complaining at me that '' is not a real class
It is altogether possible I have something configured oddly.
Here's my config/fedora.yml:
development:
user: THE_USUAL
password: THE_USUAL
url: http://127.0.0.1:8983/fedora/rest
The Solr documents are in error. Here's what I get:
Batch.create.to_solr
=> {"system_create_dtsi"=>"2014-12-22T13:44:29Z",
"system_modified_dtsi"=>"2014-12-22T13:44:29Z",
"active_fedora_model_ssi"=>"Batch",
"has_model_ssim"=>["Batch"],
:id=>"1f443b4a-6523-4068-a330-69d27ee5f6c2",
"object_profile_ssm"=>"{\"id\":\"1f443b4a-6523-4068-a330-69d27ee5f6c2\",\"creator\":[],\"title\":[],\"status\":[]}",
"noid_tsi"=>"1f443b4a-6523-4068-a330-69d27ee5f6c2"}
The config/fedora.yml also looks wrong, because it doesn't have a base_path
, but I wouldn't think that should cause the problem you're seeing.
Actually, this looks a lot like @flyingzumwalt's report a few days ago when he had an incorrect fedora.yml: https://github.com/projecthydra/active_fedora/issues/657
Aha. I will give that a shot.
That got me to the batch edit view. Then when I submit that form, I get the following error:
ActiveFedora::ObjectNotFoundError in My::Files#index
Showing /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_list_files.html.erb where line #8 raised:
ActiveFedora::ObjectNotFoundError
Extracted source (around line #8):
8 <% if gf.processing? %>
Trace of template inclusion: /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb, /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_document_list.html.erb, /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/index.html.erb
Rails.root: /home/mjg/workspace/druw
Application Trace | Framework Trace | Full Trace
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:192:in `load_from_fedora'
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:128:in `block (2 levels) in find_each'
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:126:in `each'
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:126:in `block in find_each'
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:166:in `find_in_batches'
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:125:in `find_each'
active-fedora (9.0.0.beta8) lib/active_fedora/relation.rb:60:in `each'
active-fedora (9.0.0.beta8) lib/active_fedora/relation.rb:60:in `to_a'
active-fedora (9.0.0.beta8) lib/active_fedora/relation.rb:60:in `to_a'
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:79:in `find_take'
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:72:in `take'
active-fedora (9.0.0.beta8) lib/active_fedora/associations/singular_association.rb:37:in `find_target'
active-fedora (9.0.0.beta8) lib/active_fedora/associations/association.rb:113:in `load_target'
active-fedora (9.0.0.beta8) lib/active_fedora/associations/association.rb:34:in `reload'
active-fedora (9.0.0.beta8) lib/active_fedora/associations/singular_association.rb:11:in `reader'
active-fedora (9.0.0.beta8) lib/active_fedora/associations/builder/association.rb:63:in `block in define_readers'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/sufia-models/app/models/concerns/sufia/generic_file/batches.rb:22:in `processing?'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_list_files.html.erb:8:in `__home_mjg__rvm_gems_ruby_______druw_bundler_gems_sufia__c_f_a__b____app_views_my__index_partials__list_files_html_erb__1624542620818250722_79997580'
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:143:in `render'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.8) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.6) lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:18:in `block in __home_mjg__rvm_gems_ruby_______druw_bundler_gems_sufia__c_f_a__b____app_views_my__index_partials__default_group_html_erb__443478725639767036_80178480'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:15:in `each'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:15:in `each_with_index'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:15:in `__home_mjg__rvm_gems_ruby_______druw_bundler_gems_sufia__c_f_a__b____app_views_my__index_partials__default_group_html_erb__443478725639767036_80178480'
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:143:in `render'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.8) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.6) lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_document_list.html.erb:3:in `__home_mjg__rvm_gems_ruby_______druw_bundler_gems_sufia__c_f_a__b____app_views_my__document_list_html_erb___869142823707249930_80208800'
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:143:in `render'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.8) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.6) lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
/home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/index.html.erb:34:in `__home_mjg__rvm_gems_ruby_______druw_bundler_gems_sufia__c_f_a__b____app_views_my_index_html_erb___1152309590867659067_82085320'
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.8) lib/action_view/template.rb:143:in `render'
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.8) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.8) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.8) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.8) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.8) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.8) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/mjg/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.8) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.8) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.8) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.8) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.8) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.8) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.8) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.8) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.8) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.8) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.8) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
railties (4.1.8) lib/rails/engine.rb:514:in `call'
railties (4.1.8) lib/rails/railtie.rb:194:in `public_send'
railties (4.1.8) lib/rails/railtie.rb:194:in `method_missing'
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.8) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.8) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.8) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.8) lib/rails/engine.rb:514:in `call'
railties (4.1.8) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
unicorn (4.8.3) lib/unicorn/http_server.rb:576:in `process_client'
unicorn (4.8.3) lib/unicorn/http_server.rb:670:in `worker_loop'
unicorn (4.8.3) lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
unicorn (4.8.3) lib/unicorn/http_server.rb:140:in `start'
...
I'll poke around in the console when I get some time to dig deeper...
Can you confirm that the GF has been saved? On Dec 22, 2014 9:11 AM, "Michael J. Giarlo" notifications@github.com wrote:
That got me to the batch edit view. Then when I submit that form, I get the following error:
ActiveFedora::ObjectNotFoundError in My::Files#index
Showing /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_list_files.html.erb where line #8 raised:
ActiveFedora::ObjectNotFoundError
Extracted source (around line #8): 8 <% if gf.processing? %>
Trace of template inclusion: /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb, /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_document_list.html.erb, /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/index.html.erb
Rails.root: /home/mjg/workspace/druw
Application Trace | Framework Trace | Full Trace
active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:192:in
load_from_fedora' active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:128:in
block (2 levels) in find_each' active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:126:ineach' active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:126:in
block in find_each' active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:166:infind_in_batches' active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:125:in
find_each' active-fedora (9.0.0.beta8) lib/active_fedora/relation.rb:60:ineach' active-fedora (9.0.0.beta8) lib/active_fedora/relation.rb:60:in
to_a' active-fedora (9.0.0.beta8) lib/active_fedora/relation.rb:60:into_a' active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:79:in
find_take' active-fedora (9.0.0.beta8) lib/active_fedora/relation/finder_methods.rb:72:intake' active-fedora (9.0.0.beta8) lib/active_fedora/associations/singular_association.rb:37:in
find_target' active-fedora (9.0.0.beta8) lib/active_fedora/associations/association.rb:113:inload_target' active-fedora (9.0.0.beta8) lib/active_fedora/associations/association.rb:34:in
reload' active-fedora (9.0.0.beta8) lib/active_fedora/associations/singular_association.rb:11:inreader' active-fedora (9.0.0.beta8) lib/active_fedora/associations/builder/association.rb:63:in
block in define_readers' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/sufia-models/app/models/concerns/sufia/generic_file/batches.rb:22:inprocessing?' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_list_files.html.erb:8:in
home_mjg__rvm_gemsruby____druw_bundler_gems_sufiac_f_ab__app_views_myindex_partialslist_files_html_erb1624542620818250722_79997580' actionview (4.1.8) lib/action_view/template.rb:145:inblock in render' activesupport (4.1.8) lib/active_support/notifications.rb:161:in
instrument' actionview (4.1.8) lib/action_view/template.rb:339:ininstrument' actionview (4.1.8) lib/action_view/template.rb:143:in
render' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:306:inrender_partial' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:279:in
block in render' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:inblock in instrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:in
block in instrument' activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:in
instrument' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:278:in
render' actionview (4.1.8) lib/action_view/renderer/renderer.rb:47:inrender_partial' actionview (4.1.8) lib/action_view/renderer/renderer.rb:21:in
render' actionview (4.1.8) lib/action_view/helpers/rendering_helper.rb:32:inrender' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:12:in
render_with_haml' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:18:in `block in home_mjgrvm_gems_ruby_____druw_bundler_gems_sufiac_f_ab__app_views_myindex_partials__default_group_html_erb443478725639767036_80178480' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:15:ineach' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:15:in
each_with_index' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_index_partials/_default_group.html.erb:15:in__home_mjg__rvm_gems_ruby_______druw_bundler_gems_sufia__c_f_a__b____app_views_my__index_partials__default_group_html_erb__443478725639767036_80178480' actionview (4.1.8) lib/action_view/template.rb:145:in
block in render' activesupport (4.1.8) lib/active_support/notifications.rb:161:ininstrument' actionview (4.1.8) lib/action_view/template.rb:339:in
instrument' actionview (4.1.8) lib/action_view/template.rb:143:inrender' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:306:in
render_partial' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:279:inblock in render' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in
block in instrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:inblock in instrument' activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in
instrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:ininstrument' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in
instrument' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:278:inrender' actionview (4.1.8) lib/action_view/renderer/renderer.rb:47:in
render_partial' actionview (4.1.8) lib/action_view/renderer/renderer.rb:21:inrender' actionview (4.1.8) lib/action_view/helpers/rendering_helper.rb:32:in
render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:12:inrender_with_haml' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/_document_list.html.erb:3:in
home_mjg__rvm_gemsruby____druw_bundler_gems_sufiac_f_ab__app_views_mydocument_list_html_erb_869142823707249930_80208800' actionview (4.1.8) lib/action_view/template.rb:145:inblock in render' activesupport (4.1.8) lib/active_support/notifications.rb:161:in
instrument' actionview (4.1.8) lib/action_view/template.rb:339:ininstrument' actionview (4.1.8) lib/action_view/template.rb:143:in
render' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:306:inrender_partial' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:279:in
block in render' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:inblock in instrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:in
block in instrument' activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:in
instrument' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument' actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:278:in
render' actionview (4.1.8) lib/action_view/renderer/renderer.rb:47:inrender_partial' actionview (4.1.8) lib/action_view/renderer/renderer.rb:21:in
render' actionview (4.1.8) lib/action_view/helpers/rendering_helper.rb:32:inrender' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:12:in
render_with_haml' /home/mjg/.rvm/gems/ruby-2.1.5@druw/bundler/gems/sufia-6c2f1a08b768/app/views/my/index.html.erb:34:in`__home_mjgrvm_gems_ruby_____druw_bundler_gems_sufiac_f_ab__app_views_my_index_html_erb___1152309590867659067_82085320' actionview (4.1.8) lib/action_view/template.rb:145:inblock in render' activesupport (4.1.8) lib/active_support/notifications.rb:161:in
instrument' actionview (4.1.8) lib/action_view/template.rb:339:ininstrument' actionview (4.1.8) lib/action_view/template.rb:143:in
render' actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:55:inblock (2 levels) in render_template' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in
block in instrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:inblock in instrument' activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in
instrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:ininstrument' actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in
instrument' actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:54:inblock in render_template' actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:62:in
render_with_layout' actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:53:inrender_template' actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:17:in
render' actionview (4.1.8) lib/action_view/renderer/renderer.rb:42:inrender_template' actionview (4.1.8) lib/action_view/renderer/renderer.rb:23:in
render' actionview (4.1.8) lib/action_view/rendering.rb:99:in_render_template' actionpack (4.1.8) lib/action_controller/metal/streaming.rb:217:in
_render_template' actionview (4.1.8) lib/action_view/rendering.rb:82:inrender_to_body' actionpack (4.1.8) lib/action_controller/metal/rendering.rb:32:in
render_to_body' actionpack (4.1.8) lib/action_controller/metal/renderers.rb:32:inrender_to_body' actionpack (4.1.8) lib/abstract_controller/rendering.rb:25:in
render' actionpack (4.1.8) lib/action_controller/metal/rendering.rb:16:inrender' actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in
block (2 levels) in render' activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:inblock in ms' /home/mjg/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in
realtime' activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:inms' actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in
block in render' actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:84:incleanup_view_runtime' activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:25:in
cleanup_view_runtime' actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:40:inrender' actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:10:in
default_render' actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:5:insend_action' actionpack (4.1.8) lib/abstract_controller/base.rb:189:in
process_action' actionpack (4.1.8) lib/action_controller/metal/rendering.rb:10:inprocess_action' actionpack (4.1.8) lib/abstract_controller/callbacks.rb:20:in
block in process_action' activesupport (4.1.8) lib/active_support/callbacks.rb:113:incall' activesupport (4.1.8) lib/active_support/callbacks.rb:113:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:149:inblock in halting_and_conditional' activesupport (4.1.8) lib/active_support/callbacks.rb:149:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:149:inblock in halting_and_conditional' activesupport (4.1.8) lib/active_support/callbacks.rb:149:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:149:inblock in halting_and_conditional' activesupport (4.1.8) lib/active_support/callbacks.rb:166:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:166:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:149:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:149:inblock in halting_and_conditional' activesupport (4.1.8) lib/active_support/callbacks.rb:149:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:149:inblock in halting_and_conditional' activesupport (4.1.8) lib/active_support/callbacks.rb:149:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:149:inblock in halting_and_conditional' activesupport (4.1.8) lib/active_support/callbacks.rb:229:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:229:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:166:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:166:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:229:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:229:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:229:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:229:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:166:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:166:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:166:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:166:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:166:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:166:inblock in halting' activesupport (4.1.8) lib/active_support/callbacks.rb:86:in
call' activesupport (4.1.8) lib/active_support/callbacks.rb:86:inrun_callbacks' actionpack (4.1.8) lib/abstract_controller/callbacks.rb:19:in
process_action' actionpack (4.1.8) lib/action_controller/metal/rescue.rb:29:inprocess_action' actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:31:in
block in process_action' activesupport (4.1.8) lib/active_support/notifications.rb:159:inblock in instrument' activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in
instrument' activesupport (4.1.8) lib/active_support/notifications.rb:159:ininstrument' actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:30:in
process_action' actionpack (4.1.8) lib/action_controller/metal/params_wrapper.rb:250:inprocess_action' activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:18:in
process_action' actionpack (4.1.8) lib/abstract_controller/base.rb:136:inprocess' actionview (4.1.8) lib/action_view/rendering.rb:30:in
process' actionpack (4.1.8) lib/action_controller/metal.rb:196:indispatch' actionpack (4.1.8) lib/action_controller/metal/rack_delegation.rb:13:in
dispatch' actionpack (4.1.8) lib/action_controller/metal.rb:232:inblock in action' actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in
call' actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:indispatch' actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:50:in
call' actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:inblock in call' actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in
each' actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:incall' actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in
call' railties (4.1.8) lib/rails/engine.rb:514:incall' railties (4.1.8) lib/rails/railtie.rb:194:in
public_send' railties (4.1.8) lib/rails/railtie.rb:194:inmethod_missing' actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in
block in call' actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:ineach' actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in
call' actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:incall' warden (1.2.3) lib/warden/manager.rb:35:in
block in call' warden (1.2.3) lib/warden/manager.rb:34:incatch' warden (1.2.3) lib/warden/manager.rb:34:in
call' rack (1.5.2) lib/rack/etag.rb:23:incall' rack (1.5.2) lib/rack/conditionalget.rb:25:in
call' rack (1.5.2) lib/rack/head.rb:11:incall' actionpack (4.1.8) lib/action_dispatch/middleware/params_parser.rb:27:in
call' actionpack (4.1.8) lib/action_dispatch/middleware/flash.rb:254:incall' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in
context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:incall' actionpack (4.1.8) lib/action_dispatch/middleware/cookies.rb:560:in
call' activerecord (4.1.8) lib/active_record/query_cache.rb:36:incall' activerecord (4.1.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in
call' activerecord (4.1.8) lib/active_record/migration.rb:380:incall' actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:29:in
block in call' activesupport (4.1.8) lib/active_support/callbacks.rb:82:inrun_callbacks' actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:27:in
call' actionpack (4.1.8) lib/action_dispatch/middleware/reloader.rb:73:incall' actionpack (4.1.8) lib/action_dispatch/middleware/remote_ip.rb:76:in
call' actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:incall' actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in
call' railties (4.1.8) lib/rails/rack/logger.rb:38:incall_app' railties (4.1.8) lib/rails/rack/logger.rb:20:in
block in call' activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:inblock in tagged' activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in
tagged' activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:intagged' railties (4.1.8) lib/rails/rack/logger.rb:20:in
call' actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:incall' rack (1.5.2) lib/rack/methodoverride.rb:21:in
call' rack (1.5.2) lib/rack/runtime.rb:17:incall' activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in
call' rack (1.5.2) lib/rack/lock.rb:17:incall' actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in
call' rack (1.5.2) lib/rack/sendfile.rb:112:incall' railties (4.1.8) lib/rails/engine.rb:514:in
call' railties (4.1.8) lib/rails/application.rb:144:incall' rack (1.5.2) lib/rack/content_length.rb:14:in
call' unicorn (4.8.3) lib/unicorn/http_server.rb:576:inprocess_client' unicorn (4.8.3) lib/unicorn/http_server.rb:670:in
worker_loop' unicorn (4.8.3) lib/unicorn/http_server.rb:525:inspawn_missing_workers' unicorn (4.8.3) lib/unicorn/http_server.rb:140:in
start' ...Not happy with the processing? method.
Reply to this email directly or view it on GitHub https://github.com/projecthydra/sufia/issues/802#issuecomment-67862665.
I'm going to clean out my environment and give this another shot.
Cleaning out my environment fixed it right up. Thanks!
Using a greenfield Rails app based on Sufia 6.0.0.beta1, I am able to sign up for an account, log in, and upload a file, but immediately after upload there is a traceback at the
http://localhost:3000/batches/ebea1af9-885b-43f3-89e3-ebd2a2175c57/edit
URI:Did I miss a setup step, or is v6.0.0.beta1 busted?