Subject: [sup-talk] an error occurred in Sup

From: [email-masked] (Stan Heckman)
Date: Wed, 26 Aug 2009 19:59:46 +0000

While setting up sup I received the error below.
I attach the exception-log requested.

I had told sup-config about my existing maildirs. This produced a large inbox.
I attempted to archive all but 15 recent messages from this inbox by loading
all messages with "!!" and archiving them all by holding down the "a" key for
several seconds.

After several minutes of archiving, I received the error below.

[Wed Aug 26 19:38:08 +0000 2009] stopped cursing
[Wed Aug 26 19:38:08 +0000 2009] oh crap, an exception
[Wed Aug 26 19:38:08 +0000 2009] unlocking /home/stan/.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: periodic poll
undefined method `+' for nil:NilClass
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/maildir.rb:141:in `end_offset'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/source.rb:87:in `done?'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/util.rb:552:in `send'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/util.rb:552:in `__pass'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/util.rb:539:in `method_missing'
/usr/lib/ruby/1.8/sup/poll.rb:89:in `do_poll'
/usr/lib/ruby/1.8/sup/poll.rb:86:in `each'
/usr/lib/ruby/1.8/sup/poll.rb:86:in `do_poll'
/usr/lib/ruby/1.8/sup/poll.rb:85:in `synchronize'
/usr/lib/ruby/1.8/sup/poll.rb:85:in `do_poll'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in `send'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in `method_missing'
/usr/lib/ruby/1.8/sup/modes/poll-mode.rb:17:in `poll'
/usr/lib/ruby/1.8/sup/poll.rb:53:in `poll'
/usr/lib/ruby/1.8/sup/poll.rb:70:in `start'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup.rb:71:in `reporting_thread'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup.rb:69:in `initialize'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup.rb:69:in `new'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup.rb:69:in `reporting_thread'
/usr/lib/ruby/1.8/sup/poll.rb:67:in `start'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in `send'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/lib/sup/util.rb:513:in `method_missing'
/home/stan/.gem/ruby/1.8/gems/sup-0.8.1/bin/sup:213
/home/stan/.gem/ruby/1.8/bin/sup:19:in `load'
/home/stan/.gem/ruby/1.8/bin/sup:19
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: exception-log.txt
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090826/6de40820/attachment.txt>

---

From: [email-masked] (William Morgan)
Date: Fri, 28 Aug 2009 13:38:59 -0700

Reformatted excerpts from Stan Heckman's message of 2009-08-26:
> I had told sup-config about my existing maildirs. This produced a
> large inbox.  I attempted to archive all but 15 recent messages from
> this inbox by loading all messages with "!!" and archiving them all by
> holding down the "a" key for several seconds.

Definitely the slow an painful way to do this, and also the way to
trigger one of the display threading heisenbugs.

I recommend instead using sup-tweak-labels, or starting over and using
--archive when you sup-add the source (and then just adding the inbox
label back to the first 15).
-- 
William <wmorgan-sup at masanjin.net>