Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] sup crashing after sending mail
Date: Thu, 06 Aug 2009 07:40:08 -0700	[thread overview]
Message-ID: <1249568949-sup-3922@masanjin.net> (raw)
In-Reply-To: <1249514106-sup-9112@xps>

Reformatted excerpts from Igor Brkic's message of 2009-08-05:
> I solved the problem by commenting out the "Time.parse time, 0" (line
> 15 in file lib/sup/mbox.rb).

I'm glad that works, but I have a hard time understanding why.

That line is for parsing the mbox "From " separator line (which has a
date on it). It has nothing to do with the date field in the message,
which is what isn't being set (and thus raising the exception).

If the date parsing on that line is screwed up, then I would except to
see an out-of-sync error raised by Sup, since it would be expecting an
mbox "From " separator line and wouldn't detect the line as such.

If you feel like it, send me a small mbox file (possible your
~/.sup/sent.mbox after being censored) and I can take a look.
-- 
William <wmorgan-sup at masanjin.net>


  reply	other threads:[~2009-08-06 14:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CBBB81512D1FE445823400465FCCFFF2D8AA45@sluga.fer.hr>
2009-08-05 15:29 ` William Morgan
2009-08-05 23:24   ` Igor Brkic
2009-08-06 14:40     ` William Morgan [this message]
2009-08-06 16:57       ` Igor Brkic
     [not found]         ` <1249579173-sup-573@xps>
2009-08-06 17:45           ` William Morgan

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=1249568949-sup-3922@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