Subject: [sup-talk] searches dying with an exception

From: [email-masked] (jeff covey)
Date: Tue, 12 Jun 2007 20:59:16 -0400

searches just stopped working for me.  i typed "/" and "reunion" to get
messages about my family reunion, and got the backtrace below.  the same
happens if i hit "S" on an address in the contacts list.

[Tue Jun 12 20:53:55 -0400 2007] oh crap, an exception
[Tue Jun 12 20:53:55 -0400 2007] unlocking /home/jeff/.sup/lock...
----------------------------------------------------------------
I'm very sorry, but it seems that an error occurred in Sup.
Please accept my sincere apologies. If you don't mind, please
send the backtrace below and a brief report of the circumstances
to wmorgan-sup at masanjin dot nets so that I might address this
problem. Thank you!

Sincerely,
William
----------------------------------------------------------------

The problem was: invalid source 460 (error type RuntimeError)
A backtrace follows:
./lib/sup/index.rb:284:in `build_message': invalid source 460 (RuntimeError)
        from ./lib/sup/index.rb:206:in `each_id_by_date'
        from ./lib/sup/thread.rb:305:in `call'
        from ./lib/sup/thread.rb:305:in `load_n_threads'
        from ./lib/sup/index.rb:206:in `each_id_by_date'
        from ./lib/sup/index.rb:206:in `each'
        from ./lib/sup/index.rb:206:in `each_id_by_date'
        from ./lib/sup/thread.rb:301:in `load_n_threads'
        from ./lib/sup/modes/thread-index-mode.rb:353:in `load_n_threads'
        from ./lib/sup/modes/thread-index-mode.rb:343:in `load_n_threads_background'
        from ./lib/sup.rb:58:in `reporting_thread'
        from ./lib/sup.rb:56:in `initialize'
        from ./lib/sup.rb:56:in `new'
        from ./lib/sup.rb:56:in `reporting_thread'
        from ./lib/sup/modes/thread-index-mode.rb:342:in `load_n_threads_background'
        from ./lib/sup/modes/thread-index-mode.rb:391:in `load_threads'
        from bin/sup:212

thanks,

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

---

From: [email-masked] (William Morgan)
Date: Tue, 12 Jun 2007 18:36:21 -0700

> The problem was: invalid source 460 (error type RuntimeError)

This indicates that there's a mismatch because what's in the index and
what's in sources.yaml. In particular, there's no source with an id of
460 (wow, you must have a lot) in sources.yaml, but the index contains
messages which reference that.

This might be a result of the recovery you had to do recently. If your
source.yaml.bak file is still valid, you might try using that instead.
(Or at least seeing which source has id 460). Otherwise, I can try and
resurrect sup-recover-sources.

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

---

From: [email-masked] (jeff covey)
Date: Wed, 13 Jun 2007 18:54:16 -0400

Excerpts from William Morgan's message of Tue Jun 12 21:36:21 -0400 2007:

> what's in sources.yaml. In particular, there's no source with an id of 460

sure enough.  i must have missed a step the last time i rebuilt everything.

thanks,

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