From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GNlrKmaSuGH9wgAAgWs5BA (envelope-from ) for ; Tue, 14 Dec 2021 13:47:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iO4wJmaSuGHpQwAAB5/wlQ (envelope-from ) for ; Tue, 14 Dec 2021 12:47:34 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 0C70C241AE for ; Tue, 14 Dec 2021 13:47:34 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A674D29778; Tue, 14 Dec 2021 07:47:28 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 434A129776 for ; Tue, 14 Dec 2021 07:47:25 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 2ABDA5FC42; Tue, 14 Dec 2021 07:47:25 -0500 (EST) Received: (nullmailer pid 2642777 invoked by uid 1000); Tue, 14 Dec 2021 12:47:24 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [bug] handle .notmuch without xapian/ more gracefully X-List-To: notmuch Date: Tue, 14 Dec 2021 08:47:24 -0400 Message-ID: <87a6h3xsir.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: ZHESQX5GII7F42LIMRX7B6LY2A4BXFVM X-Message-ID-Hash: ZHESQX5GII7F42LIMRX7B6LY2A4BXFVM 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-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639486054; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=+TAnl6PsLrP1HaUbBrUt/XhpkFucZFTcPRLOW3d4aWw=; b=oCd9i/jYmjJGOGznkE2HuXJLOqJ+nDEY//FAUveTlM6C3Cz7iEom1zZeyZLOljvrZCkDWQ M44H80NgpU8/yuZ4r4xvNITSTph5KnnPRLtPkFa5R7u35vkuZo/FK5KKzYM8PyGpiJuZc1 2giKGl/tg+L+lZlHed53litoF4yWlFJlYmKKa81d57mFjjYkxQ9fTYjwkwKxjctbwqrESv 4TzYMfdBcnO2PCiaWI6GxRlVfPKPpydy6olmVIaSVQ+W9RQDxhjdg6SaEyfsXtK1Z+VDTU f/RFdpf8/kwc93p7TcvHTvCq2hGasjtX+LXZR5gCoqpghvEZ2rbP48fTYBDB2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639486054; a=rsa-sha256; cv=none; b=YAJtkQpWum6fkom/PVwcUnh488iv+8lHLlGQyGD41OwJk/ng54zXrzC43GoJ4GFZtj4qc8 7B5jUOPjx6Pabi8MlGx6ru4K2+W9v5doB76PNPS+VrRuZ2MbsJnPF0hjnC1RP3qDN9sKuc TGSpHZdUnfE0tTLgzv4jhEDNfs1NxA9KlrKGi+SuO6yc3SViMl054wKb9r1nyMHr6hFyqR qgINnqHjoKRtUUGWnSKUcVbsLAhaJp5OYu2snvFEDnLY7j/+p1/S4x/ohF50A6i4bjKDoN eALV58p8egA5lch9xozoKXudn6Z5gSGIqJLNZU0NXih/jBbdRyOoqwmuSBT0wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0C70C241AE X-Spam-Score: -1.94 X-Migadu-Scanner: scn1.migadu.com X-TUID: uP1jBNeR7x2g Several people have recently hit the problem where creating .notmuch directory (e.g. to add a hook) before running notmuch new causes notmuch new to fail. This is due to the way that notmuch currently detects a database directory. I'm not sure if this is easily fixable, but it would be nice to at least give better diagnostics. d