i've been testing out your 1.9-binary branch a bit. im getting this when trying
to --restore my entire index:
[~] $ sup-sync --restored --restore sup-index-20091218b
Loading state dump from sup-index-20091218b...
Read 10719 entries from dump file.
Scanning maildir:///home/gaute/.mail/gaute.vetsj.com/Gmail.All_Mail...
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/message-chunks.rb:113:in
`gsub': invalid byte sequence in UTF-8 (ArgumentError)
from /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/message-
chunks.rb:113:in `initialize'
from /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/message.rb:537:in
`new'
from /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/message.rb:537:in
`message_to_chunks'
[... snip. ]
When printing out the text that fails it seems to be a GIF image.. likely some
spam. Testing if the encoding is valid gets it through.. but some errors are
spit out (from Iconv??):
[sup.git](19*) $ ruby bin/sup-sync --restored --restore /home/gaute/sup-index-
20091218b
Loading state dump from /home/gaute/sup-index-20091218b...
Read 10719 entries from dump file.
Scanning maildir:///home/gaute/.mail/gaute.vetsj.com/Gmail.All_Mail...
[2009-12-18 18:42:47 +0100] WARNING: couldn't transcode text from unknown-8bit
to UTF-8 ("Kan du sjå desse: Ã"...) (got invalid encoding ("UTF-8", "unknown-
8bit"))
[2009-12-18 18:42:49 +0100] WARNING: couldn't transcode text from utf-8 to UTF-8
("32̂¨³ñÁėö"...) (got invalid byte sequence in UTF-8)
[2009-12-18 18:43:01 +0100] WARNING: couldn't transcode text from utf-8 to UTF-8
("ˑR̃[åώ¸ç"...) (got invalid byte sequence in UTF-8)
Scanned 10394, added 0, updated 0 messages from
maildir:///home/gaute/.mail/gaute.vetsj.com/Gmail.All_Mail.
Scanning maildir:///home/gaute/.mail/stud.hib.no/INBOX/...
Scanned 328, added 0, updated 0 messages from
maildir:///home/gaute/.mail/stud.hib.no/INBOX/.
Scanning sup://drafts...
Scanned 0, added 0, updated 0 messages from sup://drafts.
Scanning sup://sent...
Scanned 0, added 0, updated 0 messages from sup://sent.
- gaute
|