Displaying 20 results from an estimated 700 matches similar to: "Error using Ferret - ferret/index.rb:271:in `delete''"
2006 Nov 24
2
Strange error. Index corrupt on production server
We''ve been running Ferret for a few months on our site with great
result. But, just a monent ago the index suddenly became corrupt.
It all started with this error message:
:108250 is out of range [0..108183] for IndexWriter#[]
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.9/lib/ferret/index.rb:382:in
`[]''
And after that every search resulted in this error:
A IOError
2007 Sep 10
2
IO errors with 2 processes
Hi All,
I''m using acts as ferret and getting a lot of these errors:
----
Error occured in fs_store.c:324 - fs_open_input
couldn''t create InStream
/var/rails/projectblue/website/public/../config/../index/production/content_page/_347i.fdt:
<No such file or directory>
----
and also some of these errors:
----
uninitialized constant Ferret::Index::Index::LockError
2007 Jan 21
14
[ActsAsFerret] OpenSolaris (TextDrive) indexing issues
Gents,
I successfully installed AAF on my TextDrive OpenSolaris Container, but
I''m having some issues with indexing.
I have a model called Blogs which has AAF enabled.
The first time I tried to find_by_contents for a ''word'' I know was on
the Database I got now results. Apparently the index was not ready yet.
Then I waited a few hours and checked that the /index
2007 Jan 27
0
concurrency errors adding to a keyed index
Hi,
I''m adding some news articles to a keyed Ferret 0.10.14 index and
encountering quite serious instability when concurrently reading and
writing to the index, even though with just 1 writer and 1 reader
process.
If I recreate the index without a key, concurrent reading and writing
seem to work fine (and indexing is about 10 times quicker :)
I''m testing by running my indexing
2007 Mar 06
2
ferret 0.11.3 - File Not Found
Hi,
I noticed a 0.11.3 release and gave it a whirl. I''ve so far not been
able to reproduce any segfaults with my ferret_killer[1] script, though
I do get some errors.
when the searching process is running and I start the indexing process,
I immediately get:
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:692:in `latest?'': File Not Found Error occured at
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 Aug 15
2
Windows build with Visual Studio 2005 - some success
Hi all,
first up, big thanks to Dave for doing the hard work of porting
Lucene. I have come to love Lucene through my Java work and was
extremely pleased to find the Ferret project for Ruby.
Now, I am tinkering with building the C extension using Visual Studio 2005.
So far, I have had some success in getting something built and working
in my Rails app (diffs attached). I am also encountering a
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
2007 Sep 17
3
Ferret FileNotFound error
Hi,
I have a model that I''ve been indexing and searching with ferret some
problem.
We get the following error when accessing the model
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 "/var/www/html/cuproject/index/development/album/_b.cfs"
but it doesn''t exist: <No such file or
2007 Aug 05
1
IO Errors on deleting documents with Ferret
I have a large index (~6GB, ~1 million docs) that was built by RDig.
I wrote a script to iterate through the index to clear out some
duplicate information to try to reduce the size of the index.
clients.each {|client|
docs = RDig.searcher.search("+supplier_id:#{client.id}")
docs.each {|doc|
data = doc[:data].dup #the contents of the web page
new_results = {}
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 Oct 01
2
FileNotFoundError
Hi, I saw someone else have this earlier. The recommendation is still to
downgrade to 0.11.3?
Oct 01 19:56:09 ey01-s00116 rails[3175]: Ferret::FileNotFoundError (File
Not Found Error occured at <except.c>:117 in xpop_contextError occured
in fs_store
.c:329 - fs_open_input tried to open
"/data/zendesk/current/config/../index/production/ticket/_l.cfs" but it
2006 Oct 12
3
IO Error occured at <except.c>:79 in xraise (IOError)
Hi,
after a long indexing run I got the following error. I have 149 MB space
left on the disk, the index is 311 MB large; could Ferret have tried to
use more than that for the optimizing? Or would that have resulted in a
different error message?
/usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/runner.rb:27:
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 Aug 26
4
[0.10.0] Index#add_document bug with strange value ?
Perhaps, I found where is my problem (during a big import).
Why this silly (really silly :)) example crash ?
http://pastie.caboo.se/10357
/usr/lib/ruby/site_ruby/1.8/ferret/index.rb:211:in `add_document'': IO
Error occured at <except.c>:79 in xraise (IOError)
Error occured in fs_store.c:225 - fso_flush_i
flushing src of length -2
from
2007 Mar 28
7
Newbie problem on production server
Hi,
I just installed ferret for the first time and integrated it with my
app. On my dev machine it''s fine but on my production server I get this
when I call find_by_contents():
Processing LinksController#results (for 24.185.105.59 at 2007-03-28
05:28:36) [POST]
Session ID: 3f2dc7c17147c0e52178ba697a119833
Parameters: {"commit"=>"Search",
2006 Sep 22
4
IOError on clearing locks
Hi all,
I''ve got a slight problem with using Ferret in unit tests. In order to
create as little cross-contamination between test suites as possible,
some of my tests are creating a fresh index per test case, and then
calling Index#close and deleting the containing dir during the teardown.
The problem comes when GC.start kicks in after the deleting the directory:
IOError: IO Error
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
2007 Mar 19
3
Concurrency Problem in 0.11.3
Hi,
I''m having some strange/random crashes with ferret when using different
programs on the same index.
I created a script to reproduce the errors:
http://www.sig11.org/~seb/ferret_crash.rb
Usage:
In one terminal run: ruby ferret_crash.rb first
In another terminal: ruby ferret_crash.rb
Errors I usually get are but it is really random:
2007 Jan 18
5
corrupt index immediately after rebuild
Hello,
I''m usin gferret and I''ve just attempted to build an index that contains
15,968,046 documents. I''ve rebuild the index from scratch, but when I
try to search for some items I get this error:
IOError: IO Error occured at <except.c>:79 in xraise
Error occured in fs_store.c:289 - fsi_seek_i
seeking pos -1284143798: <Invalid argument>
This is