On 8/5/06, Tom Davies <[EMAIL PROTECTED]> wrote: > Hi Dave, > > I am using ferret at my site http://gifthat.com and I just had a few > exceptions pop up. I don't have a way to reproduce them, but my site > just was listed on lifehacker.com and these issues have popped up > under multiple concurrent users (only twice though which I think isn't > too bad). I am using two lighttpd instances both with read/write > access to the index: > > 1) Error occured at <fs_store.c>:318 > Error: exception 2 not handled: Couldn't open the file to read > > This happened while adding a document to the index like so: > > gift_index << self.to_doc
I'm afraid there isn't much more I can do about this bug without more information. If you can help me reproduce it here I can usually fix it very quickly. > 2) Error occured at <index_rw.c>:2642 > Error: exception 6 not handled: Could not obtain commit lock when > trying to write index > > This happened while doing a search_each like so: > > gift_index.search_each > > The weird thing is that I would think the search each doesn't need to > write to the index. If you are using the Index class and you call a search method on an Index object that has just written to the index then the Index object will need to commit any changes before opening the IndexSearcher. It is possible that the commit lock was still hanging around after the first crash? > Both of these issues appear to have happened at the same time, so they > may be related to each other. > > Thanks for your excellent work on Ferret! Please let me know if you > need any more info from me. Like I said earlier, if you can reproduce the error I may be able to help. Otherwise I'm fully committed to getting 0.10 out. When it is out, I'd recommend getting it into your development app as soon as you can. Although it may be a little less stable then the 0.9 series, it shouldn't be long before it is more stable. Cheers, Dave _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

