Subject: Re: [sup-talk] sup finds exception and exits

From: William Morgan <[email-masked]>
Date: Sat, 19 Dec 2009 11:19:08 -0800

Reformatted excerpts from Susana Core's message of 2009-12-07:
> I have been using sup for about six months and today it started
> having fatal problems.  I'll appreciate any suggestions. 

Based on the backtrace I think you have a fairly old version of Sup. Can
you try it with 0.9.1 please?

If the problem persists, please submit a bug report at
http://masanjin.net/sup-bugs/. Thanks!
-- 
William <[email-masked]>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Tero Tilus <[email-masked]>
Date: Mon, 07 Dec 2009 21:01:12 +0200

Susana Core, 2009-12-07 17:45:
> Below are the error messages.

At glance it doesn't look like the error has anything to do with
deleted mail.  But I could just be terribly wrong.  :)

Are you able to sup-dump your tags and reindex?  That might help you.

For instructions on how to do that, see sup FAQ
<http://sup.rubyforge.org/FAQ.txt> questions "How do I back up my
index?" and "How do I rebuild the index completely?".  You might want
to backup your ~/.sup/ferret just in case you would like to go back.

> I should clarify that while I don't delete email from my mailbox the
> policy for the mail account is that after three months messages are
> deleted.

Uough!  That policy really sucks.  :(

If I had to work with something like that I'd prolly mirror incoming
mails to my own mail archive (using fetchmail, offlineimap or similar)

-- 
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Jonathan Lassoff <[email-masked]>
Date: Mon, 07 Dec 2009 10:21:45 -0800

Excerpts from Susana Core's message of Mon Dec 07 07:45:02 -0800 2009:
>    Below are the error messages. I should clarify that while I don't
>    delete email from my mailbox the policy for the mail account 
>    is that after three months messages are deleted.  This might be
>    relevant since sup exits while polling for new messages in a thread
>    which contains at least one message older than 3 months, i.e.
>    while tryint to load a message which has been deleted.

My experience is that sup has dealt with this gracefully (message is
deleted from the actual source, but not from the index) and displays a
message about it "not playing nice with others", but it still should be
avoided if possible.

Are you deleting the message from the index as well or just from the
source?

Cheers,
jonathan

---

From: Susana Core <[email-masked]>
Date: Mon, 7 Dec 2009 09:45:02 -0600

Thanks,

   Susana.

   ____________________error messages_______________________________

   Polling for new messages...                                                         (eval):1: warning: instance variable @source_marked_read not initialized
   [Mon Dec 07 09:25:33 -0600 2009] stopped cursing
   [Mon Dec 07 09:25:33 -0600 2009] oh crap, an exception
   [Mon Dec 07 09:25:33 -0600 2009] unlocking /home/susana/.sup/lock...
   ----------------------------------------------------------------
   I'm very sorry. It seems that an error occurred in Sup. Please
   accept my sincere apologies. If you don't mind, please send the
   contents of ~/.sup/exception-log.txt and a brief report of the
   circumstances to sup-talk at rubyforge dot orgs so that I might
   address this problem. Thank you!

   Sincerely,
   William
   ----------------------------------------------------------------
   --- NoMethodError from thread: poll after loading inbox
   undefined method `to_indexable_s' for nil:NilClass
   ./lib/sup/index.rb:244:in `sync_message'
   ./lib/sup/util.rb:505:in `send'
   ./lib/sup/util.rb:505:in `method_missing'
   ./lib/sup/poll.rb:162:in `add_messages_from'
   ./lib/sup/source.rb:100:in `each'
   ./lib/sup/util.rb:544:in `send'
   ./lib/sup/util.rb:544:in `__pass'
   ./lib/sup/util.rb:531:in `method_missing'
   ./lib/sup/poll.rb:141:in `add_messages_from'
   ./lib/sup/poll.rb:98:in `do_poll'
   ./lib/sup/poll.rb:86:in `each'
   ./lib/sup/poll.rb:86:in `do_poll'
   ./lib/sup/poll.rb:85:in `synchronize'
   ./lib/sup/poll.rb:85:in `do_poll'
   ./lib/sup/util.rb:505:in `send'
   ./lib/sup/util.rb:505:in `method_missing'
   ./lib/sup/modes/poll-mode.rb:17:in `poll'
   ./lib/sup/poll.rb:53:in `poll'
   ./lib/sup/util.rb:505:in `send'
   ./lib/sup/util.rb:505:in `method_missing'
   bin/sup:206
   ./lib/sup.rb:71:in `reporting_thread'
   ./lib/sup.rb:69:in `initialize'
   ./lib/sup.rb:69:in `new'
   ./lib/sup.rb:69:in `reporting_thread'
   bin/sup:206
   ./lib/sup/modes/thread-index-mode.rb:663:in `call'
   ./lib/sup/modes/thread-index-mode.rb:663:in `__unprotected_load_threads'
   ./lib/sup/modes/thread-index-mode.rb:605:in `call'
   ./lib/sup/modes/thread-index-mode.rb:605:in `load_n_threads_background'
   ./lib/sup.rb:71:in `reporting_thread'
   ./lib/sup.rb:69:in `initialize'
   ./lib/sup.rb:69:in `new'
   ./lib/sup.rb:69:in `reporting_thread'
   ./lib/sup/modes/thread-index-mode.rb:603:in `load_n_threads_background'
   ./lib/sup/modes/thread-index-mode.rb:673:in `__unprotected_load_threads'
   (eval):12:in `load_threads'
   bin/sup:206

   ____________________ end of error messages_________________________