Sorry to butt in but I just got this error and was wondering if it had been 
resolved?

On Wednesday, February 6, 2013 9:25:10 AM UTC-8, Melissa wrote:
>
> Hi Pat,
>
> Yes, maybe that's a good idea. Where can I find your e-mail address? 
> I'll send you a wetransfer link with my code & database.
>
> FYI I've tried reverting back to thinking_sphinx 2.0.14, delayed_job 2.1.4 
> and ts-delayed-delta 1.1.1 and the delayed jobs is still not working 
> correctly with rake jobs:work. The delta column gets updated but no jobs 
> are added to the table. Sound like it's still the exact same problem. 
> Before migrating to rails3 I was on thinking-sphinx 1.4.10, delayed_job 
> 2.0.7 and ts-delayed-delta 1.1.1 with ruby 1.8.7 and rails 2.3.15 
> everything worked perfectly. I don't know if that helps in terms of what's 
> changed.
>
> Another issue I had with the newer version of thinking_sphinx was that it 
> threw an encoding error on the keyword.gsub line in query.rb of 
> thinking_sphinx. It complained about a US-ASCII regexp and a UTF8 string. 
> By going back a few versions I now don't have this issue anymore.
>
> Let me know how to get my code to you!
>
> Best,
> Melissa
>
>
> Op maandag 4 februari 2013 01:41:09 UTC+1 schreef Pat Allan het volgende:
>>
>> I don't suppose it's possible to get access to your app's source so I can 
>> debug more directly?
>>
>> On 04/02/2013, at 10:28 AM, Melissa wrote:
>>
>> > Yes. That's correct.
>> > 
>> > Melissa
>> > 
>> > Op zondag 3 februari 2013 23:58:52 UTC+1 schreef Pat Allan het volgende:
>> > Hi Melissa
>> > Just to confirm - the new records have their delta column set to true?
>> > 
>> > -- 
>> > Pat
>> > 
>> > On 04/02/2013, at 8:06 AM, Melissa wrote:
>> > 
>> > > Thanks! This helps, in so far that it gets the task started. It now 
>> says "Starting job worker". Progress! :)
>> > > But, when I add a record to the database it doesn't actually add a 
>> delayed_jobs entry. So nothing gets processed and the index isn't updated.
>> > > It doesn't complain. It just keeps running.
>> > > 
>> > > Any ideas?
>> > > 
>> > > Melissa
>> > > 
>> > > 
>> > > Op zaterdag 2 februari 2013 01:18:29 UTC+1 schreef Pat Allan het 
>> volgende:
>> > > Ah, I should have clued into this sooner, sorry. One thing I've done 
>> with the edge branch is removed that task, as it's just the same as what 
>> Delayed Job provides with their own rake task anyway. So, just use their 
>> task :)
>> > >   rake jobs:work
>> > > 
>> > > As for the index definition, there isn't a :delayed shortcut, so you 
>> need to refer to the class directly:
>> > > 
>> > >   ThinkingSphinx::Index.define :mymodel, :with => :active_record, 
>> :delta => ThinkingSphinx::Deltas::DelayedDelta do
>> > > 
>> > > Cheers
>> > > 
>> > > -- 
>> > > Pat
>> > > 
>> > > On 01/02/2013, at 10:49 AM, Melissa wrote:
>> > > 
>> > > > Thanks. :)
>> > > > 
>> > > > I upgraded and am now on:
>> > > > delayed_job (3.0.5)
>> > > > ts-delayed-delta (2.0.0.pre)
>> > > > 
>> > > > also, didn't mention before: mysql2 0.3.12b4
>> > > > 
>> > > > However, the error remains, but now it says 
>> > > > Don't know how to build task 'ts:dd', with the same trace.
>> > > > 
>> > > > A question, is 'set_property :delta => :delayed' still used in the 
>> new define block?
>> > > > 
>> > > > And it seems I have to say:
>> > > > ThinkingSphinx::Index.define :mymodel, :with => :active_record, 
>> :delta => true do
>> > > > and not:
>> > > > ThinkingSphinx::Index.define :mymodel, :with => :active_record, 
>> :delta => delayed do
>> > > > Is that correct?
>> > > > 
>> > > > Melissa
>> > > > 
>> > > > Op donderdag 31 januari 2013 18:21:44 UTC+1 schreef Melissa het 
>> volgende:
>> > > > 
>> > > > Since upgrading from Rails 2 to Rails 3 I haven't been able to get 
>> delayed deltas to work, and I wonder if there is some incompatibility with 
>> the different gems I'm using:
>> > > > rails 3.2.11
>> > > > ts-delayed-delta 1.1.3
>> > > > delayed_job 2.1.4
>> > > > 
>> > > > Thinking Sphinx can rebuild and start. 
>> > > > It's just the delayed delta that's being difficult.
>> > > > 
>> > > > This is what the error looks like:
>> > > > 
>> > > > Don't know how to build task 'app_env'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task_manager.rb:49:in
>>  
>> `[]'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:60:in
>>  
>> `lookup_prerequisite'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:56:in
>>  
>> `block in prerequisite_tasks'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:56:in
>>  
>> `collect'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:56:in
>>  
>> `prerequisite_tasks'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:185:in
>>  
>> `invoke_prerequisites'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:165:in
>>  
>> `block in invoke_with_call_chain'
>> > > > 
>> /Users/myfolder/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/monitor.rb:211:in 
>> `mon_synchronize'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:159:in
>>  
>> `invoke_with_call_chain'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:187:in
>>  
>> `block in invoke_prerequisites'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:185:in
>>  
>> `each'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:185:in
>>  
>> `invoke_prerequisites'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:165:in
>>  
>> `block in invoke_with_call_chain'
>> > > > 
>> /Users/myfolder/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/monitor.rb:211:in 
>> `mon_synchronize'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:159:in
>>  
>> `invoke_with_call_chain'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/task.rb:152:in
>>  
>> `invoke'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:143:in
>>  
>> `invoke_task'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:101:in
>>  
>> `block (2 levels) in top_level'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:101:in
>>  
>> `each'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:101:in
>>  
>> `block in top_level'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:110:in
>>  
>> `run_with_threads'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:95:in
>>  
>> `top_level'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:73:in
>>  
>> `block in run'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:160:in
>>  
>> `standard_exception_handling'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/lib/rake/application.rb:70:in
>>  
>> `run'
>> > > > 
>> /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/gems/rake-10.0.3/bin/rake:33:in 
>> `<top (required)>'
>> > > > /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/bin/rake:23:in `load'
>> > > > /Users/myfolder/.rvm/gems/ruby-1.9.3-p374/bin/rake:23:in `<main>'
>> > > > Tasks: TOP => ts:dd => thinking_sphinx:delayed_delta
>> > > > 
>> > > > Any insights would be much appreciated!
>> > > > 
>> > > > Melissa
>> > > > 
>> > > > -- 
>> > > > You received this message because you are subscribed to the Google 
>> Groups "Thinking Sphinx" group.
>> > > > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to [email protected].
>> > > > To post to this group, send email to [email protected].
>> > > > Visit this group at 
>> http://groups.google.com/group/thinking-sphinx?hl=en.
>> > > > For more options, visit https://groups.google.com/groups/opt_out.
>> > > >  
>> > > >  
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > -- 
>> > > You received this message because you are subscribed to the Google 
>> Groups "Thinking Sphinx" group.
>> > > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to [email protected].
>> > > To post to this group, send email to [email protected].
>> > > Visit this group at 
>> http://groups.google.com/group/thinking-sphinx?hl=en.
>> > > For more options, visit https://groups.google.com/groups/opt_out.
>> > >  
>> > >  
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "Thinking Sphinx" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to [email protected].
>> > To post to this group, send email to [email protected].
>> > Visit this group at 
>> http://groups.google.com/group/thinking-sphinx?hl=en.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>> >  
>> >  
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to