From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iF0jBkWkomRiowAASxT56A (envelope-from ) for ; Mon, 03 Jul 2023 12:34:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QIKNBUWkomR9awAAauVa8A (envelope-from ) for ; Mon, 03 Jul 2023 12:34:45 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B4756BA4B for ; Mon, 3 Jul 2023 12:34:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688380484; a=rsa-sha256; cv=none; b=MMeKlN9RswSyYiK9/5XSDE4x5FrYvTWvjFFwzQMF1E4WGAijEWZqfywOtb+g1pEQaHmP/6 LQqsgArY6IU8ZAqJkjMqgxjBI+5NrdcMEsmx3nbjCWFZasjiBFiS/lwo4CN7fuOCysQkQS t8X7YoH1mPwHPtFYJdnmZ6jxv66INCm2B/vN+BtFHYKJeI1wije4l2xv2wikPt0U/7X+S9 T1aG8aRIiAe7zEIxvOndC6WohkN6LFMl6g+vFtB9C27eWaz3T8oUOhbLNaaCzcIwLgEINI 59g2NvFQKuRGS2+neUXrEpju+zwL6tJ3H7+/FnbW79caQe1lLCifLEvAiweMbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688380484; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=qsj7r5SZ6lZxEmXl4DQZuexfRLfQl+TDwfHZxHUBfuI=; b=OwAwgoe0gfrizWz7qPGAh7ejPPGhVRfeQt2U0KcByW6e+d5s9CnBah45pCHSt4yFAAnl3C shzBn9o1OyWlIRyq9G/64rQf0qcvg/muv0kP7gRQXL3rAhS9GMsviVrV5FsY9vsNoCvpPF ZWXCFiIm40HGbOCoun4NEhw1DitdzDSZ2hQwHb6Poc+sXDUPaFA6JTsEoeXDa3bqcL/bF8 C1a4+Os157xZr0yWYp5Em7PYA+Z+ebsPIkaEmJpZJzY3zV4GJlwvCiflWPOmrraKH4RVXr 9MqSO5kdQYtwhs5kNvIvG4LlWAp3WzeEBja5cuugZjqxe+DSOvClWmCby+ce0A== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 7E3D05F386; Mon, 3 Jul 2023 10:34:42 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [192.99.9.157]) by mail.notmuchmail.org (Postfix) with ESMTPS id 617EE5F374 for ; Mon, 3 Jul 2023 10:34:39 +0000 (UTC) Received: from tethera.net (unknown [IPv6:2001:861:70:efc0:a853:366f:d008:acf6]) by phubs.tethera.net (Postfix) with ESMTPS id 62A36180172; Mon, 3 Jul 2023 07:34:36 -0300 (ADT) Received: (nullmailer pid 2324676 invoked by uid 1000); Mon, 03 Jul 2023 10:34:34 -0000 From: David Bremner To: "Peter P." , notmuch@notmuchmail.org Subject: Re: Internal error: Message without type term In-Reply-To: <20230703074700.dq52buzslq4mr5cr@fastmail.com> References: <20230703074700.dq52buzslq4mr5cr@fastmail.com> Date: Mon, 03 Jul 2023 12:34:34 +0200 Message-ID: <87bkgtjnb9.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: UD73DW4FD2XYREGG36I5MMYV5QKDE6VW X-Message-ID-Hash: UD73DW4FD2XYREGG36I5MMYV5QKDE6VW X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.48 X-Migadu-Queue-Id: B4756BA4B X-Spam-Score: -1.48 X-TUID: rJqNZZa0vOtE "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/message.cc:402). > 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"