On Tue, Jun 3, 2008 at 4:34 AM, William Morgan <[EMAIL PROTECTED]> 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!) :

[EMAIL 
PROTECTED]:~/.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 :

[EMAIL PROTECTED]:~/.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
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to