Displaying 20 results from an estimated 3000 matches similar to: "Index update - problems"
2007 Oct 05
5
DRbConnError when using script/runner
I am running ferret (0.11.4) and acts_as_ferret (stable from svn) in a
rails 1.2.3 app in production using the DRb server. I recently upgraded
my configuration and the method with which I start and stop the server
no longer works: Here is the command I would like to use (and have used
in the past) to start the aaf server:
$ /Library/WebServer/rails/ccdb/current/script/runner -e production
2007 Apr 23
1
Launching DRb server on reboot: solved
The problem with getting DRb to luanch on reboot is the same problem
causing some people to ahve trouble getting mongrel clustersw to come
back up on reboot. The problem is the PATH. ON many new RH
distributions running SELinux, /usr/local/bin is not added to the PATH
until reboot is complete. Therefore, those of having installed ruby
in /usr/local/bin run in to issues. SO, hoping to save
2007 May 08
2
Limit + Conditions = Confusion
Hi,
Could you please explain the :limit to me? I thought I knew what it was
but now it seems I''ve misunderstood something.
>> Fooditem.find_by_contents("*quark*", {:limit => 10}, {:conditions => ["origin = ?", "fda"]}).length
=> 1
>> Fooditem.find_by_contents("*quark*", {:limit => 2000000}, {:conditions => ["origin
2007 May 01
2
AAF and DRb server
I''ve installed the ferret gem. I installed AAF as a plugin into my
vendor/plugins directory of my project. In development environment my
searches work just fine, without any problems.
For production I configured the ferret_server.yml file with correct
information about the machine my DRb server is running on. I start the
ferret server with the following command:
ruby script/runner
2007 Jun 13
14
Do delegates work properly in Drb mode?
Hi folks,
I have several models that index well in Drb mode.
However, I have one scenario where it works in normal mode, but not in
Drb mode.
model A
field :one
end
model B
belongs_to :a
field :two
delegate :one, :to => :a
acts_as_ferret :fields => { :one => {}, :two => {} }, :remote => true
end
If I leave off the :remote parameter, it works. Or, if I don''t
2007 Jul 25
17
DRb not starting
Hi,
I have my Model as follows:
class Mutation < ActiveRecord::Base
acts_as_ferret ({:fields => {:description=>{},
:product_id=>{:index => :untokenized},
:product_description=>{},
:product_label_description=>{},
:product_label_free=>{},
:product_product_id_supplier=>{},
:product_description_supplier=>{},
:supplier_description=>{},
:pub_date_sort
2007 Apr 03
5
Inifinite loop problem with DRb server
Hi all,
We''re attempting to use Ferret with the DRb server at the moment, and
it doesn''t work, at all...
= Executive Summary
The DRb server process keeps on calling the remote index to the DRb
server process... Which means DRb is calling itself, and itself, and
itself, until Ruby kills the Thread with a SystemStackLevel error.
= The excruciating details...
# Mongrel is
2007 Jul 18
1
DRb Server can not run!
I''m doing the next.
1, rails hecc
2, cd hecc
3, script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
4, RAILS_ENV=production
vendor/plugins/acts_as_ferret/script/ferret_start
vendor/plugins/acts_as_ferret/script/ferret_start:21:in `require'': no
such file to load -- vendor/plugins/acts_as_ferret/script/../config/boot
(LoadError)
2001 Mar 06
8
OpenSSH/scp ->> F-Secure SSH server Problems
Hi,
Is there some know problem between the 'scp' client in OpenSSH 2.5.1p1 and
F-Secure's SSH 2.4.0 server? The client is running on a Linux (2.2.17) box
and server is running on Win2K. When I try to transfer files it asks me for
the password (which I provide) then it hangs. Using 'scp -v' didn't provide
any helpful info; it's as though the problem happened before
2007 Jul 17
3
two acts_as_ferret questions!
hi, guys:
two acts_as_ferret questions!
1, ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
sh: svn: command not found
i can not install acts_as_ferret to my Rails project.
what''s wrong? i''m useing rhel 4!
2, i downloaded the acts_as_ferret-0.4.0.tgz at
http://rubyforge.org/frs/?group_id=2916&release_id=10617
and uploaded to
2007 Sep 10
1
Asked for a remote server ? nil, ENV["FERRET_USE_LOCAL_IN...
Hello,
I know this subject as been talked many time, but i can not figure out
how to get rid of this...
ENV : ruby 1.8.4, ferret 0.11.4, acts_as_ferret 0.4.1 under win32
Error : Asked for a remote server ? nil, ENV["FERRET_USE_LOCAL_INDEX"]
is nil, looks like we are not the server Will use local index.
My application is working find, with 4 mongrels, but i got this message
on
2007 Jun 12
2
Starting script/ferret_start problems
Hi - I have a fresh install of OSX, Rails, Ruby, Ferret, AAF etc ...
Everything is working fine, I can start mongrel, I can start
backgroundrb, but Ferret Drb ... doesn''t want to work.
RAILS_ENV=development script/ferret_start
Gives me:
env: script/runner: Permission denied
Is there a way I can debug this to figure out what is going on - or is
there another way to start Ferret Drb?
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
Hi all,
I cannot make aaf (rev. 220) use my custom analyzer, despite following the
indications @
http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage
To pinpoint the problem, I created a model + a simple analyzer with 2 stop
words : "fax" and "gsm".
test 1 : model.rebuild_index + model.find_by_contents("fax") # fax is a
stop word.
=> I get a
2007 Oct 08
7
Unified ferret_start and ferret_stop
I would like to unify the ferret_start and ferret_stop scripts into a
single script. My motivation is to make the scripts more like the other
rails scripts, and to also make it fit into monitoring schemes better.
I realize that some work was done recently to allow the scripts to be
run from script/runner, but I think a unified script is a better
approach.
A unified script would allow more
2007 Dec 02
1
solaris SMF to start ferret drb server
Jesse Grosjean wrote:
> I''m trying to write a solaris SMF file to launch the ferret drb server.
Hmm, I think I''ve hit a similar problem. I''ve just upgraded to the
latest ferret trunk from an old aaf stable where the script/ferret_start
and script/ferret_stop scripts were still in use.
now if I call the old script...
RAILS_ENV=production script/ferret_start
2004 Jul 09
7
IRC channel #asterisk on irc.freenode.net
Hi all!
It's great to start with "for dummies" question, but hey, we all have
been human infants also =)
Problem is, that I can not log on to this channel and I haven't found
anything helpful during the past few days either.
1. The irc.freenode.net server gives me "Couldn't look up your hostname"
and "No identd (auth) response" followed with
2007 Apr 20
1
Launching DRb server on reboot
I''m hoping for a little insight. We''re using ferret with DRb server
and having a hard time getting it to come back up on reboot of the
machine.
In our RAILS_ROOT directory, we''ve got a script named start_ferret.
Here''s the content:
#!/bin/bash
FERRET_USE_LOCAL_INDEX=1 script/runner -e production
vendor/plugins/acts_as_ferret/script/ferret_start
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem.
I tried it with the plugin installed in my application, and it
worked. I suspect the problem has something to do with the startup
scripts expecting certain files to be in certain relative file paths.
Any insights are appreciated, and maybe if you have time you can
update the wiki document :)
Thanks for a great
2006 Apr 18
6
lambda, uncertainty coefficient (& Somers D)
Dear colleagues in R,
Has anybody implemented the
1) (Goodman & Kruskal) lambda
or the
2) (Thiel's) uncertainty coefficient
statistics (in the asymmetric and symmetric forms), or is anyone aware
that they might reside in some package? A search in the R archives
does indicate that they are (somehow) part of the CoCo package, but I
would rather not start learning how to transform my
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up
the backgroundrb server. However whenever I try to do a search, I get
this error:
(druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in
`method_missing''
(druby://localhost:9010)
./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in
`find_id_by_contents''
(druby://localhost:9010)