Ferret 0.10.0 bugs

Hi all !

Is Ferret 0.10.0 realy stable ?
Because I converted all my code to the new API and many strange things
appened.

For exemple this, when I run a import script :

/usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:98:in
`initialize’: End-of-File Error occured at <except.c>:103 in
xpop_context (EOFError)
Error occured in store.c:197 - is_refill
current pos = 20, file length = 20

Or when I search something and obtained 10 documents, printed via a web
page. Then I ask the details of some documents (1, 2, or 3) via an AJAX
request and sometimes the query for the second record failed (Document
not found), sometimes it’s the third. If I try 5s after, it works. Very
very strange, isn’t it ?

With 0.9.4 and 0.9.5, my app was stable.

Any ideas ?

Thanks.

PS: I’ve tested on 2 diffrent host, two linux i686.

On Wed, Aug 23, 2006 at 07:24:05PM +0200, Florent S. wrote:

xpop_context (EOFError)
Error occured in store.c:197 - is_refill
current pos = 20, file length = 20

this seems to be because of an old (Ferret 0.9) index. Deleting and
rebuilding your index should fix this.

Jens


webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66

Florent S. wrote:

Is Ferret 0.10.0 realy stable ?

No, David already fixed some bugs after 0.10.0. I don’t know when a new
gem will be released.

Thanks a lot for your answer David.
I will post some small buggy ruby script for your tests.
Maybe today or tommorow.

On 8/24/06, Florent S. [email protected] wrote:

Hi all !

Is Ferret 0.10.0 realy stable ?

No, not yet. It was a significant rewrite and this is the first
release. There are 20,000 lines of C code in there that have only been
run through my unit tests and this is there first time out in public.
However, it is designed to fit in with the Ruby bindings a lot better
and I’ve put more work into making it portable so with everyone’s help
it should soon be a lot more stable than previous versions.

Cheers,
Dave