From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] error with Sup while sending mails
Date: Tue, 28 Jul 2009 11:55:50 -0700 [thread overview]
Message-ID: <1248807059-sup-8075@masanjin.net> (raw)
In-Reply-To: <956dbab30907210305s1127ace3s315c8505c9c38141@mail.gmail.com>
Hi Flo,
Reformatted excerpts from paro 462's message of 2009-07-21:
> --- NoMethodError from thread: poll after loading inbox
> undefined method `to_indexable_s' for nil:NilClass
> ./lib/sup/index.rb:243:in `sync_message'
Interesting. You're the second person who's reported this. It has
something to do with parsing a particular date. I'm not sure if it's
locale-related... maybe.
Can you try applying the following patch? I'm hoping that the debugging
output prefixed with XX will provide a clue.
--- a/lib/sup/message.rb
+++ b/lib/sup/message.rb
@@ -92,11 +92,14 @@ class Message
begin
Time.parse date
rescue ArgumentError => e
- #Redwood::log "faking mangled date header for #{@id} (orig #{header['date'].inspect} gave error: #{e.message})"
+ Redwood::log "faking mangled date header for #{@id} (orig #{header['date'].inspect} gave error: #{e.message})"
Time.now
end
- else
- #Redwood::log "faking non-existent date header for #{@id}"
+ end
+
+ @date ||= begin
+ Redwood::log "XX original header was #{header["date"].inspect}"
+ Redwood::log "XX faking non-existent date header for #{@id}"
Time.now
end
--
William <wmorgan-sup at masanjin.net>
next parent reply other threads:[~2009-07-28 18:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <956dbab30907210305s1127ace3s315c8505c9c38141@mail.gmail.com>
2009-07-28 18:55 ` William Morgan [this message]
2009-07-29 10:27 ` Marc Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1248807059-sup-8075@masanjin.net \
--to=wmorgan-sup@masanjin.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox