On 8/25/06, Florent Solt <[EMAIL PROTECTED]> wrote:
> In a rails script (something in the "script" dir with the good require)
> I added many document (around 4000) to an index globaly instanciate (and
> build if not present) in config/environment.rb.
>
> I ran 3 three times my script (I deleted my index every time before),
> and only the third was successful. That was STRANGE ! :)
>
> These are the errors :
>
> /usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:204:in
> `commit': End-of-File Error occured at <except.c>:79 in xraise
> (EOFError)
> Error occured in store.c:197 - is_refill
>        current pos = 117, file length = 68
>
>  from
> /usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:204:in
> `<<'
>  from /usr/lib/ruby/1.8/monitor.rb:229:in `synchronize'
>  from
> /usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:186:in
> `<<'
>  (...)
>
> OR
>
> /usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:204:in
> `commit': End-of-File Error occured at <except.c>:79 in xraise
> (EOFError)
> Error occured in store.c:197 - is_refill
>        current pos = 116, file length = 50
>
>  from
> /usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:204:in
> `<<'
>  from /usr/lib/ruby/1.8/monitor.rb:229:in `synchronize'
>  from
> /usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:186:in
> `<<'
>  (...)
>
> When I tried with auto_flush, it's worst :(
>
> Any ideas ?

I have no ideas about this one. If you can post a short bit of code
that will produce error it'd be a huge help. Even if it isn't
consistantly causing the error it will still help.

Dave
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to