From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.20.129 with SMTP id f1cs152024bkb; Thu, 30 Sep 2010 12:23:53 -0700 (PDT) Received: by 10.231.35.77 with SMTP id o13mr4276777ibd.92.1285874632102; Thu, 30 Sep 2010 12:23:52 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id z12si481917iba.16.2010.09.30.12.23.51; Thu, 30 Sep 2010 12:23:52 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 2625019783B7; Thu, 30 Sep 2010 15:23:51 -0400 (EDT) Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU [18.9.25.15]) by rubyforge.org (Postfix) with ESMTP id 41BDE18583B0 for ; Thu, 30 Sep 2010 15:19:40 -0400 (EDT) X-AuditID: 1209190f-b7b86ae0000011df-c8-4ca4e2cd02a8 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) by dmz-mailsec-scanner-4.mit.edu (Symantec Brightmail Gateway) with SMTP id 85.92.04575.DC2E4AC4; Thu, 30 Sep 2010 15:19:41 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id o8UJJelF021924 for ; Thu, 30 Sep 2010 15:19:40 -0400 Received: from localhost (ool-44c4de0a.dyn.optonline.net [68.196.222.10]) (authenticated bits=0) (User authenticated as ezyang@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o8UJJd8H003502 for ; Thu, 30 Sep 2010 15:19:40 -0400 (EDT) From: "Edward Z. Yang" To: sup-devel Date: Thu, 30 Sep 2010 15:19:38 -0400 Message-Id: <1285874266-sup-5868@ezyang> User-Agent: Sup/git X-Brightmail-Tracker: AAAAAQCq+Kk= Subject: [sup-devel] Exception 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org I got the following exception /home/ezyang/Dev/sup/lib/sup/index.rb:537:in `find_docid' /home/ezyang/Dev/sup/lib/sup/index.rb:542:in `find_doc' /home/ezyang/Dev/sup/lib/sup/index.rb:552:in `get_entry' /home/ezyang/Dev/sup/lib/sup/index.rb:195:in `build_message' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home/ezyang/Dev/sup/lib/sup/index.rb:561:in `synchronize' /home/ezyang/Dev/sup/lib/sup/index.rb:195:in `build_message' /home/ezyang/Dev/sup/lib/sup/index.rb:150 /home/ezyang/Dev/sup/lib/sup/index.rb:230:in `call' /home/ezyang/Dev/sup/lib/sup/index.rb:230:in `load_contacts' /home/ezyang/Dev/sup/lib/sup/index.rb:150:in `each_id_by_date' /home/ezyang/Dev/sup/lib/sup/index.rb:245:in `each_id' /home/ezyang/Dev/sup/lib/sup/index.rb:245:in `each' /home/ezyang/Dev/sup/lib/sup/index.rb:245:in `each_id' /home/ezyang/Dev/sup/lib/sup/index.rb:150:in `each_id_by_date' /home/ezyang/Dev/sup/lib/sup/index.rb:228:in `load_contacts' /home/ezyang/Dev/sup/lib/sup/util.rb:596:in `send' /home/ezyang/Dev/sup/lib/sup/util.rb:596:in `method_missing' /home/ezyang/Dev/sup/lib/sup/buffer.rb:548:in `ask_for_contacts' /home/ezyang/Dev/sup/lib/sup/util.rb:596:in `send' /home/ezyang/Dev/sup/lib/sup/util.rb:596:in `method_missing' /home/ezyang/Dev/sup/lib/sup/modes/compose-mode.rb:25:in `spawn_nicely' /home/ezyang/Dev/sup/bin/sup:311 Caused by this failed assertion: def find_docid id docids = term_docids(mkterm(:msgid,id)) fail unless docids.size <= 1 docids.first end So I guess my index is corrupted in some weird way (probably I managed to create two mails with the same docid). I've worked around it by commenting out the assert, but any idea how to fix my index? Edward _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel