Skip to content

Instantly share code, notes, and snippets.

@awead
Created March 6, 2015 17:06
Show Gist options
  • Save awead/0a80709e963baedf7614 to your computer and use it in GitHub Desktop.
Save awead/0a80709e963baedf7614 to your computer and use it in GitHub Desktop.
Sufia fails
EPRECATION WARNING: solr_search_params_logic is deprecated and will be removed from blacklight 6.0 (use search_params_logic instead). (called from block in <module:ParseBasicQ> at /Users/awead/.gem/ruby/2.1.5/gems/blacklight_advanced_search-5.1.2/lib/blacklight_advanced_search/parse_basic_q.rb:18)
DEPRECATION WARNING: solr_search_params_logic= is deprecated and will be removed from blacklight 6.0 (use search_params_logic= instead). (called from block in <module:ParseBasicQ> at /Users/awead/.gem/ruby/2.1.5/gems/blacklight_advanced_search-5.1.2/lib/blacklight_advanced_search/parse_basic_q.rb:18)
DEPRECATION WARNING: solr_search_params_logic is deprecated and will be removed from blacklight 6.0 (use search_params_logic instead). (called from block in <module:Catalog> at /Users/awead/Projects/Github/projecthydra/sufia/app/controllers/concerns/sufia/catalog.rb:5)
DEPRECATION WARNING: solr_search_params_logic= is deprecated and will be removed from blacklight 6.0 (use search_params_logic= instead). (called from block in <module:Catalog> at /Users/awead/Projects/Github/projecthydra/sufia/app/controllers/concerns/sufia/catalog.rb:5)
DEPRECATION WARNING: solr_search_params_logic is deprecated and will be removed from blacklight 6.0 (use search_params_logic instead). (called from <class:CatalogController> at /Users/awead/Projects/Github/projecthydra/sufia/spec/internal/app/controllers/catalog_controller.rb:20)
DEPRECATION WARNING: solr_search_params_logic= is deprecated and will be removed from blacklight 6.0 (use search_params_logic= instead). (called from <class:CatalogController> at /Users/awead/Projects/Github/projecthydra/sufia/spec/internal/app/controllers/catalog_controller.rb:20)
DEPRECATION WARNING: solr_search_params_logic is deprecated and will be removed from blacklight 6.0 (use search_params_logic instead). (called from block in <module:Controller> at /Users/awead/.gem/ruby/2.1.5/gems/blacklight_advanced_search-5.1.2/lib/blacklight_advanced_search/controller.rb:18)
DEPRECATION WARNING: solr_search_params_logic= is deprecated and will be removed from blacklight 6.0 (use search_params_logic= instead). (called from block in <module:Controller> at /Users/awead/.gem/ruby/2.1.5/gems/blacklight_advanced_search-5.1.2/lib/blacklight_advanced_search/controller.rb:18)
/Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:430:in `add_route': Invalid route name, already in use: 'root' (ArgumentError)
You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here:
http://guides.rubyonrails.org/routing.html#restricting-the-routes-created
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:1495:in `add_route'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:1472:in `decomposed_match'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:1453:in `block in match'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:1443:in `each'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:1443:in `match'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:340:in `root'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:1514:in `root'
from /Users/awead/Projects/Github/projecthydra/sufia/spec/internal/config/routes.rb:9:in `block in <top (required)>'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:337:in `instance_exec'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:337:in `eval_block'
from /Users/awead/.gem/ruby/2.1.5/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:315:in `draw'
from /Users/awead/Projects/Github/projecthydra/sufia/spec/internal/config/routes.rb:1:in `<top (required)>'
from /Users/awead/.gem/ruby/2.1.5/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `load'
from /Users/awead/.gem/ruby/2.1.5/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `block in load'
from /Users/awead/.gem/ruby/2.1.5/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/awead/.gem/ruby/2.1.5/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `load'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:40:in `each'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:40:in `load_paths'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:16:in `reload!'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:26:in `block in updater'
from /Users/awead/.gem/ruby/2.1.5/gems/activesupport-4.1.8/lib/active_support/file_update_checker.rb:75:in `call'
from /Users/awead/.gem/ruby/2.1.5/gems/activesupport-4.1.8/lib/active_support/file_update_checker.rb:75:in `execute'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:27:in `updater'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application/finisher.rb:71:in `block in <module:Finisher>'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `run'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:in `each'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:in `call'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
from /Users/awead/.rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/awead/.gem/ruby/2.1.5/gems/railties-4.1.8/lib/rails/application.rb:300:in `initialize!'
from /Users/awead/Projects/Github/projecthydra/sufia/spec/internal/config/environment.rb:5:in `<top (required)>'
from /Users/awead/.gem/ruby/2.1.5/gems/engine_cart-0.6.0/lib/engine_cart.rb:43:in `require'
from /Users/awead/.gem/ruby/2.1.5/gems/engine_cart-0.6.0/lib/engine_cart.rb:43:in `load_application!'
from /Users/awead/Projects/Github/projecthydra/sufia/spec/spec_helper.rb:7:in `<top (required)>'
from /Users/awead/Projects/Github/projecthydra/sufia/spec/actors/generic_file/actor_spec.rb:1:in `require'
from /Users/awead/Projects/Github/projecthydra/sufia/spec/actors/generic_file/actor_spec.rb:1:in `<top (required)>'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/configuration.rb:1226:in `load'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/configuration.rb:1226:in `block in load_spec_files'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/configuration.rb:1224:in `each'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/configuration.rb:1224:in `load_spec_files'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/runner.rb:97:in `setup'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/runner.rb:85:in `run'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/runner.rb:70:in `run'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/lib/rspec/core/runner.rb:38:in `invoke'
from /Users/awead/.gem/ruby/2.1.5/gems/rspec-core-3.2.1/exe/rspec:4:in `<top (required)>'
from /Users/awead/.gem/ruby/2.1.5/bin/rspec:23:in `load'
from /Users/awead/.gem/ruby/2.1.5/bin/rspec:23:in `<main>'
@demiankatz
Copy link

Thanks to Dave Lacy, I've discovered that the solution is to pin the Blacklight version in the Gemfile:

gem 'blacklight', '~> 5.9.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment