unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <bremner@debian.org>
To: <notmuch@notmuchmail.org>
Subject: [Daniel Kahn Gillmor] Bug#698810: notmuch: Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543)
Date: Thu, 24 Jan 2013 00:06:32 -0400	[thread overview]
Message-ID: <877gn39qd3.fsf@zancas.localnet> (raw)


[-- Attachment #0: Type: message/rfc822, Size: 7645 bytes --]

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#698810: notmuch: Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543)
Date: Wed, 23 Jan 2013 16:53:13 -0500
Message-ID: <20130123215313.5854.90775.reportbug@alice.fifthhorseman.net>

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

                 reply	other threads:[~2013-01-24  4:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gn39qd3.fsf@zancas.localnet \
    --to=bremner@debian.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).