Hi Pat, sorry for the delay -- yeah I upgraded both cucumber and
sphinx and everything seems ok now -- not too sure what happened
there... sorry for the trouble!

Best,
Aaron

On Apr 10, 10:12 pm, Pat Allan <[email protected]> wrote:
> Hi Aaron
>
> I've just tried setting updates_enabled to false in Thinking Sphinx's  
> feature tests, and didn't get any stack errors. Can you confirm you're  
> running the latest version of TS? line 48 of delta.rb is a method  
> definition in my version, so that's not quite matching up, I think.
>
> Cheers
>
> --
> Pat
>
> On 10/04/2009, at 8:25 AM,agibwrote:
>
>
>
> > In order to run autospec while I run my cucumber features I need two
> > separate test databases so that the tests don't conflict. I decided to
> > create a clone of my test environment called features. I created
> > config/environment/features.rb and copy-pasted test.rb. I added a
> > features database to database.yml and also added a line in sphinx.yml
> > as well. This all works fine (my cucumber features run), except that
> > they're slow because of all the index output. I would love to turn off
> > TS's updates, but for some reason when I add
> > ThinkingSphinx.updates_enabled = false to features.rb I get crazy
> > stack too deep errors:
>
> > stack level too deep (SystemStackError)
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > /Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
> > thinking_sphinx/active_record/delta.rb:48:in
> > `save_without_instrument_19725140!'
> > (eval):3:in `save_without_after_commit_callback!'
> > (eval):2:in `save_without_after_commit_callback!'
> > ...
--~--~---------~--~----~------------~-------~--~----~
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