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

Re: [sup-talk] sup crashes on sending emails



Excerpts from Ruthard Baudach's message of 2010-11-27 12:05:45 -0500:
> I've installed sup 0.11 using rubygem and ruby 1.8.
> 
> sup crashes whenever I send an email, exception.log shows:
> 
> 
> --- TypeError from thread: main
> can't convert nil into String
> /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/mbox/loader.rb:117:in  
> `exists?'
> /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/mbox/loader.rb:117:in  
> `store_message'

*snip*

> I've found this on http://masanjin.net/sup-bugs/ marked as "solved", but  
> could not find any hints how to solve this problem.

The problem is that store_message tries to access @filename, which was
presumably removed at some point in favor of @path.

Just replacing @filename with @path in lines 117 and 118 of the file
mentioned in the trace will fix it.  It is also fixed in git.

-Adam

Attachment: signature.asc
Description: PGP signature

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk