#174 ✓resolved

Ferret::FileNotFound Errors with local index

Reported by tvdeyen | August 18th, 2010 @ 08:25 AM

I use acts_as_ferret (0.4.8) with ferret (0.11.6) without a DRb Server. We use a local index. I read a lot about acts_as_ferret and the DRb Server. As i understand the server is only needed when using multiple mongrel (or other ruby servers) instances that write on the same index. Jens confirmed that in the ruby forum.

I randomly have Ferret::FileNotFound Errors

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/web6/html/customers/bruns/releases/20100816103727/index/production/essence_text/_aw_0.del" but it doesn't exist: <No such file or directory>

ferret (0.11.6) lib/ferret/index.rb:285:in `delete'
ferret (0.11.6) lib/ferret/index.rb:285:in `add_document'
ferret (0.11.6) lib/ferret/index.rb:8:in `synchrolock'
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/1.8/monitor.rb:242:in `synchronize'
ferret (0.11.6) lib/ferret/index.rb:8:in `synchrolock'
ferret (0.11.6) lib/ferret/index.rb:267:in `add_document'
config/./vendor/plugins/alchemy/plugins/acts_as_ferret/lib/local_index.rb:108:in `<<'
config/./vendor/plugins/alchemy/plugins/acts_as_ferret/lib/instance_methods.rb:100:in `ferret_create'

As you can see that ferret tries to delete an index that is not present. So where does this key came from? I am rebuilding the index after deploying via Capistrano. Also i rebuild the index if an exception raises. But this does not help. I still have a lot of FnF Errors.

Maybe ferret fixes this? I'll try.

But in the meantime please someone can help, or try to explain what could be the issue?

Comments and changes to this ticket

  • tvdeyen

    tvdeyen August 23rd, 2010 @ 08:29 AM

    No FileNotFound Errors for a long while now. I think ferret fixed it.

  • Jens

    Jens September 14th, 2010 @ 05:56 PM

    • State changed from “new” to “resolved”

    sorry for the late reply - actually I encountered the same problems (they seem to be REE specific)
    That's why I decided to release the 'unofficial' 0.11.8.x jk-ferret gems. I also added a matching gem dependency to aaf from version0.5 onwards.


  • Cassandller

    Cassandller October 12th, 2018 @ 06:57 AM

    File Not Found Errors with local index is completely a blog for new ideas. These ideas are the best ideas for rushmyessays.org work. I want to explain these ideas with the readers.

  • Darrudson

    Darrudson October 13th, 2018 @ 06:43 AM

    Some Common Misconceptions in the instruction is diminish our advantage identified with the training. These basic misguided judgments and we realize that this occurrence in light of the fact that other dialect is likewise expanding the https://bestaustralianwriters.com/assignmenthelp4me-com-review/ . That for what reason to comprehend the misguided judgments is tad troublesome.

  • sahu

    sahu November 1st, 2018 @ 11:44 AM

    Update window, Corrupt window,Activate window etc. these are the common issue in window so don't be panic because windows blogger is here to provide the solution of any technical issue in your window.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket