#33 ✓resolved
Brian Michalski

Sphinx Search Bug

Reported by Brian Michalski | October 25th, 2010 @ 03:57 PM

Sphinx doesn't work on the standalone search page like: http://docs.studentsenate.rpi.edu/documents/search?query=senate

Relevant log information:

Processing DocumentsController#search (for 128.113.91.166 at 2010-10-25 15:57:19) [GET]
Parameters: {"query"=>"senate"}

TypeError (wrong argument type String (expected Data)):
/usr/lib/ruby/1.8/yaml.rb:391:in emit' /usr/lib/ruby/1.8/yaml.rb:391:inquick_emit' /usr/lib/ruby/1.8/yaml/rubytypes.rb:107:in to_yaml' /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.20/lib/thinking_sphinx/search.rb:137:insend' /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.20/lib/thinking_sphinx/search.rb:137:in method_missing' app/controllers/documents_controller.rb:38:insearch' passenger (2.2.9) lib/phusion_passenger/rack/request_handler.rb:92:in process_request' passenger (2.2.9) lib/phusion_passenger/abstract_request_handler.rb:207:inmain_loop' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:400:in start_request_handler' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:351:inhandle_spawn_application' passenger (2.2.9) lib/phusion_passenger/utils.rb:184:in safe_fork' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:349:inhandle_spawn_application' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in __send__' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:inmain_loop' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:196:in start_synchronously' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:163:instart' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:209:in start' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:262:inspawn_rails_application' passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:126:in lookup_or_add' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:256:inspawn_rails_application' passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:80:in synchronize' passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:79:insynchronize' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:255:in spawn_rails_application' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:154:inspawn_application' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:287:in handle_spawn_application' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:insend' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in main_loop' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:196:instart_synchronously'

Rendering /var/rails/flagship_docs/public/500.html (500 Internal Server Error

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

http://github.com/wtg/flagship_docs

Shared Ticket Bins

People watching this ticket

Referenced by

Pages