Updated smoothly and the error is gone. Thanks!

On Mon, Dec 7, 2009 at 4:50 PM, Pat Allan <[email protected]> wrote:
> Hi James
>
> I just installed sphinx to a custom path, and reproduced the issue -
> it looks like Riddle was being a bit too quick to check the version,
> so even though it would later figure it out, the first check it was
> performing fails.
>
> I've just pushed a new version of the Riddle gem (1.0.7) which fixes
> this. Please note, the new Sphinx port is 9312 (as of 0.9.9 proper),
> so if you have any searchd processes running, it's best to stop them
> first before upgrading Riddle.
>
> Cheers
>
> --
> Pat
>
> On 08/12/2009, at 9:33 AM, James Earl wrote:
>
>> Sorry, I double checked and searching and indexing do appear to be
>> working fine despite the Riddle error.
>>
>> script/console
>> Loading development environment (Rails 2.3.5)
>>
>> Riddle cannot detect Sphinx on your machine, and so can't determine
>> which
>> version of Sphinx you are planning on using. Please use one of the
>> following
>> lines after "require 'riddle'" to avoid this warning.
>>
>>  require 'riddle/0.9.8'
>>  # or
>>  require 'riddle/0.9.9'
>>
>>
>>>> ThinkingSphinx::Configuration.instance.bin_path
>> => "/usr/local/bin/"
>>
>> Without /usr/local/bin not in my PATH, and without "/usr/local/bin" in
>> sphinx.yml, then the TS tasks die completely (i.e. searchd command not
>> found...).
>>
>> So basically, the only way for me to get rid of the Riddle error is to
>> add "/usr/local/bin" to my shell PATH.
>>
>> James
>>
>> On Dec 7, 2:27 pm, Pat Allan <[email protected]> wrote:
>>> Hi James
>>>
>>> Searching returns nothing - but doesn't fall over with an error? And
>>> indexing works... but we still see the error message...
>>>
>>> When you're in script/console, what does the following line return:
>>>    ThinkingSphinx::Configuration.instance.bin_path
>>>
>>> --
>>> Pat
>>>
>>> On 08/12/2009, at 5:37 AM, James Earl wrote:
>>>
>>>> You may want to look into it.  I just confirmed that it's not using
>>>> bin_path in sphinx.yml.  rake ts:index completes as normal minus the
>>>> riddle error message.  I get the normal indexing stats, and after
>>>> rm -
>>>> rf db/sphinx/ and re-running rake ts:index it populates db/sphinx/*
>>>> but searching returns nothing.
>>>
>>>> Adding /usr/local/bin to my PATH, and everything works without any
>>>> error messages.
>>>
>>>> James
>>>
>>>> On Dec 5, 3:48 am, Pat Allan <[email protected]> wrote:
>>>>> Hi James
>>>
>>>>> So it wasn't working with bin_path set in sphinx.yml? This should
>>>>> work
>>>>> (and I just tested it), but let me know if I need to investigate
>>>>> further.
>>>
>>>>> Cheers
>>>
>>>>> --
>>>>> Pat
>>>
>>>>> On 05/12/2009, at 2:03 PM, James Earl wrote:
>>>
>>>>>> That's weird... I was already using bin_path in sphinx.yml!
>>>
>>>>>> On Dec 3, 6:07 pm, Pat Allan <[email protected]> wrote:
>>>>>>> If indexer wasn't in your path, I'm surprised it ever worked ;)
>>>>>>> Also, setting bin_path in your sphinx.yml file should set
>>>>>>> Riddle's
>>>>>>> bin_path.
>>>
>>>>>>> Cheers
>>>
>>>>>>> --
>>>>>>> Pat
>>>
>>>>>>> On 04/12/2009, at 4:46 AM, James Earl wrote:
>>>
>>>>>>>> I noticed I was still having this problem.  It was caused by the
>>>>>>>> fact
>>>>>>>> that 'indexer' was not in my PATH.  Another solution is to set
>>>>>>>> Riddle::Controller.bin_path.
>>>
>>>>>>>> James
>>>
>>>>>>>> On Dec 1, 4:57 pm, Pat Allan <[email protected]> wrote:
>>>>>>>>> It seems a few people are having problems with this, but first
>>>>>>>>> things
>>>>>>>>> first, the obvious change:
>>>
>>>>>>>>> switch :lib => 'thinking_sphinx/0.9.8' to just :lib =>
>>>>>>>>> 'thinking_sphinx'
>>>
>>>>>>>>> If that doesn't work, try upgrading to riddle 1.0.5 (if/when
>>>>>>>>> you
>>>>>>>>> do,
>>>>>>>>> it's probably best uninstalling 1.0.4).
>>>
>>>>>> --
>>>
>>>>>> 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 
>>>>>> athttp://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 
>>>> athttp://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
>> .
>>
>>
>
> --
>
> 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.


Reply via email to