Just as an update... removed ts all along, cleaned everything up and re-added it.. no change. then went along and installed the ginger and not-a-mock gem .. just to make sure there aren't any dependencies etc that are not met... no change. Removed the 'define_index do ...' declarations in the two models I am indexing... no change.
rake ts:config etc just won't run :-/ These two models do however have a couple plugins (acts_as_...*) declarations in them. Is it possible that ts/riddle have a problem with those somehow? -J On Dec 28, 7:40 pm, Jörg Battermann <[email protected]> wrote: > Uhm... nope, didn't work: added a migration, changed column-type to > datetime, re-run rake ts:config.. same error :-/ > > On Dec 28, 7:28 pm, "Alex Caudill" <[email protected]> wrote: > > > > > Hey Jörg, > > > Please see: > > >http://groups.google.com/group/thinking-sphinx/browse_thread/thread/f... > > > Are you using DATE (as opposed to DATETIME) fields in your schema? > > I'll try and figure > > out what's causing the problem this afternoon, but personally I just > > switched to using > > DATETIME and the latest version is working fine for me. > > > On Sun, Dec 28, 2008 at 11:48 AM, Jörg Battermann > > > <[email protected]> wrote: > > > > Pat, > > > > I just pulled that latest version, and now rake ts:config fails with > > > the following backtrace: > > > > ** Invoke ts:config (first_time) > > > ** Invoke thinking_sphinx:configure (first_time) > > > ** Invoke thinking_sphinx:app_env (first_time) > > > ** Execute thinking_sphinx:app_env > > > ** Invoke environment (first_time) > > > ** Execute environment > > > ** Execute thinking_sphinx:configure > > > Generating Configuration to /Users/joerg/Development/abc/config/ > > > development.sphinx.conf > > > rake aborted! > > > nil is not a symbol > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/index.rb:417:in `send' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/index.rb:417:in `set_source_attributes' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/index.rb:416:in `each' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/index.rb:416:in `set_source_attributes' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/index.rb:64:in `to_riddle_for_core' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/active_record.rb:153:in `to_riddle_for_core' > > > /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ > > > base.rb:1907:in `each_with_index' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/active_record.rb:150:in `each' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/active_record.rb:150:in `each_with_index' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/active_record.rb:150:in `to_riddle_for_core' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/active_record.rb:126:in `to_riddle' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/configuration.rb:125:in `build' > > > /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > > `each_with_index' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/configuration.rb:124:in `each' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/configuration.rb:124:in `each_with_index' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > lib/thinking_sphinx/configuration.rb:124:in `build' > > > /Users/joerg/Development/genderwi.se/vendor/plugins/thinking-sphinx/ > > > tasks/thinking_sphinx_tasks.rb:52 > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in > > > `execute' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in > > > `execute' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in > > > `invoke_with_call_chain' > > > /opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in > > > `invoke_with_call_chain' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in > > > `invoke_prerequisites' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in > > > `invoke_prerequisites' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in > > > `invoke_with_call_chain' > > > /opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in > > > `invoke_with_call_chain' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in > > > `invoke' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in > > > `invoke_task' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > > > `top_level' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > > > `each' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > > > `top_level' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > > > `standard_exception_handling' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in > > > `top_level' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > > > `standard_exception_handling' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' > > > /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 > > > /opt/local/bin/rake:19:in `load' > > > /opt/local/bin/rake:19 > > > > Is there anything I need to do to use this new version over the last > > > version? > > > > -J > > > > On Dec 28, 10:52 am, Pat Allan <[email protected]> wrote: > > >> Hi all > > > >> Just a note to say that I just pushed a new version of Thinking Sphinx > > >> that has been sitting around for a while in a branch on my machine. > > >> I've finally had the time to get it to a point where I'm happy with it. > > > >> So, what does this mean? Nothing, if you've not contributed to > > >> Thinking Sphinx - it's just business as usual. > > > >> However, if you have, please note that there's now cucumber features > > >> which can run on mysql and postgres (features:mysql and > > >> features:postgresql, accordingly), and so anything that requires a > > >> live Sphinx setup to search upon should be tested there, not in the > > >> specs. > > > >> I've also done a fair bit of restructuring under the hood to use the > > >> new version of Riddle (which now manages a lot more Sphinx-related > > >> stuff), so there's quite a few patches out there that I can't easily > > >> apply. I will still try to, but if you want to rewrite the patches, I > > >> won't complain ;) > > > >> Cheers > > > >> -- > > >> Pat > > >> e: [email protected] || m: +614 1327 3337 > > >> w:http://freelancing-gods.com|| t: twitter.com/pat > > >> discworld:http://ausdwcon.org|| skype: patallan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
