* [sup-talk] Problems in message_to_chunks
@ 2007-10-27 22:59 Christopher Warrington
2007-10-28 1:04 ` William Morgan
0 siblings, 1 reply; 3+ messages in thread
From: Christopher Warrington @ 2007-10-27 22:59 UTC (permalink / raw)
Line 322 is producing Nils is various contexts in r630:
On opening the inbox-mode:
The problem was: 'private method `format' called for nil:NilClass' (error type
NoMethodError)
A backtrace follows:
./sup/trunk/lib/sup/message.rb:328:in `message_to_chunks': private method
`format' called for nil:NilClass (NoMethodError)
from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
from ./sup/trunk/lib/sup/message.rb:322:in `map'
from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
from ./sup/trunk/lib/sup/message.rb:154:in `load_from_source!'
from ./sup/trunk/lib/sup/message.rb:207:in `content'
from ./sup/trunk/lib/sup/index.rb:172:in `sync_message'
from ./sup/trunk/lib/sup/util.rb:395:in `send'
from ./sup/trunk/lib/sup/util.rb:395:in `method_missing'
... 32 levels...
from ./sup/trunk/lib/sup.rb:68:in `reporting_thread'
from ./sup/trunk/lib/sup/modes/thread-index-mode.rb:342:in
`load_n_threads_background'
from ./sup/trunk/lib/sup/modes/thread-index-mode.rb:392:in
`load_threads'
from sup/trunk/bin/sup:187
On sup-syncing a large IMAP folder:
/usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/utils.rb:48:in `base64_decode':
undefined method `unpack' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/message.rb:117:in
`decode'
from ./sup/trunk/lib/sup/message-chunks.rb:50:in `initialize'
from ./sup/trunk/lib/sup/message.rb:347:in `new'
from ./sup/trunk/lib/sup/message.rb:347:in `message_to_chunks'
from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
from ./sup/trunk/lib/sup/message.rb:322:in `map'
from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
from ./sup/trunk/lib/sup/message.rb:154:in `load_from_source!'
... 13 levels...
from ./sup/trunk/lib/sup/util.rb:395:in `method_missing'
from sup/trunk/bin/sup-sync:133
from sup/trunk/bin/sup-sync:128:in `each'
from sup/trunk/bin/sup-sync:128
--
Christopher Warrington <chrisw at rice.edu>
(away from his normal computer)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] Problems in message_to_chunks
2007-10-27 22:59 [sup-talk] Problems in message_to_chunks Christopher Warrington
@ 2007-10-28 1:04 ` William Morgan
2007-10-28 4:50 ` Christopher Warrington
0 siblings, 1 reply; 3+ messages in thread
From: William Morgan @ 2007-10-28 1:04 UTC (permalink / raw)
Excerpts from Christopher Warrington's message of Sat Oct 27 15:59:03 -0700 2007:
> On opening the inbox-mode:
> The problem was: 'private method `format' called for nil:NilClass' (error type
> NoMethodError)
Weird. It looks like RubyMail can't find a From: line in a
message/rfc822 attachment. If you get a chance, send me the message in
question so I can play with it. I think this should be special-cased as
of r634 though.
> On sup-syncing a large IMAP folder:
> /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/utils.rb:48:in `base64_decode':
> undefined method `unpack' for nil:NilClass (NoMethodError)
> from /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/message.rb:117:in
> `decode'
Weird. It looks like RubyMail is having trouble parsing an attachment.
Same as above: should be special-cased in r634, and send me the message
if you get a chance.
Thanks!
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] Problems in message_to_chunks
2007-10-28 1:04 ` William Morgan
@ 2007-10-28 4:50 ` Christopher Warrington
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Warrington @ 2007-10-28 4:50 UTC (permalink / raw)
Excerpts from William Morgan's message of Sat Oct 27 20:04:17 -0500 2007:
> Excerpts from Christopher Warrington's message of Sat Oct 27 15:59:03 -0700 2007:
>> On opening the inbox-mode: The problem was: 'private method `format'
>> called for nil:NilClass' (error type NoMethodError)
> Weird. It looks like RubyMail can't find a From: line in a
> message/rfc822 attachment. If you get a chance, send me the message in
> question so I can play with it. I think this should be special-cased
> as of r634 though.
Yeah. It works in r639. I'd send you the message, but I don't know which
one was causing the error. If it happens again, I will.
>> On sup-syncing a large IMAP folder:
>> /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/utils.rb:48:in `base64_decode':
>> undefined method `unpack' for nil:NilClass (NoMethodError)
>> from /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/message.rb:117:in
>> `decode'
> Weird. It looks like RubyMail is having trouble parsing an attachment.
> Same as above: should be special-cased in r634, and send me the
> message if you get a chance.
This too appears to be working in r639. Thanks.
--
Christopher Warrington <chrisw at rice.edu>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-28 4:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-27 22:59 [sup-talk] Problems in message_to_chunks Christopher Warrington
2007-10-28 1:04 ` William Morgan
2007-10-28 4:50 ` Christopher Warrington
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox