Hi Graham Just to confirm - are you using TS as a gem? From memory, I think if ts-delayed-delta is being used, TS needs to be installed as a gem instead of a plugin.
Beyond that, I'm at a loss as to why this could be happening. I guess, I'd start debugging by editing the delayed job and ts-delayed-delta gems to figure out where it's hanging. Can understand if you don't want to do this, mind you... if you're willing to give me access to the project so I can try reproducing the issue, contact me off-list. Cheers -- Pat On 26/01/2011, at 10:47 PM, Graham Pengelly wrote: > Hi Pat > > Thanks for responding... I'm still stuck with it and was about to > resort to trying to fix it with a hammer :) > > I thought there might be some version issues myself as the latest > delayed_job looked to be only compatible with rails 3 and the ts- > delayed-job gem seemed to pull in the latest version of delayed_job > when dj wasn't installed. So... I installed the earlier, 2.3.* > compatible version of dj. > > My app is currently on: > > Rails 2.3.8 > thinking-sphinx 1.4.1 > ts-delayed-delta 1.1.1 > delayed_job 2.0.4 > > Thanks > > Graham > > > > On Jan 26, 11:20 am, Pat Allan <[email protected]> wrote: >> Hi Graham >> >> This is definitely something odd. What versions of Rails and Delayed Job are >> you using? >> >> -- >> Pat >> >> On 24/01/2011, at 10:02 PM, Graham Pengelly wrote: >> >> >> >> >> >> >> >>> Hi >> >>> I'm attempting to set up delta indexing using delayed_job via the the >>> ts-delayed-delta (1.1.1) gem. The app is happily queuing jobs to the >>> delayed_job table in the db but when I run the ts:dd rake task (or any >>> other method of getting the delayed_job worker running) it hangs after >>> locking the first delta job with the log - >> >>> Starting job worker >>> acquired lock on ThinkingSphinx::Deltas::DeltaJob for policy_delta, >>> policy_delta >> >>> I can create a ThinkingSphinx::Deltas::DeltaJob and then 'perform' it >>> successfully from the console so that works on the machine. The db >>> table is also getting written to as the 'locked_at' and 'locked_by' >>> field are completed. It isn't specifically the policy model causing >>> the problem as I use delta indexing on a couple of other models and >>> they hang after the lock too. >> >>> Any ideas would be gratefully received. >> >>> Thanks in advance >> >>> Graham >> >>> -- >>> 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.
