Just committed that fix to Riddle, thanks. Not really sure why this problem is occurring otherwise - although it's worth noting that TS doesn't yet use SphinxQL, so maybe that's not the best way to test it. Are you making any changes to sphinx.yml to get the mysql41 in the configuration file?
Also, what's the output of the following - or rather, do the values match the expected settings? ThinkingSphinx::Search.new.client.port ThinkingSphinx::Search.new.client.server Cheers -- Pat On 04/10/2011, at 8:43 AM, gonzoprosperity wrote: > I am in the process of moving from a local searchd process (on same > box as the Rails app) to its own machine. > > I have Sphinx 2.0.1-beta running on the new box and can query it via > SphinxQL from the Rails box. > > However, when I update sphinx.yml "address" and "port" to point to the > sphinx box and then attempt to issue queries I get: > > NameError: uninitialized constant Riddle::Client::TcpSocket > > I looked in the Riddle gem and in $RIDDLE_GEM/lib/client.rb - > request() line 643 > > I see this line: > > break if part.length == 0 && socket.is_a?(TcpSocket) > > I think this is supposed to be "TCPSocket" which is part of the Ruby > standard lib (?) > > When I add > > require 'socket' > > and change that line to > > break if part.length == 0 && socket.is_a?(TCPSocket) > > And then try a search I get > > Riddle::ResponseError: No response from searchd (status: 2610, > version: 11824) > > Like I said, I *am* able to connect to my Sphinx box via telnet or the > mysql command line and issue straight SphinxQL queries - so the box is > available on the network and accessible. > > On top of this: whats the deal with the TcpSocket => TCPSocket stuff? > > -- > 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. > -- 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.
