Subject: [sup-talk] oh crap, an exception

From: [email-masked] (Georg Lehmann)
Date: Tue, 15 Jul 2008 10:59:55 +0200

Hi,

First: thanks a lot for sup. Great email client/service ;)

After sup-add mbox+ssh://koef.xxxx.net/var/mail/grl:

[Tue Jul 15 10:12:44 +0200 2008] stopped cursing
[Tue Jul 15 10:12:44 +0200 2008] oh crap, an exception
[Tue Jul 15 10:12:44 +0200 2008] unlocking /home/georg/.sup/lock...
----------------------------------------------------------------
I'm very sorry. It seems that an error occurred in Sup. Please
accept my sincere apologies. If you don't mind, please send the
contents of sup-exception-log.txt and a brief report of the
circumstances to sup-talk at rubyforge dot orgs so that I might
address this problem. Thank you!

Sincerely,
William
----------------------------------------------------------------
--- NoMethodError from thread: call #connect on mbox+ssh://koef.xxxx.net/var/mail/grl
undefined method `shell' for #<Net::SSH::Connection::Session:0x2acd9ad1fca8>
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-file.rb:175:in `unsafe_connect'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-file.rb:170:in `synchronize'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-file.rb:170:in `unsafe_connect'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-file.rb:192:in `do_remote'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-file.rb:117:in `connect'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-loader.rb:37:in `connect'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-loader.rb:61:in `safely'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-loader.rb:37:in `connect'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/util.rb:548:in `send'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/util.rb:548:in `__pass'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/util.rb:537:in `method_missing'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/bin/sup:203
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup.rb:60:in `reporting_thread'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup.rb:58:in `initialize'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup.rb:58:in `new'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup.rb:58:in `reporting_thread'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/bin/sup:201
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/bin/sup:199:in `each'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/bin/sup:199
/opt/local/bin/sup:19:in `load'
/opt/local/bin/sup:19
--- SystemExit from thread: main
undefined method `shell' for #<Net::SSH::Connection::Session:0x2acd9ad1fca8>
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup.rb:64:in `select'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/buffer.rb:31:in `nonblocking_getch'
/opt/local/lib/ruby/gems/1.8/gems/sup-0.5/bin/sup:227
/opt/local/bin/sup:19:in `load'
/opt/local/bin/sup:19

(Sorry for obfuscation)
I use ssh-agent, but it also doesnt work with user/pass in sources.yaml
Installed ruby/gem manually on debian etch and sup with gem install sup.
Kernel: 2.6.18-4-amd64

best regards,

Georg Lehmann

---

From: [email-masked] (wmorgan-sup)
Date: Wed, 16 Jul 2008 17:00:26 -0700

> /opt/local/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/mbox/ssh-file.rb:175:in

Hm. I actually haven't tried mbox+ssh since the very early days of Sup,
so that code has definitely experienced bitrot. I'll look into it.
-- 
William <wmorgan-sup at masanjin.net>