"oh.save"
here is full trace:
ruby-1.9.2-p180 :002 > oh.save
NoMethodError: undefined method `map' for "info:fedora/
afmodel:OralHistory":String
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
lib/solrizer/extractor.rb:39:in `format_node_value'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
lib/solrizer/extractor.rb:21:in `insert_solr_field_value'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:53:in `block (3
levels) in to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `each'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `block (2
levels) in to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in
`each_pair'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in `block in
to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in
`each_pair'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in `to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:876:in `block in to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:874:in `each_value'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:874:in `to_solr'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:935:in `update_index'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
fedora-2.2.0/lib/active_fedora/base.rb:101:in `save'
from (irb):2
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
lib/rails/commands/console.rb:44:in `start'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
lib/rails/commands/console.rb:8:in `start'
from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
> "oh.save" > here is full trace: > ruby-1.9.2-p180 :002 > oh.save > NoMethodError: undefined method `map' for "info:fedora/ > afmodel:OralHistory":String > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/ > lib/solrizer/extractor.rb:39:in `format_node_value' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/ > lib/solrizer/extractor.rb:21:in `insert_solr_field_value' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:53:in `block (3 > levels) in to_solr' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `each' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `block (2 > levels) in to_solr' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in > `each_pair' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in `block in > to_solr' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in > `each_pair' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in `to_solr' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/base.rb:876:in `block in to_solr' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/base.rb:874:in `each_value' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/base.rb:874:in `to_solr' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/base.rb:935:in `update_index' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active- > fedora-2.2.0/lib/active_fedora/base.rb:101:in `save' > from (irb):2 > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/ > lib/rails/commands/console.rb:44:in `start' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/ > lib/rails/commands/console.rb:8:in `start' > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/ > lib/rails/commands.rb:23:in `<top (required)>' > from script/rails:6:in `require' > from script/rails:6:in `<main>'
> -- > You received this message because you are subscribed to the Google Groups "ActiveFedora / Ruby + Fedora Commons" group. > To post to this group, send email to active-fedora@googlegroups.com. > To unsubscribe from this group, send email to active-fedora+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/active-fedora?hl=en.
> > "oh.save"
> > here is full trace:
> > ruby-1.9.2-p180 :002 > oh.save
> > NoMethodError: undefined method `map' for "info:fedora/
> > afmodel:OralHistory":String
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
> > lib/solrizer/extractor.rb:39:in `format_node_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
> > lib/solrizer/extractor.rb:21:in `insert_solr_field_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:53:in `block (3
> > levels) in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `each'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `block (2
> > levels) in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in
> > `each_pair'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in `block in
> > to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in
> > `each_pair'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in `to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:876:in `block in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:874:in `each_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:874:in `to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:935:in `update_index'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:101:in `save'
> > from (irb):2
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands/console.rb:44:in `start'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands/console.rb:8:in `start'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands.rb:23:in `<top (required)>'
> > from script/rails:6:in `require'
> > from script/rails:6:in `<main>'
> > --
> > You received this message because you are subscribed to the Google Groups "ActiveFedora / Ruby + Fedora Commons" group.
> > To post to this group, send email to active-fedora@googlegroups.com.
> > To unsubscribe from this group, send email to active-fedora+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/active-fedora?hl=en.
new tour is also 1.8.7 only.
dependencies error:
Installing linecache (0.43) with native extensions /home/ap/.rvm/
rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:
533:in `rescue in block in build_extensions': ERROR: Failed to build
gem native extension. (Gem::Installer::ExtensionBuildError)
> > "oh.save"
> > here is full trace:
> > ruby-1.9.2-p180 :002 > oh.save
> > NoMethodError: undefined method `map' for "info:fedora/
> > afmodel:OralHistory":String
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
> > lib/solrizer/extractor.rb:39:in `format_node_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
> > lib/solrizer/extractor.rb:21:in `insert_solr_field_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:53:in `block (3
> > levels) in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `each'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `block (2
> > levels) in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in
> > `each_pair'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in `block in
> > to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in
> > `each_pair'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in `to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:876:in `block in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:874:in `each_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:874:in `to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:935:in `update_index'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:101:in `save'
> > from (irb):2
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands/console.rb:44:in `start'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands/console.rb:8:in `start'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands.rb:23:in `<top (required)>'
> > from script/rails:6:in `require'
> > from script/rails:6:in `<main>'
> > --
> > You received this message because you are subscribed to the Google Groups "ActiveFedora / Ruby + Fedora Commons" group.
> > To post to this group, send email to active-fedora@googlegroups.com.
> > To unsubscribe from this group, send email to active-fedora+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/active-fedora?hl=en.
Matt Zumwalt, can you give me a schema.xml for Solr conf for current
version of ActiveFedora?
I tried to use jetty's schema.xml form hydra-jetty/solr/test-core/
conf, but i got 400 responce for it for fedora+solr setup.
From hydra-jetty all goes pretty good, but I want to have fedora+solr
working with activefedora.
> > "oh.save"
> > here is full trace:
> > ruby-1.9.2-p180 :002 > oh.save
> > NoMethodError: undefined method `map' for "info:fedora/
> > afmodel:OralHistory":String
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
> > lib/solrizer/extractor.rb:39:in `format_node_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/solrizer-1.0.4/
> > lib/solrizer/extractor.rb:21:in `insert_solr_field_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:53:in `block (3
> > levels) in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `each'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:52:in `block (2
> > levels) in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in
> > `each_pair'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:51:in `block in
> > to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in
> > `each_pair'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/rels_ext_datastream.rb:49:in `to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:876:in `block in to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:874:in `each_value'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:874:in `to_solr'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:935:in `update_index'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/active-
> > fedora-2.2.0/lib/active_fedora/base.rb:101:in `save'
> > from (irb):2
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands/console.rb:44:in `start'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands/console.rb:8:in `start'
> > from /home/ap/.rvm/gems/ruby-1.9.2-p180@fedora/gems/railties-3.0.7/
> > lib/rails/commands.rb:23:in `<top (required)>'
> > from script/rails:6:in `require'
> > from script/rails:6:in `<main>'
> > --
> > You received this message because you are subscribed to the Google Groups "ActiveFedora / Ruby + Fedora Commons" group.
> > To post to this group, send email to active-fedora@googlegroups.com.
> > To unsubscribe from this group, send email to active-fedora+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/active-fedora?hl=en.