Hello Dave, Thanks for your reply. I am indeed using acts_as_ferret on ferret 0.9.6 on Windows. When i manually delete the test index, it sometimes work. But only sometimes. I do not see a pattern. Please help! Thanks in advance!
Miguel p.s. I will also try the closing the index trick. If that work, i will report here for documentation purposes. thanks. David Balmain wrote: > On 9/22/06, Miguel <[EMAIL PROTECTED]> wrote: >> > >> > When running unit tests one by one (test file by test file), this error >> > does not pop up. Does anyone know what is happening? >> > >> > Thanks! >> > > Hi Miguel, > > A couple of questions will help us answer this. Are you on Windows? Is > your application a Rails app? Are you using acts_as_ferret? > > The first thing I'd check is that you are closing your Index, > IndexReader or IndexWriter when you are finished with it (ie in your > test methods . Not doing this can possibly cause and EOFError. Also, > on Windows, I had a lot of trouble making sure files get deleted > correctly, but I may have made a mistake somewhere. > > I hope we can help you out, > Dave -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list Ferret-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/ferret-talk