unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [Daniel Kahn Gillmor] Bug#698810: notmuch: Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543)
@ 2013-01-24  4:06 David Bremner
  0 siblings, 0 replies; only message in thread
From: David Bremner @ 2013-01-24  4:06 UTC (permalink / raw)
  To: notmuch


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-24  4:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24  4:06 [Daniel Kahn Gillmor] Bug#698810: notmuch: Internal error: add_message returned unexpected value: 4 (notmuch-new.c:543) David Bremner

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).