Hi all, Today sup stopped working for me. Indeed while sup is polling I get the attached backtrace. I have no idea about the reason but suspect that some email is ill formatted and I will try to find it by editing my mbox. To edit my mbox I would like to use mutt, however I don''t know how to go to newer emails, currently that''s older first and I have a 950MB mbox so don''t want to scroll... -- Nicolas Pouillard aka Ertai -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: exception-log.txt URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20080810/7aba198c/attachment-0001.txt>
Reformatted excerpts from nicolas.pouillard''s message of 2008-08-10:> --- TypeError from thread: poll after loading inbox > can''t modify frozen string > /opt/local/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:159:in `[]=''Try changing line 159 of multipart.rb to: chunk = chunk[0..start] RMail hasn''t been updated since like Ruby 1.8.2. -- William <wmorgan-sup at masanjin.net>
Excerpts from William Morgan''s message of Sun Aug 10 20:31:17 +0200 2008:> Reformatted excerpts from nicolas.pouillard''s message of 2008-08-10: > > --- TypeError from thread: poll after loading inbox > > can''t modify frozen string > > /opt/local/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:159:in `[]='' > > Try changing line 159 of multipart.rb to: > chunk = chunk[0..start]Many thanks!!! I''m back to sup!> RMail hasn''t been updated since like Ruby 1.8.2.That''s sad. Is RMail active again? Otherwise sup should really consider having a personal version of it. BTW another question, how can I split my mbox file and sync sup again? Cheers, -- Nicolas Pouillard aka Ertai -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20080810/a7013445/attachment.bin>
On 10.8.2008, Nicolas Pouillard wrote:> BTW another question, how can I split my mbox file and sync sup again?Use ruby and rmail ;) ... actually I''m not joking I just split a 600mb mbox with rmail into month-year archives and it worked really well. Use the RMail::Mailbox.parse_mbox method to parse you file into raw messages and then you can use RMail::Parser.read(raw).header.date to give you something you can turn into a date/month string. Use sup-dump before you split, and then restore from that after you set up all the mboxes as your new sources with sup-add. HTH Marcus
Reformatted excerpts from Marcus Williams''s message of 2008-08-10:> On 10.8.2008, Nicolas Pouillard wrote: > > BTW another question, how can I split my mbox file and sync sup > > again? > > Use ruby and rmail ;)[snip]> Use sup-dump before you split, and then restore from that after you > set up all the mboxes as your new sources with sup-add.Yep, this is pretty much what I would recommend too. -- William <wmorgan-sup at masanjin.net>