* [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
* [sup-talk] sup errors with 0 messages in a folder 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 0 siblings, 1 reply; 7+ messages in thread From: William Morgan @ 2007-07-24 17:52 UTC (permalink / raw) A non-text attachment was scrubbed... Name: a.patch Type: application/octet-stream Size: 446 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070724/711d24a5/attachment-0001.obj ^ permalink raw reply [flat|nested] 7+ messages in thread
* [sup-talk] sup errors with 0 messages in a folder 2007-07-24 17:52 ` William Morgan @ 2007-07-24 18:14 ` Dan Sully 2007-07-24 18:26 ` Dan Sully 0 siblings, 1 reply; 7+ messages in thread From: Dan Sully @ 2007-07-24 18:14 UTC (permalink / raw) * William Morgan shaped the electrons to say... >I don't have a good maildir testing setup any more. Can you try this >quick fix? (Going through this code again reminds me how I need to >rework it all...) Yep - works much better than my hack did. Thanks -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
* [sup-talk] sup errors with 0 messages in a folder 2007-07-24 18:14 ` Dan Sully @ 2007-07-24 18:26 ` Dan Sully 2007-07-24 22:14 ` William Morgan 0 siblings, 1 reply; 7+ messages in thread From: Dan Sully @ 2007-07-24 18:26 UTC (permalink / raw) * Dan Sully shaped the electrons to say... >Yep - works much better than my hack did. Well, not quite. sup-sync now completes, but when running sup, I get: Source: maildir:/home/daniel/mail/lists/perl/p5p/ Error: Unknown message id 0. Fix: sup-sync --changed maildir:/home/daniel/mail/lists/perl/p5p/ And running that does not get rid of the message. -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
* [sup-talk] sup errors with 0 messages in a folder 2007-07-24 18:26 ` Dan Sully @ 2007-07-24 22:14 ` William Morgan 2007-07-24 22:22 ` Dan Sully 0 siblings, 1 reply; 7+ messages in thread From: William Morgan @ 2007-07-24 22:14 UTC (permalink / raw) A non-text attachment was scrubbed... Name: a.patch Type: application/octet-stream Size: 1233 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070724/25f8db5f/attachment.obj ^ permalink raw reply [flat|nested] 7+ messages in thread
* [sup-talk] sup errors with 0 messages in a folder 2007-07-24 22:14 ` William Morgan @ 2007-07-24 22:22 ` Dan Sully 2007-07-25 0:00 ` William Morgan 0 siblings, 1 reply; 7+ messages in thread From: Dan Sully @ 2007-07-24 22:22 UTC (permalink / raw) * William Morgan shaped the electrons to say... >How about this one? Better.. had to change the "check" to be "start = check" -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
* [sup-talk] sup errors with 0 messages in a folder 2007-07-24 22:22 ` Dan Sully @ 2007-07-25 0:00 ` William Morgan 0 siblings, 0 replies; 7+ messages in thread From: William Morgan @ 2007-07-25 0:00 UTC (permalink / raw) Excerpts from Dan Sully's message of Tue Jul 24 15:22:44 -0700 2007: > Better.. had to change the "check" to be "start = check" Good catch. Thanks. I'm going to rework these to be less horrendous in the near future. -- William <wmorgan-sup at masanjin.net> ^ 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