From mboxrd@z Thu Jan 1 00:00:00 1970 From: cworth@cworth.org (Carl Worth) Date: Wed, 19 Aug 2009 10:53:54 -0700 Subject: [sup-talk] Exception trying to run git source In-Reply-To: <1250699596-sup-8133@ntdws12.chass.utoronto.ca> References: <1250642676-sup-2244@yoom> <1250698636-sup-6732@masanjin.net> <1250699596-sup-8133@ntdws12.chass.utoronto.ca> Message-ID: <1250704257-sup-3308@yoom> Excerpts from Ben Walton's message of Wed Aug 19 09:34:09 -0700 2009: > Also, is bin/sup part of your git checkout (meaning it lines up with > the rest of your lib/, etc)? Yes. > Are you running from the next branch? > I'm looking at bin/sup here (5f393122), and the line numbers don't > "add up." Line 152 is where I see the call into > SentManager.source_uri, not 171. No, I was running from master, (so line 171 does make sense there). I tried running from next and got a different failure (see below). I suspected I might have something just broken in my configuration, so I moved ~/.sup away for the run below, (which didn't seem to change anything). This new failure seems to be occurring earlier, so I bisected, (labelling the previous source_uri exception as "good" and the new no-SentManager-instance as "bad"), and that pointed at the following commit: 9dd4f50b9f62ab5642241359bf6f7c291ccfa738 is first bad commit commit 9dd4f50b9f62ab5642241359bf6f7c291ccfa738 Author: William Morgan Date: Wed Aug 12 13:14:34 2009 -0400 rewrite Singleton to not require i_am_the_instance The flip side is that you have to use .init instead of .new. I'm really wondering why I'm getting what appear to be unique crashes compared to others. Is it my ruby version: $ ruby --version ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] Any ideas? -Carl 0:~/src/sup:(next)$ ruby -I lib -w ./bin/sup ./lib/sup/util.rb:9: warning: method redefined; discarding old gen_lock_id ./lib/sup/util.rb:20: warning: method redefined; discarding old dump_lock_id ./lib/sup/message-chunks.rb:36: warning: method redefined; discarding old make_tmpname ./lib/sup/imap.rb:118: warning: ambiguous first argument; put parentheses or even spaces /usr/lib/ruby/1.8/chronic/repeaters/repeater_month_name.rb:13: warning: useless use of > in void context /usr/lib/ruby/1.8/chronic/repeaters/repeater_month_name.rb:19: warning: useless use of > in void context /usr/lib/ruby/1.8/chronic/repeaters/repeater_month_name.rb:25: warning: useless use of < in void context [Wed Aug 19 10:26:50 -0700 2009] WARNING: Warning: $KCODE is NONE. ./lib/sup/index.rb:54: warning: instance variable @lock_update_thread not initialized ./bin/sup:127: warning: global variable `$cursing' not initialized ./bin/sup:329: warning: global variable `$die' not initialized [Wed Aug 19 10:26:50 -0700 2009] ERROR: oh crap, an exception ---------------------------------------------------------------- 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 ---------------------------------------------------------------- --- RuntimeError from thread: main no Redwood::SentManager instance defined in method call to i_am_the_instance! ./lib/sup/util.rb:512:in `method_missing' /usr/lib/ruby/1.8/sup/sent.rb:10:in `initialize' ./lib/sup/util.rb:524:in `new' ./lib/sup/util.rb:524:in `init' ./lib/sup.rb:110:in `start' ./bin/sup:138