Think I figured it out. I still had the following line in my development.rb:
ThinkingSphinx.suppress_delta_output = true Note: I switched over to delayed deltas; not sure why this would cause the stack to overflow though. So at least for now, the problem is resolved; hopefully nothing else arrises as I continue to test. Thanks for your help. On Jul 2, 10:42 pm, gmoniey <[email protected]> wrote: > Hi Pat, > > Thanks for getting back to me. Dunno why Activesupport was installed > then, must be a dependency somewhere; here is a trace of the gem > installs: > > /> sudo gem install thinking-sphinx ts-delayed-delta > --sourcehttp://gemcutter.org > If you're upgrading, you should read > this:http://freelancing-god.github.com/ts/en/upgrading.html > > Successfully installed riddle-1.0.11 > Successfully installed after_commit-1.0.7 > Successfully installed thinking-sphinx-1.3.18 > Successfully installed activesupport-2.3.8 > Successfully installed delayed_job-2.0.3 > Successfully installed ts-delayed-delta-1.1.0 > 6 gems installed > Installing ri documentation for riddle-1.0.11... > Installing ri documentation for after_commit-1.0.7... > Installing ri documentation for thinking-sphinx-1.3.18... > Installing ri documentation for activesupport-2.3.8... > Installing ri documentation for delayed_job-2.0.3... > Installing ri documentation for ts-delayed-delta-1.1.0... > Installing RDoc documentation for riddle-1.0.11... > Installing RDoc documentation for after_commit-1.0.7... > Installing RDoc documentation for thinking-sphinx-1.3.18... > Installing RDoc documentation for activesupport-2.3.8... > Installing RDoc documentation for delayed_job-2.0.3... > Installing RDoc documentation for ts-delayed-delta-1.1.0... > > As for the stack trace, I don't get much detail, the stack trace > starts at script/server and ends with thinking_sphinx. This happens a > few times, and then I get a segmentation fault. > > Fri Jul 02 22:38:02 -0700 2010: Read error: #<SystemStackError: stack > level too deep> > /usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.18/lib/ > thinking_sphinx/active_record.rb:64:in > `reset_subclasses_without_thinking_sphinx' > /usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.18/lib/ > thinking_sphinx/active_record.rb:64:in `reset_subclasses' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/ > action_controller/dispatcher.rb:63:in `cleanup_application' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/ > action_controller/reloader.rb:17:in `close' > /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/ > mongrel.rb:82:in `process' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in > `process_client' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in > `each' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in > `process_client' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > `run' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > `initialize' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > `new' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > `run' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in > `initialize' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in > `new' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in > `run' > /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/ > mongrel.rb:34:in `run' > /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb: > 111 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > script/server:3 > > On Jul 2, 8:49 pm, Pat Allan <[email protected]> wrote: > > > > > TS shouldn't require ActiveSupport 2.3.8... but what's the actual error? > > You've cut it off, only left the stack trace :) > > > -- > > Pat > > > On 03/07/2010, at 12:32 PM, gmoniey wrote: > > > > I've read some tickets on github that this might be related to the way > > > the gems are configured in environment.rb, but mine seem to be > > > correct: > > > > config.gem('thinking-sphinx', :lib => 'thinking_sphinx', :version => > > > '1.3.18') > > > config.gem('ts-delayed-delta', :lib => 'thinking_sphinx/deltas/ > > > delayed_delta', :version => '1.1.0') > > > > On Jul 2, 7:03 pm, gmoniey <[email protected]> wrote: > > >> Hi Pat, > > > >> I'm trying to upgrade from 1.2.11 to the latest version of sphinx. I > > >> followed all the directions on the thinking_sphinx site, and initially > > >> search is working fine. > > > >> I then started loading other pages on my site (which I don't believe > > >> use search at all), and I'm getting the following exception: > > > >> /usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.18/lib/ > > >> thinking_sphinx/active_record.rb:64:in > > >> `reset_subclasses_without_thinking_sphinx' > > >> /usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.18/lib/ > > >> thinking_sphinx/active_record.rb:64:in `reset_subclasses' > > >> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/ > > >> action_controller/dispatcher.rb:63:in `cleanup_application' > > >> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/ > > >> action_controller/reloader.rb:17:in `close' > > >> /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/ > > >> mongrel.rb:82:in `process' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in > > >> `process_client' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in > > >> `each' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in > > >> `process_client' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > > >> `run' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > > >> `initialize' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > > >> `new' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in > > >> `run' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in > > >> `initialize' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in > > >> `new' > > >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in > > >> `run' > > >> /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/ > > >> mongrel.rb:34:in `run' > > >> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb: > > >> 111 > > >> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > >> `gem_original_require' > > >> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > >> `require' > > > >> The only thing I can think of is that I'm using Rails 2.3.4 (and the > > >> same version for all dependencies), but TS requires ActiveSupport > > >> 2.3.8. I will continue to play around, but I was wondering if you had > > >> any ideas? The stack trace doesn't seem to be much help (at least when > > >> it comes to my app). > > > >> Thanks. > > > > -- > > > 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.
