Ok, now I'm getting somewhere :) In essence the rake tasks fail for me but
if I do the commands myself they work.

I came across this thread
http://www.sphinxsearch.com/forum/view.html?id=3238 where a Vista guy was
having related problems and I ran

> C:\sphinx\bin\indexer --config
c:/[path/to/project]/config/development.sphinx.conf --all

And that worked and when I went to my project directory and ran the search
you suggested

> searchd --config config/development.sphinx.conf

(both \ and / seem to work) It started the process and the search works.


I still haven't figured out why the rake tasks fail with the
FATAL: config file ''C:/[path/to/project]/config/development.sphinx.conf''
does not exist or is not readable
but I can live with that if I can just get it working properly on the *nix
production server (which should be easier).


Thanks a bunch for your fast feedback Pat, it's impressive to see all the
effort you put into this.


Best Regards,

Michael Carøe Andersen
http://blogging.gelle.dk


On 12 May 2010 09:09, Pat Allan <[email protected]> wrote:

> Or even (allowing for Windows file paths):
>   searchd --config config\development.sphinx.conf
>
> --
> Pat
>
> On 12/05/2010, at 6:08 PM, Pat Allan wrote:
>
> > I wonder if it's searchd complaining... what's the output of the
> following:
> >  searchd --config config/development.sphinx.conf
> >
> > --
> > Pat
> >
> > On 12/05/2010, at 5:37 PM, Michael wrote:
> >
> >>
> >>
> >> On 12 May 2010 08:09, Pat Allan <[email protected]> wrote:
> >> Ah, I'd forgotten index does its own conf file generating, it doesn't
> call the configure rake task... I wanted to make sure the error was in
> writing the file instead of reading it.
> >>
> >> Ah I see. If I run ts:config it creates the file or overwrites the
> existing one. The same happens if I run ts:index.
> >>
> >> So, two things: what happens when you delete (or maybe just rename) the
> existing conf file?
> >>
> >> If I delete the file it just creates a new .conf file when I run
> ts:index.
> >>
> >> And what's the stack trace from the rake task? Seems it's missing from
> the output below.
> >>
> >> What is in the previous email is all that comes with the --trace option,
> there are no stack trace. Only other log information is this in my
> /log/development.log when I run ts:index I get;
> >>
> >>   [4;36;1mSQL (0.0ms) [0m   [0;1mSET NAMES 'utf8' [0m
> >>   [4;35;1mSQL (0.0ms) [0m   [0mSET SQL_AUTO_IS_NULL=0 [0m
> >>   [4;36;1mSQL (0.0ms) [0m   [0;1mSHOW TABLES [0m
> >>   [4;35;1mIngredient Columns (4.0ms) [0m   [0mSHOW FIELDS FROM
> `ingredients` [0m
> >>   [4;36;1mSQL (0.0ms) [0m   [0;1mSELECT @@global.sql_mode,
> @@session.sql_mode; [0m
> >>
> >> Cheers
> >>
> >> --
> >> 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]<thinking-sphinx%[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]<thinking-sphinx%[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]<thinking-sphinx%[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