Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] exception while syncing
@ 2007-11-01  4:59 Manish Sapariya
  2007-11-01  5:33 ` Colin Bell
  0 siblings, 1 reply; 2+ messages in thread
From: Manish Sapariya @ 2007-11-01  4:59 UTC (permalink / raw)


Hi All,
Is this known issue? If yes, can anyone suggest workaroud, if no
where can log bug for this issue? Please let me know if you need
more info in any case.

I saw following warnings before the crash.
[Thu Nov 01 10:11:12 +0530 2007] warning: error decoding message body
from "us-ascii": "\222t waste time. C"...
[Thu Nov 01 10:11:12 +0530 2007] ignoring erroneous message at
mbox:/data/personel/mails/ImapMail/INBOX#25586133: no message-id field
in header {} (source mbox:/data/personel/mails/ImapMail/INBOX offset
25586133)
[Thu Nov 01 10:11:56 +0530 2007] warning: error decoding message body
from "iso-8859-8-i": invalid encoding ("UTF-8", ""iso-8859-8-i"")
[Thu Nov 01 10:12:01 +0530 2007] warning: error decoding message body
from "us-ascii": "\222ll save up to 5"...
## 2344 (32.39%) read; 0:01:00 elapsed; 0:02:05 remaining
[Thu Nov 01 10:12:08 +0530 2007] warning: error decoding message body
from "ks_c_5601-1987": invalid encoding ("UTF-8", ""ks_c_5601-1987"")


/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:159:in
`[]=': can't modify frozen string (TypeError)
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:159:in
`read_chunk_low'
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:94:in
`loop'
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:94:in
`read_chunk_low'
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:76:in
`read_chunk'
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:85:in 

`read'
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser.rb:285:in
`parse_singlepart_body'
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser.rb:198:in
`parse_low'
        from
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser.rb:275:in
`parse_multipart_body'
         ... 26 levels...
        from /usr/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup-sync:128:in `each'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup-sync:128
        from /usr/bin/sup-sync:16:in `load'
        from /usr/bin/sup-sync:16

Regards,
Manish



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [sup-talk] exception while syncing
  2007-11-01  4:59 [sup-talk] exception while syncing Manish Sapariya
@ 2007-11-01  5:33 ` Colin Bell
  0 siblings, 0 replies; 2+ messages in thread
From: Colin Bell @ 2007-11-01  5:33 UTC (permalink / raw)


Excerpts from Manish Sapariya's message of Thu Nov 01 15:59:59 +1100 2007:
> Hi All,
> Is this known issue? If yes, can anyone suggest workaroud, if no
> where can log bug for this issue? Please let me know if you need
> more info in any case.
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/parser/multipart.rb:159:in
> `[]=': can't modify frozen string (TypeError)
>         from

Probably this problem from the FAQ
http://sup.rubyforge.org/FAQ.txt

P: I get some error message from Rubymail about frozen strings when
   importing messages with attachments.
S: The current solution is to directly modify RubyMail.
  Change line 159 of   multipart.rb to:
     chunk = chunk[0..start]
   This is because RubyMail hasn't been updated since like Ruby 1.8.2.
   Please bug Matt Lickey.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-01  5:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-01  4:59 [sup-talk] exception while syncing Manish Sapariya
2007-11-01  5:33 ` Colin Bell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox