Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: gabriel.landais@gmail.com (Gabriel Landais)
Subject: [sup-talk] [bug] NoMemoryError on huge mbox
Date: Tue, 3 Jun 2008 10:09:24 +0200	[thread overview]
Message-ID: <188c71690806030109u23997504w93195ebc7efd22fa@mail.gmail.com> (raw)
In-Reply-To: <1212460371-sup-5830@entry>

On Tue, Jun 3, 2008 at 4:34 AM, William Morgan <wmorgan-sup at masanjin.net> wrote:
> Reformatted excerpts from Gabriel Landais's message of 2008-06-01:
>>  I'm not able to load my Thunderbird mbox into sup. Added my Inbox
>> mbox with sup-add/sup-config :
>
> Interesting. This error seems to occur during a string construction.
> Others have reported weird problems with Thunderbird mbox files before,
> and I now suspect there's something screwy about their mbox format.
> Like, they use \r instead of \n for linebreaks. Which wouldn't make any
> fucking sense at all, but who knows.
>
> Can you post the output of a
>
>  ruby -e 'p File.open("Inbox").read(1000)'
>
> so we can take a look at what these guys are doing? (Or whatever
> Thunderbird file you want instead of "Inbox".)
>

Here it is (for 10, same thing for 100 000!) :

[glandais at server:~/.mozilla-thunderbird/4v86e51w.default/Mail/pops.codelutin.com]
$ ruby -e 'p File.open("Inbox").read(10)'
"\000\000\000\000\000\000\000\000\000\000"

Perhaps I just shouldn't use that mbox. I never understood how
messages are saved in these directories. My folder looks like that :

[glandais at server:~/.mozilla-thunderbird/4v86e51w.default/Mail] $ durep
[ /home/glandais/.mozilla-thunderbird/4v86e51w.default/Mail/  520.3M ]
 276.2M [%%%%%%%%%%%%%%%               ]  1  53.08% Local Folders/
     252.9M [%%%%%%%%%%%%%%%%%%%%%%%%%%%   ]  5  91.59% Inbox.sbd/
          207.8M [%%%%%%%%%%%%%%%%%%%%%%%%      ]  5  82.16% Listes.sbd/
               202.2M [%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ]  0  97.30% cl.sbd/
                 5.5M [                              ]  0   2.63%
decathlon.sbd/
                60.0K [                              ]  0   0.03% le.sbd/
                36.0K [                              ] 14   0.02% [FILES]
                28.0K [                              ]  1   0.01% bricks.sbd/
                     12.0K [%%%%%%%%%%%%                  ]  0
42.86% tapestry.sbd/
                      8.0K [%%%%%%%%                      ]  4  28.57% [FILES]
                12.0K [                              ]  0   0.01% lucene.sbd/
           31.3M [%%%                           ] 16  12.36% [FILES]
            7.1M [                              ]  0   2.81% Projets.sbd/
            4.5M [                              ]  0   1.77% formations.sbd/
            2.1M [                              ]  0   0.84%
simexplorer-si.sbd/
          124.0K [                              ]  0   0.05% sandra.sbd/
      23.2M [%%                            ] 15   8.41% [FILES]
 244.1M [%%%%%%%%%%%%%%                ]  0  46.92% pops.codelutin.com/

It was just to give a try to Sup on Thunderbird, I'll try another mbox.

Thanks

Gabriel


  reply	other threads:[~2008-06-03  8:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01 17:26 Gabriel Landais
2008-06-03  2:34 ` William Morgan
2008-06-03  8:09   ` Gabriel Landais [this message]
2008-06-04  2:42     ` 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=188c71690806030109u23997504w93195ebc7efd22fa@mail.gmail.com \
    --to=gabriel.landais@gmail.com \
    /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