Hi there - i’m looking for anyone who 's experienced inconsistent
behaviour in ferret:
The search engine is somewhat temperamental, some words are returned,
and some result in a 500 server error…
the error in the log is as follows:. (this is straight off the
production log:
** What’s confusing, is that the engine does return some results, but
not always… I know some words exist in the database, and I have also
reset the ferret server.
Processing BuddiesController#search (for 86.150.12.191 at 2010-01-23
18:06:44) [GET]
Parameters: {“q”=>“craig”}
NoMethodError (undefined method info' for nil:NilClass): app/controllers/buddies_controller.rb:55:in
search’
app/controllers/buddies_controller.rb:55:in search' /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in
process_request’
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:
207:in main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb: 385:in
start_request_handler’
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:
343:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in
safe_fork’
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:
341:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
send’
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
start_synchronously’
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in
start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb: 209:in
start’
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in
spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb: 126:in
lookup_or_add’
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in
spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb: 80:in
synchronize’
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:
79:in synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in
spawn_rails_application’
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in
spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in
handle_spawn_application’
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
main_loop’
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
`start_synchronously’
/usr/lib/phusion_passenger/passenger-spawn-server:61
Rendering /srv/pistebuddies.com/public/public/500.html (500 Internal
Server Error)
Any ideas?
Many Thanks