From mboxrd@z Thu Jan 1 00:00:00 1970 From: cworth@cworth.org (Carl Worth) Date: Wed, 19 Aug 2009 09:33:10 -0700 Subject: [sup-talk] Exception trying to run git source In-Reply-To: <1250698636-sup-6732@masanjin.net> References: <1250642676-sup-2244@yoom> <1250698636-sup-6732@masanjin.net> Message-ID: <1250699408-sup-9579@yoom> Excerpts from William Morgan's message of Wed Aug 19 09:19:44 -0700 2009: > Reformatted excerpts from Carl Worth's message of 2009-08-18: > > --- NoMethodError from thread: main > > undefined method `source_uri' for # > @source=nil, @fn="sup://sent"> > > Very curious. SentManager most definitely has a source_uri method. If > you look at lib/sup/sent.rb, does it include the line "attr_reader > :source, :source_uri"? Yes, that is there. > If so, is there a line in the log that says > "SentManager initialized with source uri: xxx"? No, I don't think so. At least, that is, if I'm looking at the right place. Is the "log" anything other than the output on stdout/err when I run sup? Do I need to turn on any additional verbosity somehow? Below you can see the entire output I get when running sup from git master. -Carl (wishing he had any skills for debugging ruby...) 0:~/src/sup:(master)$ ruby -I lib -w bin/sup ./lib/sup/util.rb:8: warning: method redefined; discarding old gen_lock_id ./lib/sup/util.rb:19: warning: method redefined; discarding old dump_lock_id [Wed Aug 19 09:22:55 -0700 2009] using character set encoding "UTF-8" ./lib/sup/message-chunks.rb:36: warning: method redefined; discarding old make_tmpname ./lib/sup/imap.rb:117: 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 09:22:55 -0700 2009] using index Redwood::FerretIndex Warning: $KCODE is NONE. [Wed Aug 19 09:22:55 -0700 2009] dynamically loading setlocale() from libc.so.6 [Wed Aug 19 09:22:55 -0700 2009] setting locale... [Wed Aug 19 09:22:55 -0700 2009] locking /home/cworth/.sup/lock... [Wed Aug 19 09:22:55 -0700 2009] crypto: detected gpg binary in /usr/bin/gpg [Wed Aug 19 09:22:55 -0700 2009] loading index... [Wed Aug 19 09:22:55 -0700 2009] loaded index of 557361 messages ./lib/sup/index.rb:53: warning: instance variable @lock_update_thread not initialized bin/sup:126: warning: global variable `$cursing' not initialized [Wed Aug 19 09:22:55 -0700 2009] stopped cursing [Wed Aug 19 09:22:55 -0700 2009] oh crap, an exception [Wed Aug 19 09:22:55 -0700 2009] unlocking /home/cworth/.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: main undefined method `source_uri' for # ./lib/sup/util.rb:519:in `send' ./lib/sup/util.rb:519:in `method_missing' bin/sup:171 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: