Subject: [sup-talk] Sup crashed

From: [email-masked] (Vincent Bernardoff)
Date: Tue, 1 Jul 2008 11:43:39 +0200

vb~haramis (~)% sup
[Tue Jul 01 11:48:50 +0200 2008] using character set encoding "UTF-8"
[Tue Jul 01 11:48:51 +0200 2008] optional 'chronic' library not found
(run 'gem                                      install chronic' to
install)
[Tue Jul 01 11:48:51 +0200 2008] locking /home/vb/.sup/lock...
[Tue Jul 01 11:48:51 +0200 2008] crypto: detected gpg binary in
/usr/bin/gpg
[Tue Jul 01 11:48:51 +0200 2008] stopped cursing
[Tue Jul 01 11:48:51 +0200 2008] oh crap, an exception
[Tue Jul 01 11:48:51 +0200 2008] unlocking /home/vb/.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
----------------------------------------------------------------
--- ArgumentError from thread: main
wrong number of arguments (2 for 1)
/usr/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/index.rb:422:in
`respond_to?'
/usr/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/index.rb:422:in `flatten'
/usr/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/index.rb:422:in
`load_sources'
/usr/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/index.rb:108:in `load'
/usr/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/util.rb:497:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/util.rb:497:in
`method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-0.5/bin/sup:121
/usr/bin/sup:19:in `load'
/usr/bin/sup:19

Installed with gem 1.1.1 on archlinux x86_64. (command: gem install sup)

Thank in advance,

-- 
Vincent Bernardoff

---

From: [email-masked] (William Morgan)
Date: Wed, 02 Jul 2008 06:47:44 -0700

> /usr/lib/ruby/gems/1.8/gems/sup-0.5/lib/sup/index.rb:422:in

This is due to ruby 1.8.7. It's fixed in git, if you want to try that,
or you can apply this patch directly:

http://repo.or.cz/w/sup.git?a=blobdiff;f=lib/sup/util.rb;fp=lib/sup/util.rb;h=9909022ffa9b0b1c5796f4fbdff925087dec2519;hp=ceaf0b8dabc8a83ea451005e9b27bc109823caf1;hb=7baf2ae82255b4ca77a1e2a4b46831371f92cfce;hpb=21e34247462f5a0ca69dc2de46eceb21e5f1fb58
-- 
William <wmorgan-sup at masanjin.net>