Displaying 20 results from an estimated 26 matches for "eimorton".
2007 Apr 10
8
ferret-0.11.4-mswin32 not compatible with Ruby1.8.4
Just a quick note for future reference - at least for me, ferret won''t
work on Ruby 1.8.4.
gem install ferret
Successfully installed ferret-0.11.4-mswin32
ruby -v
ruby 1.8.4 (2005-12-24) [i386-mswin32]
irb
irb(main):001:0> require ''ferret''
A windows error message box appears -
ruby.exe - Entry Point Not Found
The procedure entry point rb_w32_write could not be
2007 Apr 15
4
Ferret and Mongrel. OSX vs. Linux
I''m having a strange problem accessing a 1.7GB Ferret index from
within Mongrel (1.0.1) on Linux. On OSX a Ferret search through Rails
takes a fraction of a second. From the command line, bypassing
Mongrel, the search takes about the same amount of time. On Fedora
Core 4 a Ferret search from the command line takes a fraction of a
second, but the same search through Mongrel never
2007 Apr 15
4
Ferret and Mongrel. OSX vs. Linux
I''m having a strange problem accessing a 1.7GB Ferret index from
within Mongrel (1.0.1) on Linux. On OSX a Ferret search through Rails
takes a fraction of a second. From the command line, bypassing
Mongrel, the search takes about the same amount of time. On Fedora
Core 4 a Ferret search from the command line takes a fraction of a
second, but the same search through Mongrel never
2007 Apr 14
3
Error on optimize leads to corrupt index?
The following exception occurred while trying optimize a large index:
vendor/gems/rdig-0.3.4/lib/rdig/index.rb:46:in `optimize'': End-of-
File Error occured at <except.c>:93 in xraise (EOFError)
Error occured in store.c:216 - is_refill
current pos = 0, file length = 0
Now, I get the following error any time I try to create a new index
on the directory that I was trying
2006 Sep 15
2
Caching::Sweeper Access to Controller
Hello,
I''m running Mongrel 0.3.13.3, cluster 0.2.0, and Rails 1.1.6 and I
have a problem with a sweeper not having access to the controller
instance.
NoMethodError (undefined method `session'' for nil:NilClass):
/app/models/audit_sweeper.rb:16:in `log''
/app/models/audit_sweeper.rb:9:in `after_update''
2006 Sep 26
3
Clustering - Avoiding "dead" processes?
I have Mongrel Cluster setup with Apache a mod_proxy_balancer. I''ve seen (from time to time) mongrel instances become non-responsive. Is there anyway to configure the balancer so that it "knows" which processes are no longer good and stops trying to use them?
_______________________________________________________
The FREE service that prevents junk email
2007 Nov 30
1
backgroundrb not cleaning up tmp files?
I just had an interesting issue on a production system that has been
running nicely for about a year. There were approximately 10,000
backgroundrb temp files in the /tmp directory. It looks like
backgroundrb wasn''t cleaning them up.
I noticed it with the following error:
DRb::DRbConnError: drbunix:///tmp/backgroundrb.20015/
backgroundrb_logger_0_0.101544829808665 -
2006 Jun 16
3
Does HABTM support non "id" FKs?
Quick question. Say I have a geographical database with counties and zip
codes where counties have and belong to many zip codes.
zip_codes (id, zip_code)
counties (id, name)
When I create the association table, the Rails way says to do the
following: counties_zip_codes (county_id, zip_code_id).
However, given that zip_codes.zip_code is itself a candidate key, I
would much prefer to do the
2007 Mar 10
2
upgrading rails to 1.2.2 giving me mongrel errors
I''m working on upgrading to rails 1.2.2 from 1.1.6 and getting the mongrel
error below in development mode. Now things seem to work fine with 1.1.6and
1.2.2 (in prod mode).
Any ideas what might cause this? Googling gave me very little to work
with. This was the closest thing i found
http://dev.rubyonrails.org/ticket/6716
I''m running Ubuntu with mongrel 1.0.1 and fastthread
2007 Jun 23
2
End of File Error on index optmize
I was optimizing a 650MB using ferret (0.11.3) and I received the
following error. I''ve seen some people have similar issues but I
haven''t seen any resolutions. The contents of the index directory
follow the error. Has anyone seen anything like this and found a
resolution? Many thanks.
/mnt/apps/search/releases/20070622175637/script/../config/../vendor/
2007 Sep 28
0
Workers sleeping habbits
I''m having some issues with Workers dying after a period of several
hours.
Each worker runs a loop that asks Amazon SQS for work to do. If there
is a message in the queue the work is completed (image processing,
etc...); if there is no message the worker will sleep for X seconds
(sleep 10, etc...). I''ve noticed that the workers will frequently
exhibit two negative
2007 Aug 16
0
Redirect STDOUT?
If I''m not mistaken, BackgroundRB itself redirect STDOUT. Daemons
redirects STDOUT to dev/null. What are your thoughts on re-re-
directing STDOUT? I''d like to use an existing library within
BackgroundRB that has extensive use of puts, and I''m not sure of the
best way to get that output back in a useful place. Your thoughts are
appreciated.
Erik
2007 Jan 23
1
Loading Rails Helpers in 1.2.1
I''m having a problem where a worker cannot load a rails helper in
rails 1.2.1
20070123-08:27:15 (4974) uninitialized constant
FileImportWorker::CatalogsHelper - (NameError)
20070123-08:27:15 (4974) /Users/erik/Documents/projects/myproject/
trunk/config/../vendor/rails/activerecord/lib/../../activesupport/lib/
active_support/dependencies.rb:478:in `const_missing''
2007 Jan 24
1
failed to find slave socket
I''m having a strange issue. The following error is printed to the
backgroundrb_server.log file:
failed to find slave socket </tmp/backgroundrb.803/
verification_email_delivery_worker_fafbd1e29be8b802aef4a4ffc1a35754_0_0.
126366358217085> - (RuntimeError)
20070124-17:41:29 (805) /usr/local/lib/ruby/gems/1.8/gems/slave-1.2.0/
lib/slave.rb:462:in `initialize''
2007 Apr 01
0
Best Practices for Searching Multiple Indexes -- multi reader or combine?
Back in September (http://rubyforge.org/pipermail/ferret-talk/2006-
September/001210.html) Dave said:
"Another use-case might be to have multiple indexes to speed up
indexing. If for example you are scraping websites it is a very good
idea to have multiple scraping processes. The best way to do this is
to have each process indexing to its own index. You could then search
all indexes
2007 Apr 15
3
Massive difference in query times on OSX and Linux
I have a 1.7GB index with 440818 documents. Queries that take 0.23846
seconds on my MacBook pro take an indefinite period of time on a
Fedora Core 4 EC2 instance. Five minutes and counting...I''m using
Ferret 0.11.3. I don''t see any errors in the logs.
Has anyone ever seen anything like this?
2006 Jun 06
1
Ampersand Crashes Ruby
I''m using acts_as_ferret and when I call Object.find_by_contents("A &
B"), Ruby dies with the following message:
^Cruby(5014,0xa000cf60) malloc: *** vm_allocate(size=1069056) failed
(error code=3)
ruby(5014,0xa000cf60) malloc: *** error: can''t allocate region
ruby(5014,0xa000cf60) malloc: *** set a breakpoint in szone_error to
debug
ruby(5014,0xa000cf60) malloc:
2006 Aug 28
1
File Upload Truncated
I have a problem uploading files into a MySQL database (4.1.18) using
Lighttpd (1.4.11) and the MySQL C api (2.7). All the files that I
upload are truncated at about 65K, though, the temp file is the correct
length. No errors are thrown and the max_allowed_packet is set to 10GB.
I''m running on OSX.
Any thoughts or pointers are much appreciated.
2006 Dec 22
0
Problems with MySQL Replication and Migrations
Does anyone have MySQL replication set up for a Rails App that uses
migrations? I''m having an issue where every time I run a migration
Rails is trying to create the schema_info table.
Mysql::Error: Table ''schema_info'' already exists: CREATE TABLE
schema_info (version int(11))
This causes a problem on the slave databases where the replicated
create table statement
2007 Sep 12
3
Can''t disable ferret when running in Mongrel
In my environment.rb I say the following:
MyModel.disable_ferret
puts MyModel.ferret_enabled?
The console works as expected:
script/console
false
>> MyModel.ferret_enabled?
=> false
I can then edit an instance, ferret remains disabled and the changes
are not immediately indexed.
However, when I start mongrel Ferret is initially disabled, but then
somehow becomes enabled again