From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.73.7 with SMTP id v7cs44799aga; Sat, 3 Oct 2009 15:31:34 -0700 (PDT) Received: by 10.224.78.7 with SMTP id i7mr2132066qak.303.1254609094115; Sat, 03 Oct 2009 15:31:34 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 33si4877809qyk.65.2009.10.03.15.31.34; Sat, 03 Oct 2009 15:31:34 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-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-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id BE71115B802C; Sat, 3 Oct 2009 18:31:33 -0400 (EDT) Received: from pion.club.cc.cmu.edu (PION.CLUB.CC.cmu.edu [128.237.157.88]) by rubyforge.org (Postfix) with ESMTP id 88A711858287 for ; Sat, 3 Oct 2009 18:25:20 -0400 (EDT) Received: from rlane by pion.club.cc.cmu.edu with local (Exim 4.69) (envelope-from ) id 1MuD2V-0007o7-Vw; Sat, 03 Oct 2009 18:25:19 -0400 From: Rich Lane To: Guillaume Quintard In-reply-to: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com> References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com> Date: Sat, 03 Oct 2009 18:25:19 -0400 Message-Id: <1254607735-sup-864@zyrg.net> User-Agent: Sup/git Cc: "Sup-talk@rubyforge.org" Subject: Re: [sup-talk] Crash, bad index, and ensuing misery X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup 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-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from Guillaume Quintard's message of Sat Oct 03 16:04:14 -0400 2009: > --- RuntimeError from thread: load threads for thread-index-mode > DocNotFoundError: Document 2461178145 not found. > ./lib/sup/xapian_index.rb:132:in `document' The relevant line: docs = term_docids(mkterm(:thread, thread_id)).map { |x| @xapian.document x } Basically expands to: @xapian.postlist(term).map { |x| @xapian.document x.docid } So, Xapian is giving us docids it can't turn into documents. At this point I think you should just do a sup-dump (which might still work), move the old xapian directory out of the way, and re-sync. You can try running xapian-check on the corrupted version to see if it finds anything interesting. _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk