Displaying 20 results from an estimated 2000 matches similar to: "IO Error occured at <except.c>:79 in xraise (IOError)"
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
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 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 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 Nov 20
0
End-of-File Error occured at <except.c>:79 in xraise
On an average I get this error twice or thrice a week. After I rebuild
the index Event.rebuild_index it works fine.
I''m a bit puzzled by this behavior. Why does this happen? I am using
AAF.
End-of-File Error occured at <except.c>:79 in xraise
Error occured in store.c:216 - is_refill
current pos = 301, file length = 301
/usr/local/lib/ruby/site_ruby/1.8/ferret/index.rb:517:in
2006 Oct 03
8
Ferret install, rake failing on make
I''m currently trying to install the latest version of Ferret (0.10.9)
on my Ubuntu Dapper (6.06) system. I have tried the gem, but it does
not generate the ferret_ext.so file. Ideally I would prefer to install
from the gem, but if source works, I''m fine with that too.
I am now trying an install from source, but when I run the command ''$
rake ext'' I get the
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
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
2007 Feb 25
9
Ferret 0.11.0-rc1
Hey folks,
Sorry for cross posting like this but this is an important
announcement for all Ferret users.
** Description **
Firstly for those who don''t know, Ferret is a full-text search library
which makes adding search to your application a breeze. It''s much
faster than MySQL full-text search as well most other search libraries
out there. It allows you to do Boolean (+ruby +
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 Mar 13
6
Acts_as_ferret and auto-flush
Hi,
I''m using acts_as_ferret in with a mongrel and I'' m getting locking
errors that after a while result in a corrupt database.
I know about the problem with different processes writing to the
index but I haven''t been able to get the DRB server working properly
yet. I read on this list that another solution is to set :auto_flush
to true but I''m not
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
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
2006 Oct 09
7
multi_search problems, Never go away!
Hello, I am trying to use the multi_search method, but I keep getting
type error on nil objects, I send it [Model1,Model2] and it seems as
though the class names keep getting clobbered and turn to nil, somewhere
along the multi_index area. I tried to trace what was going on, but I
got nothing, also, this only happens when there are actually hits(thank
god, most of the time). Perhaps some insight?
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
2006 Dec 16
10
Getting "ArgumentError ( isn''t a valid directory argument.
I''m hoping someone has encountered this before. I''m using AAF trunk and
trying to multi_search across 2 models. It works fine on my windows
(Webricks) dev env but now that i''ve deployed to linux, (Apache,
FastCGI) I''m getting the following error:
ArgumentError ( isn''t a valid directory argument. You should use either
a String or a Directory):
2006 Oct 13
3
Ferret 0.10.11 & AAF: sorting Time fields doesn''t work
Ferret 0.10.11 & AAF: the time seems to be stored in a format that can''t
be sorted, the order doesn''t make any sense. Workaround: use to_i on the
Time object before putting it into the index.
--
Posted via http://www.ruby-forum.com/.
2006 Oct 13
1
uninitialized constant LockException
When I try to search a locked index, I get the exception
uninitialized constant LockException:
/usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:383:in
`[]''
/usr/local/ruby-1.8.5/lib/ruby/1.8/monitor.rb:238:in `synchronize''
/usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:382:in
`[]''
--
Posted
2006 Oct 12
3
Ferret::StateError while using acts_as_ferret
I''m fairly new to ferret / aaf and finding it much easier to use than
HyperEstraier (which I migrated from). However, I am getting a few
errors and I need to figure out if they''re problems with my usage of
ferret or a bug I should report. I''m currently running Ferret 0.10.11
with acts_as_ferret (latest via svn external) and 3 times today I''ve
seen the
2005 Nov 30
8
Compilation of ferret C-extension under Windows.
Hi, David.
I have recently fixed ferret C sources and successfully compile extension
with MSVC.Net The problem was that MS compiler is more stricter that GCC and
require that all variables were declared before using. There was ~30 such
declaration. I have fixed them all.
But I am not sure that it works because tests failed with following error
both on clean and patched versions. So seems that it