Ferret 0.9.5

Hi,

I was wondering if the latest version of acts_as_ferret (0.2.2) that is
listed on http://projects.jkraemer.net/acts_as_ferret/ is compatible
with the latest version of Ferret 0.9.5. I noticed that the website
above stated that it was supposed to work with 0.9.4, but I didn’t see
anything about 0.9.5.

Thanks,

Aaron

On Mon, Aug 14, 2006 at 08:12:48PM +0200, Aaron H. wrote:

Hi,

I was wondering if the latest version of acts_as_ferret (0.2.2) that is
listed on http://projects.jkraemer.net/acts_as_ferret/ is compatible
with the latest version of Ferret 0.9.5. I noticed that the website
above stated that it was supposed to work with 0.9.4, but I didn’t see
anything about 0.9.5.

should work ok, if not, shoot me a line.

Jens


webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66

Jens K. wrote:

On Mon, Aug 14, 2006 at 08:12:48PM +0200, Aaron H. wrote:

Hi,

I was wondering if the latest version of acts_as_ferret (0.2.2) that is
listed on http://projects.jkraemer.net/acts_as_ferret/ is compatible
with the latest version of Ferret 0.9.5. I noticed that the website
above stated that it was supposed to work with 0.9.4, but I didn’t see
anything about 0.9.5.

should work ok, if not, shoot me a line.

Jens


webit! Gesellschaft f�r neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Kr�mer [email protected]
Schnorrstra�e 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66

I have the gem 0.9.5 and demo trunk on Fedorr Core 5. Initially I had
Seg Faults on the gem. I fixed it using -0s in the CFLAG. and making
sure I have the right libs.

Now when I run rake in demo app I get seg fault again. :frowning:
$rake --trace
(in /home/ajagra/dev/src/demo)
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Invoke test:functionals (first_time)
** Invoke db:test:prepare
** Execute test:functionals
/usr/bin/ruby -Ilib:test
“/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb”
“test
/functional/content_controller_test.rb”
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
…/home/ajagra/dev/src/demo/config/…/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:437:
[
BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-linux]

rake aborted!
Test failures
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/tasks/testing.rake:35
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in execute’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in invoke' /usr/lib/ruby/1.8/thread.rb:135:in synchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in invoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in invoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in invoke' /usr/lib/ruby/1.8/thread.rb:135:in synchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in run’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
/usr/bin/rake:18

On Tue, Aug 15, 2006 at 10:30:37PM +0200, Ajaya A. wrote:
[…]

I have the gem 0.9.5 and demo trunk on Fedorr Core 5. Initially I had
Seg Faults on the gem. I fixed it using -0s in the CFLAG. and making
sure I have the right libs.

Now when I run rake in demo app I get seg fault again. :frowning:
$rake --trace
(in /home/ajagra/dev/src/demo)
[…]
/functional/content_controller_test.rb"
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
…/home/ajagra/dev/src/demo/config/…/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:437:
[
BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-linux]

Could you please check out Ferret from svn and try to run it’s test
suite ?

The error seems to happen when accessing a hit via index[doc_id] when
looping across hits returned from search. I doubt that’s an
acts_as_ferret problem…

Jens


webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66