Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D0207431FAF for ; Wed, 23 Jan 2013 20:06:42 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5bD2fDk4HPyJ for ; Wed, 23 Jan 2013 20:06:42 -0800 (PST) Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E43E0431FAE for ; Wed, 23 Jan 2013 20:06:41 -0800 (PST) Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net ([156.34.82.78] helo=zancas.localnet) by tesseract.cs.unb.ca with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1TyE5G-0007UV-I7; Thu, 24 Jan 2013 00:06:38 -0400 Received: from bremner by zancas.localnet with local (Exim 4.80) (envelope-from ) id 1TyE5B-0004oY-0d; Thu, 24 Jan 2013 00:06:33 -0400 From: David Bremner To: Subject: [Daniel Kahn Gillmor] Bug#698810: notmuch: Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543) User-Agent: Notmuch/0.15 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-pc-linux-gnu) Date: Thu, 24 Jan 2013 00:06:32 -0400 Message-ID: <877gn39qd3.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: message/rfc822 Content-Disposition: inline X-Spam_bar: - X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 04:06:42 -0000 Return-path: Envelope-to: david@tethera.net Delivery-date: Wed, 23 Jan 2013 17:54:11 -0400 Received: from [199.188.72.155] (helo=yantan.tethera.net) by tesseract.cs.unb.ca with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Ty8Go-0004s3-Te for david@tethera.net; Wed, 23 Jan 2013 17:54:11 -0400 Received: from quantz.debian.org ([206.12.19.122]) by yantan.tethera.net with esmtp (Exim 4.72) (envelope-from ) id 1Ty8Gl-0001Vw-Rp for david@tethera.net; Wed, 23 Jan 2013 17:54:07 -0400 Received: from qa by quantz.debian.org with local (Exim 4.72) (envelope-from ) id 1Ty8Gk-0004Kd-NY for david@tethera.net; Wed, 23 Jan 2013 21:54:06 +0000 Received: from buxtehude.debian.org ([140.211.166.26]) from C=NA,ST=NA, L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=buxtehude.debian.org, EMAIL=hostmaster@buxtehude.debian.org (verified) by quantz.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Ty8Gk-0004KR-C2 for notmuch@packages.qa.debian.org; Wed, 23 Jan 2013 21:54:06 +0000 Received: from debbugs by buxtehude.debian.org with local (Exim 4.72) (envelope-from ) id 1Ty8Gi-0000z6-Vx; Wed, 23 Jan 2013 21:54:04 +0000 X-Loop: owner@bugs.debian.org Subject: Bug#698810: notmuch: Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543) Reply-To: Daniel Kahn Gillmor , 698810@bugs.debian.org Resent-From: Daniel Kahn Gillmor Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: dkg@fifthhorseman.net, Carl Worth X-Loop: owner@bugs.debian.org Resent-Date: Wed, 23 Jan 2013 21:54:02 +0000 Resent-Message-ID: X-Debian-PR-Message: report 698810 X-Debian-PR-Package: notmuch X-Debian-PR-Keywords: X-Debian-PR-Source: notmuch Received: via spool by submit@bugs.debian.org id=B.13589780013604 (code B); Wed, 23 Jan 2013 21:54:02 +0000 Received: (at submit) by bugs.debian.org; 23 Jan 2013 21:53:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02 (2010-03-16) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-13.9 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE, RDNS_DYNAMIC,XMAILER_REPORTBUG,X_DEBBUGS_CC autolearn=ham version=3.3.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 149; neutral, 109; spammy, 2. spammytokens:0.987-1--(unknown), 0.987-1--(unknown) hammytokens:0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown) Received: from dsl254-070-154.nyc1.dsl.speakeasy.net ([216.254.70.154] helo=alice.fifthhorseman.net) by buxtehude.debian.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty8G0-0000vc-6a for submit@bugs.debian.org; Wed, 23 Jan 2013 21:53:20 +0000 From: Daniel Kahn Gillmor To: Debian Bug Tracking System Message-ID: <20130123215313.5854.90775.reportbug@alice.fifthhorseman.net> X-Mailer: reportbug 6.4.3 Date: Wed, 23 Jan 2013 16:53:13 -0500 Delivered-To: submit@bugs.debian.org Delivered-To: notmuch@packages.qa.debian.org Precedence: list X-Loop: notmuch@packages.qa.debian.org X-Debian: PTS X-Debian-Package: notmuch X-PTS-Package: notmuch X-PTS-Keyword: bts List-Unsubscribe: Resent-Sender: Debian QA X-Spam-Score: 1.3 X-Spam_bar: + MIME-Version: 1.0 Content-Type: text/plain Package: notmuch Version: 0.15-2 Severity: normal i run notmuch over a mailstore that is also served by a dovecot instance (which is the reason for much of the spew below). However, after a recent switch to notmuch 0.15, i got this one-time error during "notmuch new": Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543) fwiw, i think that "unexepected value: 4" is NOTMUCH_STATUS_FILE_ERROR. Unfortunately, i don't remember if this is the first time i've run notmuch new since the 0.15 upgrade or if it has to do with some particular message. as you can see from the transcript below, running "notmuch new" a second time didn't reproduce the error. If you have any suggestions on how i could supply better information, please let me know. sorry for the vagueness of this report. --dkg 0 dkg@alice:~$ notmuch new Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot-keywords Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot-uidlist Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot.index Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot.index.cache Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot.index.log Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/maildirfolder Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot-uidlist Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot.index Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot.index.cache Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot.index.log Note: Ignoring non-mail file: /home/dkg/mail/messages/.Sent/dovecot-uidlist Error opening /home/dkg/mail/messages/.Sent/dovecot-uidlist.lock: No such file or directory Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543) 1 dkg@alice:~$ notmuch new Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot-keywords Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot-uidlist Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot.index Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot.index.cache Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/dovecot.index.log Note: Ignoring non-mail file: /home/dkg/mail/messages/.Archives.2013/maildirfolder Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot-uidlist Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot.index Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot.index.cache Note: Ignoring non-mail file: /home/dkg/mail/messages/.Drafts/dovecot.index.log Note: Ignoring non-mail file: /home/dkg/mail/messages/.Sent/dovecot-uidlist Note: Ignoring non-mail file: /home/dkg/mail/messages/.Sent/dovecot.index Note: Ignoring non-mail file: /home/dkg/mail/messages/.Sent/dovecot.index.cache Note: Ignoring non-mail file: /home/dkg/mail/messages/.Sent/dovecot.index.log Processed 48 total files in almost no time. Added 34 new messages to the database. Removed 31 messages. 0 dkg@alice:~$ notmuch new No new mail. 0 dkg@alice:~$ -- System Information: Debian Release: 7.0 Architecture: amd64 (x86_64) Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages notmuch depends on: ii libc6 2.13-37 ii libglib2.0-0 2.33.12+really2.32.4-3 ii libgmime-2.6-0 2.6.10-1 ii libnotmuch3 0.15-2 ii libtalloc2 2.0.7+git20120207-1 Versions of packages notmuch recommends: ii gnupg-agent 2.0.19-2 ii notmuch-emacs 0.14-1 notmuch suggests no packages. -- no debconf information