Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: cworth@cworth.org (Carl Worth)
Subject: [sup-talk] Exception trying to run git source
Date: Tue, 18 Aug 2009 17:49:03 -0700	[thread overview]
Message-ID: <1250642676-sup-2244@yoom> (raw)

Until now I've been running sup 0.8.1 from a Debian package. But in an
effort to get to where I can actually start implementing some of the
features I want, (and to get to where I can actually send a message
without triggering sent.mbox crashes), I'm trying to move to running
sup from a git checkout. But whenever I try, I get the following
exception:

    --- NoMethodError from thread: main
    undefined method `source_uri' for #<Redwood::SentManager:0xb74f1160 @source=nil, @fn="sup://sent">
    ./lib/sup/util.rb:519:in `send'
    ./lib/sup/util.rb:519:in `method_missing'
    bin/sup:171

I bisected this down to the following commit:

    commit 5057149d9c3b57c6b5c4d0964a0aae9d490aaa38
    Author: Ben Walton <bwalton at artsci.utoronto.ca>
    Date:   Wed May 6 22:44:24 2009 -0400
    
        SentManager: rework handling to allow for user specified source

That looks like an awfully nice commit since I'd like my sent messages
to go into a maildir anyway. So I tried configuring this by adding a
line to my ~/.sup/config.yaml as follows:

    :sent_source: maildir:/home/cworth/mail/sent

That didn't actually help too much, it just changed the stack trace
slightly:

    --- NoMethodError from thread: main
    undefined method `source_uri' for #<Redwood::SentManager:0xb73ce404>
    ./lib/sup/util.rb:519:in `send'
    ./lib/sup/util.rb:519:in `method_missing'
    bin/sup:171

So what am I actually missing here?

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090818/a004f5e4/attachment.bin>


             reply	other threads:[~2009-08-19  0:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19  0:49 Carl Worth [this message]
2009-08-19  2:47 ` Ben Walton
2009-08-19 15:59 ` Ben Walton
2009-08-19 16:19 ` William Morgan
2009-08-19 16:33   ` Carl Worth
2009-08-19 16:34   ` Ben Walton
2009-08-19 17:53     ` Carl Worth
2009-08-19 18:08       ` Ben Walton
2009-08-19 18:52       ` William Morgan
2009-08-19 19:40         ` Carl Worth
2009-08-19 20:02           ` William Morgan
2009-08-19 21:37             ` Carl Worth
2009-08-22 20:23               ` William Morgan
2009-08-26 21:26                 ` Carl Worth

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=1250642676-sup-2244@yoom \
    --to=cworth@cworth.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