Displaying 20 results from an estimated 300 matches similar to: "Ferret failing to rebuild_index - occasionally unable to del"
2006 Apr 28
0
Ferret failing to rebuild_index - occasionally unable to delete a file (_j.cfs)
I''m switching all my fulltext searching over to ferret using the 
acts_as_ferret plugin on windows (for development, will be deployed on 
linux).
In my tests I have a setup method as follows to ensure the index is 
reset for each test:
def setup
   Item.rebuild_index
end
This works fine for the initial few tests but then suddenly fails for 
the last few tests when it seems to be
2006 Apr 12
8
500 Server Error - stumping me at the moment
I''m trying to deploy an app on Dreamhost and I''m getting the infamous 
500 Server Error.
Nothing in the rails logs because it looks to be happening before it 
gets there.
In the apache error logs we have:
[Wed Apr 12 12:51:51 2006] [error] [client 194.80.32.9] FastCGI: comm 
with (dynamic) server 
"/home/rlivsey/thatsprogress.com/current/public/dispatch.fcgi"
2006 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems.
The app is running with edge rails and I''m currently getting the dreaded 
''Rails application failed to start'' white screen when trying to access it.
I''ve gone through all the ''gotchas'' and troubleshooting docs at 
Dreamhost and the rails wiki to no avail.
2006 Apr 13
10
Typo and acts_as_ferret rebuild_index errror
Hi, I''m running the edge Typo and the latest acts_as_ferret plugin and 
ferret gems (as of 11 April).
In my Content model I put acts_as_ferret :fields => [:title, :body]
In the console, I call Content.rebuild_index to index all of my existing 
content. All the directories get created etc, but I get the following 
error back:
Loading development environment.
>>
2007 Sep 05
2
after_create callback called twice in test env when using fixtures
All,
I''ve been trying to figure out a strange bug in one of my applications
that I think I''ve narrowed down to a problem with rails fixtures.  It
seems as though the after_create callback is being run twice when I
save a record.  This is only happening a) in the test environment, and
b) when there is a fixture file for that table.
The test below only prints "Doing
2007 Jun 08
13
Errror on update after Model.rebuild_index
Hi
I use Ferret 0.11.4 and the latest stabel version of the acts_as_ferret
plugin.
To the issue. if I do Model.rebuild_index and after that try to update
one of my objects of that Model I get:
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
2013 Apr 16
1
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys..
i got this type of error when i configured Gemfile
then what to do?*
gem "thinking-sphinx"
 gem ''ferret''
Updating git://github.com/mark-moseley/linecache
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using ClothRed (0.4.1)
Using RedCloth (4.2.9)
2013 Apr 16
2
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys..
i got this type of error when i configured Gemfile
then what to do?*
gem "thinking-sphinx"
 gem ''ferret''
Updating git://github.com/mark-moseley/linecache
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using ClothRed (0.4.1)
Using RedCloth (4.2.9)
2007 May 03
7
How to create a drop-down list with Markaby?
Hi
I couldn''t figure out, how to create a drop-down list with Markaby. How
would I create something like this:
        <select name="character">
          <option value="marvin">Marvin the paranoid Android</option>
          <option value="arthur">Arthur Dent</option>
          <option value="zaphod">Zaphod
2007 Apr 19
4
Save sessions on file system instead of database table?
Hi
Is there a way to save session data on the file system (like in Rails)
instead of a database table?
The reason I''m asking is, that I''m writing a Camping application without
using ActiveRecord (mostly for learning purposes) and I don''t want to
use ActiveRecord just for sessions.
Thanks,
Thomas
-------------- next part --------------
A non-text attachment was
2007 Mar 29
2
Nasty looking warnings on Debian Etch AMD64 bit box
Running gem install ferret and selecting 0.11.3 on a Dual Xeon or Dual Opteron 64 bit box running Debian Etch gives the following list of nasty looking warnings, anyone running successfully on 64 bit linux?
Building native extensions.  This could take a while...
fs_store.c: In function ?fso_seek_i?:
fs_store.c:238: warning: format ?%lld? expects type ?long long int?, but argument 4 has type
2006 Oct 30
0
File Store permissions
I am using Ferret for a Rails app in which Rails runs as one user but I have 
other processes that run as a different user that modify the ferret index.  
This is done in large part to mitigate the damage if a major exploit is found 
in Rails again.
The problem is Ferret creates all its index files with rw for the user only.  
I have included a small patch that changes Ferret to create these
2006 Apr 19
3
Useful article for anyone programming for paid client work
We''re working on a new series of applications called "RealApps" - simple
plugins and components add functionality to Rails applications. We just
posted an article describing the first one - a content management system.
We also go into the business case behind the design we chose. Good stuff for
programmers to know - especially if you are doing paid client work. It
2007 Feb 26
7
Problem with large index file
Hello,
Ferret created a 4.5GB> index file.
$ 4534029210 2007-02-26 12:46 _el.cfs
The creation of the index went smoothly. Searching through this index
also works fine. However whenever I try to get the contents of an
indexed document I get an error when the document number is above
621108:
irb(main):080:0> searcher[621108].load
IOError: IO Error occured at <except.c>:79 in xraise
2006 May 17
5
BBC
Thought some of you guys might like to know that that it looks like the 
BBC are trialing Rails. I got a DB error when trying to connect to their 
prototype cataloging system the other day.
http://www.flickr.com/photo_zoom.gne?id=136006235&size=o
Sorry if this is old news.
-- 
Posted via http://www.ruby-forum.com/.
2002 Jun 07
1
filter data frames
Hello!
I'm looking for an easy way to filter data frames.
Some rows in my data frame needs to be left out,
for instance, rows with invalid data.
Right now, if I want to pair two columns of this data frame,
I have to do this:
> pairs(as.data.frame(list(tstart=df$tstart[valid],tend=df$tend.sdr[valid])))
or this:
>
2007 May 16
7
return ONLY total_hits without querying from real database
Hey guys,
I know I can run search(q).total_hits, but if I try to put :limit=>0 it
gives me an error. I don''t want it actually query any of the results, I
just want it to tell me how many total_hits I would have if I wanted to
search it.
How can I do this?
-- 
Posted via http://www.ruby-forum.com/.
2006 Apr 19
5
Swedish characters problem
Hello,
I''m playing around with Rails and I''m having problems with displaying
swedish characters. This is how far I''ve gotten:
I have a controller...
class MiscController < ApplicationController
  def swedish_chars
    @chars_to_display = ''???''
  end
end
...and a template (swedish_chars.rhtml)
<head>
  <title>Test with swedish
2007 Mar 12
2
Too many open files error
Hi Dave,
i just stumbled across a new error i haven''t seen before :)
caught error inside loop: IO Error occured at <except.c>:93 in xraise
Error occured in fs_store.c:264 - fs_new_output
         couldn''t create OutStream /var/www/localhost/rails/current/ 
script/backgroundrb/../../config/../db/ferret.index.production/ 
_jei_0.f0: <Too many open files>
my ulimit is
2007 Jul 06
6
Ferret::FileNotFoundError - delete
Hi,
we are using ferret and acts_as_ferret in a single server setup. We have
2 models that use acts_as_ferret.
We are running into problems where a create or update of the models
cause a ferret error
Ferret::FileNotFoundError occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
Where the file that needs to be opened isn''t there.
The error