On Thu, Mar 15, 2007 at 09:44:04AM +0100, jeroen janssen wrote: > > On Wed, Mar 14, 2007 at 07:06:09PM +0100, jeroen janssen wrote: [..] > > My problem with the DRB server is simply that I can't get the script > to run. when I run script/runner vendor/plugins/acts_as_ferret/script/ > ferret_server I get a 'undefined local variable or method `vendor' > for #<Object:0x1f2968> (NameError)' > > This happens on my server and on my local machine. (Rails 1.2.1) > > If I copy the script to RAILS_ROOT/lib and do script/runner "require > 'ferret_server'" as you suggested earlier I don't get an error but I > also don't get any feedback that something is running. When I try to > search I get a 'druby://localhost:9009 - #<Errno::ECONNREFUSED: > Connection refused - connect(2)>' error.
could you please try ./script/runner "load 'ferret_server'" instead? this seems to fix the problem. Hope I'll find the time to integrate the start/stop scripts that recently were posted to the list soon. [..] > > Here are some of the errors I'm getting now: did you rebuild your index after upgrading to 0.11.3? Besides that, I don't know what to do about these Errors - maybe Dave can comment on these? Jens. > > -- > > A IOError occurred in search#weblogs: > > IO Error occured at <except.c>:93 in xraise > Error occured in index.c:886 - sis_find_segments_file > Error reading the segment infos. Store listing was > > /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/ > index.rb:706:in `initialize' > > ---- > > A EOFError occurred in weblog#show_by_login: > > End-of-File Error occured at <except.c>:117 in xpop_context > Error occured in store.c:216 - is_refill > current pos = 0, file length = 0 > > > /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/ > index.rb:285:in `delete' > > ---- > > A FileNotFoundError occurred in weblog#show_by_login: > > File Not Found Error occured at <except.c>:93 in xraise > Error occured in fs_store.c:329 - fs_open_input > tried to open "/www/wnf.dma.nl/rails_app/config/../index/production/ > user/_1ez_0.f5" but it doesn't exist: <No such file or directory> > > ---- > > A FileNotFoundError occurred in weblog#show_by_login: > > File Not Found Error occured at <except.c>:117 in xpop_context > Error occured in fs_store.c:329 - fs_open_input > tried to open "/www/wnf.dma.nl/rails_app/config/../index/production/ > user/_50t_w.del" but it doesn't exist: <No such file or directory> > > > /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/ > index.rb:285:in `delete' > > --- > > A FileNotFoundError occurred in account#logout: > > File Not Found Error occured at <except.c>:117 in xpop_context > Error occured in fs_store.c:329 - fs_open_input > tried to open "/www/wnf.dma.nl/rails_app/config/../index/production/ > user/_50t_w.del" but it doesn't exist: <No such file or directory> > > > /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/ > index.rb:285:in `delete' > > > -- Jens Krämer webit! Gesellschaft für neue Medien mbH Schnorrstraße 76 | 01069 Dresden Telefon +49 351 46766-0 | Telefax +49 351 46766-66 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

