Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Adam Lloyd <adam@alloy-d.net>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] sup crashes on sending emails
Date: Sat, 27 Nov 2010 14:02:51 -0500	[thread overview]
Message-ID: <1290883976-sup-4600@nagato.alloy-d.net> (raw)
In-Reply-To: <op.vmt9rvsvdfrxor@ruthard-mini>


[-- Attachment #1.1: Type: text/plain, Size: 835 bytes --]

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 #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

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

      reply	other threads:[~2010-11-27 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-27 17:05 Ruthard Baudach
2010-11-27 19:02 ` Adam Lloyd [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290883976-sup-4600@nagato.alloy-d.net \
    --to=adam@alloy-d.net \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox