Ferret file not found error on item delete


#1

Hi:

I’m getting a ferret error when I try to delete any item that has been
previously indexed. I just installed ferret, so the indexes aren’t big
or anything. What I’m trying to do is to just delete an item on a table
that has been index. Here’s the error I’m getting:

Processing GoalsController#destroy (for 68.83.170.192 at 2007-05-22
08:05:39) [DELETE]
Session ID: ae7fa224cbeac580bac6fa4c9c250a03
Parameters: {"_method"=>“delete”, “action”=>“destroy”, “id”=>“105”,
“controller”=>“goals”}

Ferret::FileNotFoundError (File Not Found Error occured at
<except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
tried to open
“/var/www/apps/goal_buddy/current/config/…/index/production/goal/_2s_0.del”
but it doesn’t exist:

):
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:285:in
delete' /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:285:in<<’
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in
synchrolock' /usr/lib/ruby/1.8/monitor.rb:229:insynchronize’
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in
synchrolock' /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:267:in<<’
/usr/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:140:in
<<' /usr/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/instance_methods.rb:73:inferret_update’

As I really don’t know ferret and acts_as_ferret well, any help you
could give would be greatly appreciated!

Thanks!

Mike


#2

Mike,

There is an active Ferret dedicated list:

http://www.ruby-forum.com/forum/5

You’ll have better chances to get a good answer there.

Alain R.

http://blog.ravet.com