Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Exception trying to run git source
@ 2009-08-19  0:49 Carl Worth
  2009-08-19  2:47 ` Ben Walton
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Carl Worth @ 2009-08-19  0:49 UTC (permalink / 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>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-08-26 21:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-19  0:49 [sup-talk] Exception trying to run git source Carl Worth
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox