D
Daniel Schömer
Hi,
every time I use FastRI's full-text search, I get an error:
# fastri-server -b
Indexing RI docs for fastri version 0.3.1.1.
Indexing RI docs for rubygems version 1.1.1.
Building index.
Indexed:
* 9065 methods
* 1584 classes/modules
Needed 1.26779 seconds
# fastri-server -B
Indexing RI docs for fastri version 0.3.1.1.
Indexing RI docs for rubygems version 1.1.1.
# qri --no-pager -S sort
/usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:209:in `load': marshal data too short (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:209:in `find_metadata'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:195:in `loop'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:195:in `find_metadata'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:126:in `next_matches'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:118:in `loop'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:118:in `next_matches'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:184:in `get_sarray_IO'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:184:in `open'
... 8 levels...
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/qri:229:in `perform_fulltext_search'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/qri:269
from /usr/bin/qri:19:in `load'
from /usr/bin/qri:19
I get this error no matter how many or which gems are installed.
Installing FastRI 0.3.1 from the tarball (and regenerating the
index) didn't made any difference.
Any ideas?
I'm running ruby 1.8.6 p114, rubygems 1.1.1 and fastri 0.3.1.1 on
Gentoo/Linux.
Daniel
every time I use FastRI's full-text search, I get an error:
# fastri-server -b
Indexing RI docs for fastri version 0.3.1.1.
Indexing RI docs for rubygems version 1.1.1.
Building index.
Indexed:
* 9065 methods
* 1584 classes/modules
Needed 1.26779 seconds
# fastri-server -B
Indexing RI docs for fastri version 0.3.1.1.
Indexing RI docs for rubygems version 1.1.1.
# qri --no-pager -S sort
/usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:209:in `load': marshal data too short (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:209:in `find_metadata'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:195:in `loop'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:195:in `find_metadata'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:126:in `next_matches'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:118:in `loop'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:118:in `next_matches'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:184:in `get_sarray_IO'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/lib/fastri/full_text_index.rb:184:in `open'
... 8 levels...
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/qri:229:in `perform_fulltext_search'
from /usr/lib/ruby/gems/1.8/gems/fastri-0.3.1.1/bin/qri:269
from /usr/bin/qri:19:in `load'
from /usr/bin/qri:19
I get this error no matter how many or which gems are installed.
Installing FastRI 0.3.1 from the tarball (and regenerating the
index) didn't made any difference.
Any ideas?
I'm running ruby 1.8.6 p114, rubygems 1.1.1 and fastri 0.3.1.1 on
Gentoo/Linux.
Daniel