Hi!
On Thu, Jan 11, 2007 at 01:46:06PM +0100, W S wrote:
> Dave and all,
> 
> I run a medium RoR app using Ferret and acts_as_ferret. I get a lot of
> lock errors. Not always but around 5% of all searches (aspecially during
> peak periods). Here are the messages I get:
> 
> A NameError occurred in szukaj#index:
> uninitialized constant Ferret::Index::Index::LockError
> [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:478:in
> `const_missing'
>  /home/user/.gems/gems/ferret-0.10.13/lib/ferret/index.rb:674:in
> `ensure_reader_open'

this actually means that the LockError class could not be found in line
674, which is a rescue statement.

Replacing LockError with Lock::LockError in line 674 of index.rb should help to 
solve that. Then you'll probably see what's really going on. Please tell
us if this gets you any further.

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
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to