[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Mysterious nil errors



Actually, I know precisely where this is from:

Content-Type: 
Content-Disposition: inline
Content-Transfer-Encoding: base64
RT-Attachment: 1176783/16113169/7868621

Which translates into an empty string and thus the following
trace:

--- NoMethodError from thread: poll after loading inbox
undefined method `downcase' for nil:NilClass
/usr/lib/ruby/gems/1.8/gems/rmail-1.0.0/lib/rmail/header.rb:537:in `content_type'
/home/ezyang/Dev/sup/lib/sup/message.rb:439:in `message_to_chunks'
/home/ezyang/Dev/sup/lib/sup/message.rb:439:in `map'
/home/ezyang/Dev/sup/lib/sup/message.rb:439:in `message_to_chunks'
/home/ezyang/Dev/sup/lib/sup/message.rb:244:in `load_from_source!'
/home/ezyang/Dev/sup/lib/sup/message.rb:340:in `build_from_source'
/home/ezyang/Dev/sup/lib/sup/poll.rb:163:in `each_message_from'
/home/ezyang/Dev/sup/lib/sup/maildir.rb:160:in `each'
[snip]

I suppose this is something that should be fixed on the rmail side...

Cheers,
Edward
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel