Hello all,

I have a problem with my search using geo information. It was working
a while back but now is tossing an error, even with old unchanged
code. Can anyone possibly offer some advice why I would keep getting
the following error when trying to pass geo data?

NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.bytesize
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/../vendor/riddle/lib/riddle/client/message.rb:21:in `send'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/../vendor/riddle/lib/riddle/client/message.rb:21:in
`append_string'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/../vendor/riddle/lib/riddle/client.rb:531:in
`query_message'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/../vendor/riddle/lib/riddle/client.rb:286:in `query'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/thinking_sphinx/search.rb:203:in `populate'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/thinking_sphinx/search.rb:279:in `call'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/thinking_sphinx/search.rb:279:in `retry_on_stale_index'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/thinking_sphinx/search.rb:200:in `populate'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/vendor/plugins/thinking-
sphinx/lib/thinking_sphinx/search.rb:149:in `total_entries'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/app/models/place.rb:65:in
`search'
        from /Users/Bryan/Sites/rubyapps/pc_3.0/app/models/place.rb:44:in
`search_nearby'
        from (irb):94

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to