Subject: [sup-talk] sup dying with a ferret initialization error

From: [email-masked] (jeff covey)
Date: Wed, 6 Jun 2007 08:42:06 -0400

i was just adding my 2006 mail to sup's index, and now sup dies with this:

./lib/sup/util.rb:5: warning: method redefined; discarding old gen_lock_id
./lib/sup/util.rb:16: warning: method redefined; discarding old dump_lock_id
./lib/sup/buffer.rb:31: warning: already initialized constant KEY_CANCEL
[Wed Jun 06 08:37:37 -0400 2007] locking /home/jeff/.sup/lock...
[Wed Jun 06 08:37:45 -0400 2007] loading index...
/var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `initialize': IO Error occured at <except.c>:93 in xraise (IOError)
Error occured in index.c:901 - sis_find_segments_file
        Error reading the segment infos. Store listing was

        from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `new'
        from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `ensure_reader_open'
        from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:581:in `size'
        from /usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'
        from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:580:in `size'
        from ./lib/sup/index.rb:113:in `load_index'
        from ./lib/sup/index.rb:86:in `load'
        from ./lib/sup/util.rb:315:in `send'
        from ./lib/sup/util.rb:315:in `method_missing'
        from bin/sup:86

any ideas?

thanks,

-- 
jeff covey
http://jeffcovey.net/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: Digital signature
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070606/35d5c5b0/attachment.bin

---

From: [email-masked] (William Morgan)
Date: Wed, 06 Jun 2007 08:27:52 -0700

Excerpts from jeff.covey's message of Wed Jun 06 05:42:06 -0700 2007:
> /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in `initialize':
> IO Error occured at <except.c>:93 in xraise (IOError)
>         from /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:726:in

Crap. I've run into this once before, a while ago, and I think it's a
Ferret bug. I couldn't figure out how to recover the index and had to
start over from scratch. Foolishly I deleted everything, so I've been
waiting to see if it happened again before talking to the Ferret folks.

But if it's happening to you too, I guess I will take this up with the
Ferret folks. The backtrace may be enough. If the index had email you'd
be comfortable sharing, you can send me your ~/.sup/ferret directory.

For the immediate future, I don't know if there's anything to do
besides deleting ~/.sup/ferret and running sup-sync --all-sources --all, 
and losing whatever message state was in your index. :(

-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (jeff.covey at pobox.com)
Date: Wed, 06 Jun 2007 19:03:58 -0400

Excerpts from William Morgan's message of Wed Jun 06 11:27:52 -0400 2007:

> The backtrace may be enough. If the index had email you'd be comfortable
> sharing, you can send me your ~/.sup/ferret directory.

i made a backup of it before restoring my index.  let me know if you don't
have enough information from the backtrace, and i'll send it to you.

> For the immediate future, I don't know if there's anything to do besides
> deleting ~/.sup/ferret and running sup-sync --all-sources --all, and
> losing whatever message state was in your index. :(

i had a sup-dump backup from last night, so i was able to hunt down which
threads i'd labeled.

thanks,

-- 
jeff covey
http://jeffcovey.net/