Subject: Re: [sup-talk] sup exception

From: Rich Lane <[email-masked]>
Date: Mon, 12 Jul 2010 22:05:04 -0400

Applied to master.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Ben Walton <[email-masked]>
Date: Sat, 03 Jul 2010 09:35:38 -0400

Excerpts from Ben Walton's message of Wed Jun 09 22:42:12 -0400 2010:

> I needed the following patch to run (old 1.8 here; no
> Symbol#to_proc).

Bump...

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

---

From: Rich Lane <[email-masked]>
Date: Wed, 09 Jun 2010 21:44:05 -0400

I've pushed a workaround for this issue to master.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Brian May <[email-masked]>
Date: Thu, 10 Jun 2010 10:39:33 +1000

I am still getting similar results. Unfortunately, if this cannot be
resolved I will have to look for alternatives to sup; I use sup so I
can access my old emails easily, but it keeps crashing when I try to
do so :-(

Latest stack trace:

 [Thu Jun 10 10:39:59 +1000 2010] ERROR: oh crap, an exception
----------------------------------------------------------------
I'm very sorry. It seems that an error occurred in Sup. Please
accept my sincere apologies. Please submit the contents of
/home/brian/.sup/exception-log.txt and a brief report of the
circumstances to http://masanjin.net/sup-bugs/ so that I might
address this problem. Thank you!

Sincerely,
William
----------------------------------------------------------------
--- RuntimeError from thread: load threads for thread-index-mode
wrong id called on nil
/home/brian/tree/sup/lib/sup.rb:17:in `id'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `update'
/home/brian/tree/sup/lib/sup/hook.rb:123:in `sort_by'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `each'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `sort_by'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `update'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:232:in `synchronize'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:232:in `update'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:652:in
`__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:624:in
`load_n_threads_background'
/home/brian/tree/sup/lib/sup.rb:77:in `reporting_thread'
/home/brian/tree/sup/lib/sup.rb:75:in `initialize'
/home/brian/tree/sup/lib/sup.rb:75:in `new'
/home/brian/tree/sup/lib/sup.rb:75:in `reporting_thread'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:623:in
`load_n_threads_background'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:694:in
`__unprotected_load_threads'
(eval):12:in `load_threads'
/home/brian/tree/sup/lib/sup/modes/search-results-mode.rb:48:in
`spawn_from_query'
/home/brian/tree/sup/bin/sup:295

On 20 April 2010 11:08, Brian May <[email-masked]> wrote:
> If I try to search for the string "outage" in my mail, sup crashes, every time:
>
>
> [Tue Apr 20 11:06:59 +1000 2010] ERROR: oh crap, an exception
> ----------------------------------------------------------------
> I'm very sorry. It seems that an error occurred in Sup. Please
> accept my sincere apologies. Please submit the contents of
> /home/brian/.sup/exception-log.txt and a brief report of the
> circumstances to http://masanjin.net/sup-bugs/ so that I might
> address this problem. Thank you!
>
> Sincerely,
> William
> ----------------------------------------------------------------
> --- RuntimeError from thread: load threads for thread-index-mode
> wrong id called on nil
> /home/brian/tree/sup/lib/sup.rb:17:in `id'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `update'
> /home/brian/tree/sup/lib/sup/hook.rb:123:in `sort_by'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `each'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `sort_by'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:234:in `update'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:232:in `synchronize'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:232:in `update'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:652:in
> `__unprotected_load_n_threads'
> (eval):12:in `load_n_threads'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:624:in
> `load_n_threads_background'
> /home/brian/tree/sup/lib/sup.rb:77:in `reporting_thread'
> /home/brian/tree/sup/lib/sup.rb:75:in `initialize'
> /home/brian/tree/sup/lib/sup.rb:75:in `new'
> /home/brian/tree/sup/lib/sup.rb:75:in `reporting_thread'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:623:in
> `load_n_threads_background'
> /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:694:in
> `__unprotected_load_threads'
> (eval):12:in `load_threads'
> /home/brian/tree/sup/lib/sup/modes/search-results-mode.rb:48:in
> `spawn_from_query'
> /home/brian/tree/sup/bin/sup:294
>
>
> --
> Brian May <[email-masked]>
>

-- 
Brian May <[email-masked]>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Brian May <[email-masked]>
Date: Thu, 10 Jun 2010 12:00:16 +1000

> I've pushed a workaround for this issue to master.

No joy :-(

[Thu Jun 10 12:02:13 +1000 2010] ERROR: oh crap, an exception

Sincerely,
William
----------------------------------------------------------------
--- NoMethodError from thread: load threads for thread-index-mode
undefined method `to_nice_s' for nil:NilClass
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:919:in
`default_date_widget_for'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:733:in
`date_widget_for_thread'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:237:in `update'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:237:in `map'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:237:in `update'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:232:in `synchronize'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:232:in `update'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:652:in
`__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:624:in
`load_n_threads_background'
/home/brian/tree/sup/lib/sup.rb:77:in `reporting_thread'
/home/brian/tree/sup/lib/sup.rb:75:in `initialize'
/home/brian/tree/sup/lib/sup.rb:75:in `new'
/home/brian/tree/sup/lib/sup.rb:75:in `reporting_thread'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:623:in
`load_n_threads_background'
/home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:694:in
`__unprotected_load_threads'
(eval):12:in `load_threads'
/home/brian/tree/sup/lib/sup/modes/search-results-mode.rb:48:in
`spawn_from_query'
/home/brian/tree/sup/bin/sup:295

Do I need to do anything, e.g. update my indexes, for this to work?

Thanks

---

From: Ben Walton <[email-masked]>
Date: Wed, 09 Jun 2010 22:42:12 -0400

Excerpts from Rich Lane's message of Wed Jun 09 22:15:07 -0400 2010:
> Try it now.

/me goes back to building xapian for ruby 1.9.1 on rhel5.

Thanks
-Ben

---

From: Rich Lane <[email-masked]>
Date: Wed, 09 Jun 2010 22:15:07 -0400

Try it now.

---

From: Brian May <[email-masked]>
Date: Tue, 20 Apr 2010 11:08:57 +1000

Sincerely,
William

---

From: Brian May <[email-masked]>
Date: Thu, 10 Jun 2010 12:47:23 +1000

> Try it now.

It still... Oh wait forgot to run git merge... My bad.

It doesn't crash anymore!

Thanks for this.

Glad to have assisted making sup more robust.
-- 
Brian May <[email-masked]>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk