FastRI, Error on full-text search

Discussion in 'Ruby' started by Daniel Schömer, May 4, 2008.

  1. 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
    Daniel Schömer, May 4, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Samuel R. Neff
    Replies:
    2
    Views:
    578
    bradley
    Jun 10, 2005
  2. Mauricio Fernandez
    Replies:
    3
    Views:
    161
    Mauricio Fernandez
    Nov 10, 2006
  3. Mauricio Fernandez
    Replies:
    7
    Views:
    118
    Thomas Nitsche
    Nov 21, 2006
  4. Mauricio Fernandez
    Replies:
    5
    Views:
    104
    Robert Feldt
    Nov 23, 2006
  5. Mauricio Fernandez
    Replies:
    6
    Views:
    141
    Mauricio Fernandez
    Jan 31, 2007
Loading...

Share This Page