Subject: Re: [sup-talk] sup crash

From: Anthony Martinez <[email-masked]>
Date: Tue, 25 May 2010 12:03:25 -0700

Excerpts from Lorenzo Bolla's message of Mon May 24 01:12:19 -0700 2010:
> sup crashed with the exception below.
> I was polling for new messages (loads...) and replying to an e-mail at the
> same time.
> 
> here is the exception:
> 
> --- ArgumentError from thread: poll after loading inbox
> :13634 is out of range [0..13633] for IndexReader#[]
> /usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'

The ferret index is deprecated. Try using the Xapian index.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Lorenzo Bolla <[email-masked]>
Date: Mon, 24 May 2010 09:12:19 +0100

here is the exception:

--- ArgumentError from thread: poll after loading inbox
:13634 is out of range [0..13633] for IndexReader#[]
/usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
/usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/ferret/index.rb:413:in `[]'
/usr/lib/ruby/1.8/sup/ferret_index.rb:257:in `build_message'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/sup/ferret_index.rb:256:in `build_message'
/usr/lib/ruby/1.8/sup/ferret_index.rb:236:in `each_message_in_thread_for'
/usr/lib/ruby/1.8/sup/thread.rb:343:in `call'
/usr/lib/ruby/1.8/sup/thread.rb:343:in `load_thread_for_message'
/usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each_message_in_thread_for'
/usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each'
/usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each_message_in_thread_for'
/usr/lib/ruby/1.8/sup/thread.rb:341:in `load_thread_for_message'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:696:in `add_or_unhide'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in `synchronize'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in `add_or_unhide'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:188:in
`handle_added_update'
/usr/lib/ruby/1.8/sup/update.rb:26:in `send'
/usr/lib/ruby/1.8/sup/update.rb:26:in `relay'
/usr/lib/ruby/1.8/sup/update.rb:26:in `each'
/usr/lib/ruby/1.8/sup/update.rb:26:in `relay'
/usr/lib/ruby/1.8/sup/util.rb:520:in `send'
/usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
/usr/lib/ruby/1.8/sup/poll.rb:166:in `add_new_message'
/usr/lib/ruby/1.8/sup/poll.rb:109:in `do_poll'
/usr/lib/ruby/1.8/sup/poll.rb:151:in `each_message_from'
/usr/lib/ruby/1.8/sup/imap.rb:197:in `each'
/usr/lib/ruby/1.8/sup/imap.rb:185:in `upto'
/usr/lib/ruby/1.8/sup/imap.rb:185:in `each'
/usr/lib/ruby/1.8/sup/util.rb:560:in `send'
/usr/lib/ruby/1.8/sup/util.rb:560:in `__pass'
/usr/lib/ruby/1.8/sup/util.rb:547:in `method_missing'
/usr/lib/ruby/1.8/sup/poll.rb:139:in `each_message_from'
/usr/lib/ruby/1.8/sup/poll.rb:93:in `do_poll'
/usr/lib/ruby/1.8/sup/poll.rb:81:in `each'
/usr/lib/ruby/1.8/sup/poll.rb:81:in `do_poll'
/usr/lib/ruby/1.8/sup/poll.rb:80:in `synchronize'
/usr/lib/ruby/1.8/sup/poll.rb:80:in `do_poll'
/usr/lib/ruby/1.8/sup/util.rb:520:in `send'
/usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
/usr/lib/ruby/1.8/sup/modes/poll-mode.rb:15:in `poll'
/usr/lib/ruby/1.8/sup/poll.rb:48:in `poll'
/usr/lib/ruby/1.8/sup/util.rb:520:in `send'
/usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
/usr/bin/sup-mail:195
/usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
/usr/lib/ruby/1.8/sup.rb:74:in `initialize'
/usr/lib/ruby/1.8/sup.rb:74:in `new'
/usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread'
/usr/bin/sup-mail:195
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:669:in `call'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:669:in
`__unprotected_load_threads'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:610:in `call'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:610:in
`load_n_threads_background'
/usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
/usr/lib/ruby/1.8/sup.rb:74:in `initialize'
/usr/lib/ruby/1.8/sup.rb:74:in `new'
/usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:608:in
`load_n_threads_background'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:679:in
`__unprotected_load_threads'
(eval):12:in `load_threads'
/usr/bin/sup-mail:195
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk