Excerpts from Carl Worth''s message of Sub Kol 15 06:14:46 +0200 2009:> PS. I''m sending this message from mutt since sup crashed when I tried > to send the message (see exception output below). I think this is oneHi Carl! I had same problem with sup. Sup actually manages to send message before crashing and then it crashes when indexing sent messages. Solution that worked for me is to comment out line "Time.parse time, 0" in mbox.rb file. This is not good solution, more like a hack, but for some reason it works for me. Try it out. I tried to find out why this is happening, but I''m not so familiar with sup internals (and not so good in ruby too) and didn''t come to any conclusion. Igor
Excerpts from Igor Brkic''s message of Sat Aug 15 03:18:33 -0700 2009:> Hi Carl!Hi Igor!> I had same problem with sup. Sup actually manages to send message before > crashing and then it crashes when indexing sent messages.Ah, yes. I did notice afterwards that my original message did make it to the list. So sorry for all the noise, (though my first send of the patch did have some debug junk in it, so I suppose it''s good I sent a cleaner version).> Solution that worked for me is to comment out line "Time.parse time, 0" > in mbox.rb file. This is not good solution, more like a hack, but for > some reason it works for me. Try it out.Thanks. I gave this a try, but it didn''t work for me. I''m also not much for debugging ruby so I haven''t made much progress here yet. (Is there anything like gdb for ruby? If I could just march up the stack and more easily find where m.date should be initialized to non-nil then that might help). But thanks for describing the bug more accurately for mo. At least knowing that the crash is happening while indexing ~/.sup/sent.mb I was able to just move that out of the way for now, so I can at least run sup again. And actually, this brings up another point for that missing reference manual. How can I configure sup to deliver sent messages to a maildir instead of an mbox? (I''d prefer that anyway, and it just might workaround this bug.) Thanks for the warm welcome, -Carl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090815/849f4ac4/attachment.bin>
Reformatted excerpts from Igor Brkic''s message of 2009-08-15:> Solution that worked for me is to comment out line "Time.parse time, > 0" in mbox.rb file. This is not good solution, more like a hack, but > for some reason it works for me. Try it out.I''ve think I''ve fixed this in master. Thanks for your log; that was helpful. The problem was that Sup was producing the date component of the From_ lines in the sent mail mbox using the current locale, and later on wouldn''t necessarily recognize that as a date. (Particularly for people with "funny locales".) You will have to manually edit your ~/.sup/sent.mbox file and change all the From_ line dates that are not in UTC to UTC. If there are just a couple, you should be able to copy and paste from the Date: header a few lines below. Removing the Time.parse line you mention will work, but it has the side effect of potentially splitting mbox files in mid-message. E.g. if you ever have a line of text like "From xxx yyy\n", Sup will consider that a message delimiter. This is fallout from the great mbox From_ line misdesign of 1972. Please let me know if it works for you. -- William <wmorgan-sup at masanjin.net>
Excerpts from William Morgan''s message of Sun Aug 16 23:22:56 +0200 2009:> I''ve think I''ve fixed this in master. Thanks for your log; that was > helpful. The problem was that Sup was producing the date component of > the From_ lines in the sent mail mbox using the current locale, and > later on wouldn''t necessarily recognize that as a date. (Particularly > for people with "funny locales".) > > ... > > Please let me know if it works for you.I''ve made changes and for now it works like a charm. Thanks! Igor