# Ferret file not found error on item delete

**URL:** <https://www.ruby-forum.com/t/ferret-file-not-found-error-on-item-delete/104783>\
**Category:** Rails\
**Created:** [May 22, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/ferret-file-not-found-error-on-item-delete/104783 "2007-05-22T14:27:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miked](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@miked](https://www.ruby-forum.com/u/miked)\
**Post date:** [May 22, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/ferret-file-not-found-error-on-item-delete/104783/1 "2007-05-22T14:27:01Z")

</div>

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:in`synchronize’  
/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:in`ferret\_update’

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

Thanks!

Mike

---

<div class="post-metadata">

**Author:** ![miked](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@miked](https://www.ruby-forum.com/u/miked)\
**Post date:** [May 22, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/ferret-file-not-found-error-on-item-delete/104783/2 "2007-05-22T16:09:33Z")

</div>

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](http://blog.ravet.com)
