Hello Pat,
Thanks for your help! Everything is fine now. My problem was due to a bug in
one of my "define_index" block. I think it is interesting to note what
happened :
define_index do
indexes :title
set_property :enable_star => 1
set_property :min_prefix_len => 3
set_property :delta => :delayed
has :published, :title
end
For some reasons I had put the column "title" (string) in my attribute list.
Running rake ts:rebuild wouldn't produce any error, but now everytime
delayed_job would try to process a job, the rake task would crash with the
following error :
"rake aborted!
Job failed to load: uninitialized constant ThinkingSphinx::Deltas::DeltaJob.
Try to manually require the required file."
Removing :title from the "has" method and running rake ts:conf then rake
ts:rebuild fixed it so I'm happy now.
Thanks again for your help!
François
On Tue, Dec 1, 2009 at 7:48 PM, Pat Allan <[email protected]> wrote:
> And on that note, I was able to reproduce your problem - ts-delayed-
> delta 1.0.2 should fix it. Let me know if I'm mistaken :)
>
> --
> Pat
>
> On 02/12/2009, at 11:24 AM, Pat Allan wrote:
>
> > Sorry for mispelling your name Francois :|
> >
> > --
> > Pat
> >
> > On 02/12/2009, at 11:19 AM, Pat Allan wrote:
> >
> >> Hi Francis
> >>
> >> What does your gem list look like in environment.rb?
> >>
> >> --
> >> Pat
> >>
> >> On 02/12/2009, at 2:06 AM, Francois Lamontagne wrote:
> >>
> >>> Hello,
> >>>
> >>> I'm getting the error "Job failed to load: uninitialized constant
> >>> ThinkingSphinx::Deltas::DeltaJob. Try to manually require the
> >>> required file." each time delayed_job tries to deserialize a job. Do
> >>> you have any idea?
> >>>
> >>> I'm using:
> >>>
> >>> thinking sphinx (gem) : 1.3.8
> >>> ts-delayed-delta (gem) : 1.0.1
> >>> delayed_job (gem) : 1.8.4
> >>>
> >>> --
> >>>
> >>> You received this message because you are subscribed to the Google
> >>> Groups "Thinking Sphinx" group.
> >>> To post to this group, send email to thinking-
> >>> [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 thinking-
> >> [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.