Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] sup errors with 0 messages in a folder
@ 2007-07-23 21:03 Dan Sully
  2007-07-24 17:52 ` William Morgan
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Sully @ 2007-07-23 21:03 UTC (permalink / raw)


If there is a maildir folder with 0 messages, sup will die:

lib/sup/source.rb:80:in `done?': undefined method `>=' for nil:NilClass
(NoMethodError)

I've tried catching that in lib/sup/poll.rb, which works for sup-sync (to get
it to "complete"), but the index isn't written out correctly, so sup proper
thinks that folder is then out of sync.

-D
--
<dsully> please describe web 2.0 to me in 2 sentences or less.
<jwb> you make all the content. they keep all the revenue.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-07-25  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-23 21:03 [sup-talk] sup errors with 0 messages in a folder Dan Sully
2007-07-24 17:52 ` William Morgan
2007-07-24 18:14   ` Dan Sully
2007-07-24 18:26     ` Dan Sully
2007-07-24 22:14       ` William Morgan
2007-07-24 22:22         ` Dan Sully
2007-07-25  0:00           ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox