Re: Internal error: Message without type term

Subject: Re: Internal error: Message without type term

Date: Mon, 03 Jul 2023 12:34:34 +0200

To: Peter P.,


From: David Bremner

"Peter P." <> writes:

> Hi list,
> I am not subscribed to this list, please add me as CC in your replies,
> thanks!
> I am getting 
> 	Internal error: Message without type term (lib/
> with notmuch 0.37-1+b1 on Debian stable. What can I do next?

The first thing to try is to make a backup of your database with

notmuch dump > notmuch-db.txt

(or whatever you want to call the file).

If this succeeds then follow the steps below. If not, then _maybe_ there
is a way to recover your tags etc., but it will require recompiling some
parts of xapian, so write again.

1) install xapian-tools and run

$ xapian-check ~/.local/share/notmuch/default/xapian

This is mainly for (my) curiousity, but it may highlight some database
corruption or if xapian reports no errors that leans more towards a
notmuch bug.

2)  Move the database out of the way, re-run notmuch new,
and restore your state using "notmuch restore < notmuch-db.txt"

notmuch mailing list --
To unsubscribe send an email to