search for: fs_store

Displaying 20 results from an estimated 50 matches for "fs_store".

Did you mean: ds_store
2013 Apr 16
2
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
...: initialization discards qualifiers from pointer target type compiling ferret.c compiling field_index.c field_index.c: In function ''string_handle_term'': field_index.c:237:23: warning: operation on ''index->values'' may be undefined compiling filter.c compiling fs_store.c fs_store.c: In function ''fso_seek_i'': fs_store.c:252:9: warning: unknown conversion type character ''l'' in format fs_store.c:252:9: warning: format ''%s'' expects type ''char *'', but argument 4 has type ''long long int&...
2005 Nov 30
8
Compilation of ferret C-extension under Windows.
...rror both on clean and patched versions. So seems that it is ferret internal error. test_persist_index(IndexTest): RuntimeError: could not obtain lock: C:/work/opensource/1/111/test/temp/fsdir/ferret- e0bcfc4d8e4ef5b2678a85120e4b572ccommit.lock C:/work/opensource/1/111/test/../lib/ferret/store/fs_store.rb:234:in `obtain'' C:/work/opensource/1/111/test/../lib/ferret/store/directory.rb:133:in `while_locked'' C:/work/opensource/1/111/test/../lib/ferret/index/index_writer.rb:417:in `merge_segments'' C:/work/opensource/1/111/test/../lib/ferret/index/index_writer.rb:...
2006 Apr 28
0
Ferret failing to rebuild_index - occasionally unable to delete a file (_j.cfs)
...ils/thatsprogress/test/unit/item_test Started ........EEEE Finished in 8.922 seconds. 1) Error: test_search_for_count(ItemTest): Errno::EACCES: Permission denied - E:/rails/thatsprogress/config/../index/test/Item/_j.cfs D:/programming/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/store/fs_store.rb:105:in `delete'' D:/programming/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/store/fs_store.rb:105:in `refresh'' D:/programming/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/store/fs_store.rb:104:in `each'' D:/programming/ruby/lib/ruby/gems/1.8/gems/...
2013 Apr 16
1
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
...: initialization discards qualifiers from pointer target type compiling ferret.c compiling field_index.c field_index.c: In function ''string_handle_term'': field_index.c:237:23: warning: operation on ''index->values'' may be undefined compiling filter.c compiling fs_store.c fs_store.c: In function ''fso_seek_i'': fs_store.c:252:9: warning: unknown conversion type character ''l'' in format fs_store.c:252:9: warning: format ''%s'' expects type ''char *'', but argument 4 has type ''long long int&...
2006 Apr 28
5
Ferret failing to rebuild_index - occasionally unable to del
...rails/thatsprogress/test/unit/item_test Started ........EEEE Finished in 8.922 seconds. 1) Error: test_search_for_count(ItemTest): Errno::EACCES: Permission denied - E:/rails/thatsprogress/config/../index/test/Item/_j.cfs D:/programming/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/store/fs_store.rb:105:in `delete'' D:/programming/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/store/fs_store.rb:105:in `refresh'' D:/programming/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/store/fs_store.rb:104:in `each'' D:/programming/ruby/lib/ruby/gems/1.8/gems/fer...
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 ?off_t? fs_store.c:238: warning: format ?%lld? expects type ?long long int?, but argument 4 has type ?off_t? fs_store.c: In function ?fsi_seek_i?: fs_store.c:292: warning: forma...
2006 Oct 30
0
File Store permissions
...e.h --- ext-orig/store.h 2006-09-23 22:11:22.000000000 -0600 +++ ext/store.h 2006-10-21 14:36:50.000000000 -0600 @@ -176,6 +176,8 @@ struct Store CompoundStore *cmpd; /* for compound_store only */ } dir; + mode_t file_mode; + HashSet *locks; /** diff -puN ext-orig/fs_store.c ext/fs_store.c --- ext-orig/fs_store.c 2006-09-23 22:11:22.000000000 -0600 +++ ext/fs_store.c 2006-10-21 15:06:47.000000000 -0600 @@ -51,7 +51,7 @@ static void fs_touch(Store *store, char int f; char path[MAX_FILE_PATH]; join_path(path, store->dir.path, filename); - if (...
2007 Feb 26
7
Problem with large index file
...t 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 Error occured in fs_store.c:289 - fsi_seek_i seeking pos -1206037603: <Invalid argument> As you can see it is seeking on a negative position. I did a strace on this with the following results: _llseek(3, 18446744072766697140, 0xbfc555e0, SEEK_SET) = -1 EINVAL (Invalid argument) rt_sigprocmask(SIG_SETMASK, []...
2006 Sep 22
4
IOError on clearing locks
..., 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 occured at <except.c>:79 in xraise Error occured in fs_store.c:146 - fs_clear_locks clearing locks in persistence_path/00000000001: <No such file or directory> The persistence_path/ directory is the one that was File.rm_r''d. How can I stop this from happening? Is it a bug, or have I messed something up? This worked with 0.9.5,...
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 occurs in /lib/ferret/index.rb:285:in ''delete'' Stopping the server and restarting with an index rebuild solves the problem - but it occurs again after a short time. And this occurs wit...
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 set to 1024 files, the error occurs regularly.. any idea? Ben
2006 Oct 12
3
IO Error occured at <except.c>:79 in xraise (IOError)
...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: /usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:536:in `optimize'': IO Error occured at <except.c>:79 in xraise (IOError) Error occured in fs_store.c:226 - fso_flush_i flushing src of length 1024 from /usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:536:in `optimize'' from /usr/local/ruby-1.8.5/lib/ruby/1.8/monitor.rb:238:in `synchronize'' from /usr/local/ruby-...
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 directory> But the error comes up only sometimes :( Any one pls help Thanks in advance Bincy -- Posted via http://www.ruby-forum.com/.
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
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 /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:211:in `<<'' from /usr/lib/ruby/1.8/monitor.rb:229:in `synchronize'' from /usr/lib/ruby/site_ruby/1.8/ferret/index.rb:186:in `<<''...
2007 Jun 06
6
Is anyone successfully using acts_as_ferret with Ferret 0.11.4?
Hi all, I upgraded from Ferret 0.11.3 to Ferret 0.11.4 because I was getting intermittent segfaults that seemed to be due to a bug which was fixed (changeset 749). Unfortunately, 0.11.4 + acts_as_ferret seems to be a bad combination. I''m getting the some "fs_store/File Not Found Error occured at <except.c>:117" which was reported in the "Constant 0.11.4 Errors" thread [http://www.mail-archive.com/ferret-talk at rubyforge.org/msg03136.html] when aaf tries to update the index after a record is saved. My logs show that about 1400 fields...
2006 Nov 24
2
Strange error. Index corrupt on production server
...8250 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 occurred in search#rss: IO Error occured at <except.c>:79 in xraise Error occured in fs_store.c:323 - fs_open_input couldn''t create InStream /home/newsdesk_prod/current/config/../index/production/pressrelease/_2tap.fdt: <No such file or directory> /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.9/lib/ferret/index.rb:679:in `initialize'' I couldn''t...
2007 Apr 14
3
Error on optimize leads to corrupt index?
...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 to optimize. Ferret::Index::IndexReader.new("indexes/my_index_dir") IOError: IO Error occured at <except.c>:93 in xraise Error occured in fs_store.c:127 - fs_each doing ''each'' in : <No such file or directory> Any thoughts? The directory is definitely there. I''d like to be able to recover from this error someone. Your help is very much appreciated. Erik
2006 Feb 16
2
Ferret with relative index paths
...ush => true) And the indexes/user directory is located directly off the root of my project tree. But when I migrate this same code to my shared TextDrive account, Ferret cannot find the index directory and throws this exception: /usr/local/lib/ruby/gems/1.8/gems/ferret-0.3.2/lib/ferret/store/fs_store.rb:41:in `initialize'': There is no directory: indexes/user. Use create = true to create one (RuntimeError) Do I have to use absolute paths? Or is it perhaps looking somewhere else for the root of its relative paths in different environments? Thanks, Tom
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 doesn''t exist: <No such file or director y>): /usr/lib64/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:285:in `delete'' /usr/lib64/ruby/g...