From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.182.32.72 with SMTP id g8csp62439obi; Sat, 24 Nov 2012 20:51:55 -0800 (PST) Received: by 10.60.32.69 with SMTP id g5mr6578634oei.21.1353819115221; Sat, 24 Nov 2012 20:51:55 -0800 (PST) Return-Path: Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com. [50.56.192.79]) by mx.google.com with ESMTP id zl4si8926417obb.12.2012.11.24.20.51.54; Sat, 24 Nov 2012 20:51:55 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) client-ip=50.56.192.79; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id E2B7D26305A; Sun, 25 Nov 2012 04:51:54 +0000 (UTC) X-Greylist: delayed 355 seconds by postgrey-1.31 at rubyforge; Sun, 25 Nov 2012 04:51:44 UTC Received: from rose.makesad.us (rose.makesad.us [199.199.210.158]) by rubyforge.org (Postfix) with ESMTP id F15BB263053 for ; Sun, 25 Nov 2012 04:51:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rose.makesad.us (Postfix) with ESMTPS id 4F6233FC5B12 for ; Sat, 24 Nov 2012 23:45:48 -0500 (EST) Date: Sat, 24 Nov 2012 23:45:48 -0500 (EST) From: Asheesh Laroia To: sup-devel@rubyforge.org Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-OpenPGP-Key-ID: 0x70096AD1 MIME-Version: 1.0 Subject: [sup-devel] Backtrace, and confusion X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Hey all, I presume sup is sort of end-of-life'd at this point, but I wondered if some people here might have an idea for how to address the following crash. I experience it with current git on my sup database; I just start sup, and get the familiar sup screen only to nearly immediately see it crash with this backtrace: --- NoMethodError from thread: load threads for thread-index-mode undefined method `person_for' for # ./lib/sup/util.rb:572:in `send' ./lib/sup/util.rb:572:in `method_missing' ./lib/sup/person.rb:82:in `from_name_and_email' ./lib/sup/index.rb:215:in `build_message' ./lib/sup/index.rb:216:in `[]' ./lib/sup/index.rb:216:in `build_message' ./lib/sup/index.rb:155:in `each_id_by_date' ./lib/sup/thread.rb:338:in `call' ./lib/sup/thread.rb:338:in `load_n_threads' ./lib/sup/index.rb:155:in `each_id_by_date' ./lib/sup/index.rb:252:in `each_id' ./lib/sup/index.rb:252:in `each' ./lib/sup/index.rb:252:in `each_id' ./lib/sup/index.rb:155:in `each_id_by_date' ./lib/sup/thread.rb:334:in `load_n_threads' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:640:in `__unprotected_load_n_threads' (eval):12:in `load_n_threads' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:624:in `load_n_threads_background' ./lib/sup.rb:79:in `reporting_thread' ./lib/sup.rb:77:in `initialize' ./lib/sup.rb:77:in `new' ./lib/sup.rb:77:in `reporting_thread' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads' (eval):12:in `load_threads' bin/sup:223 I reproduced it against current git by running: ruby -I lib -w bin/sup I also reproduced it wih sup 0.11 as packaged in Debian. I'm actually a bit confused; I tried to debug it, but it seems the NoMethodError is somewhat unwarranted; the method is defined in lib/sup/person.rb. Unless I don't underestand Ruby, which is actually very likely; I'm more of a Python programmer myself. So, hope to hear back, -- Asheesh. _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel