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 ms5.migadu.com with LMTPS id yBTUHEBNyGPKLwAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 20:49:20 +0100 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 AEHZHEBNyGMG5gAAauVa8A (envelope-from ) for ; Wed, 18 Jan 2023 20:49:20 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 E795FDD4D for ; Wed, 18 Jan 2023 20:49:19 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 72A445FBFB; Wed, 18 Jan 2023 19:49:17 +0000 (UTC) X-Greylist: delayed 322 seconds by postgrey-1.36 at yantan; Wed, 18 Jan 2023 19:49:13 UTC Received: from smtpout01-ext2.partage.renater.fr (smtpout01-ext2.partage.renater.fr [194.254.240.33]) by mail.notmuchmail.org (Postfix) with ESMTPS id E786B5E022 for ; Wed, 18 Jan 2023 19:49:13 +0000 (UTC) Received: from zmtaauth01.partage.renater.fr (zmtaauth01.partage.renater.fr [194.254.240.25]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 329D462F63 for ; Wed, 18 Jan 2023 20:43:49 +0100 (CET) Received: from zmtaauth01.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPS id 2C2B314001C for ; Wed, 18 Jan 2023 20:43:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTP id 26DA21401A3 for ; Wed, 18 Jan 2023 20:43:49 +0100 (CET) Received: from zmtaauth01.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth01.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bcBp7WXChIvt for ; Wed, 18 Jan 2023 20:43:49 +0100 (CET) Received: from [192.168.1.11] (unknown [194.254.241.250]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPA id E503114001C for ; Wed, 18 Jan 2023 20:43:48 +0100 (CET) Message-ID: Date: Wed, 18 Jan 2023 20:43:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 From: tom.hirschowitz@univ-smb.fr To: notmuch@notmuchmail.org Subject: Re: ## error when running notmuch from emacsclient, but not from standalone emacs instance References: <87mt6fq537.fsf@tethera.net> <8dae5975ad2586413e53c9c936c27d90@riseup.net> <875yd3pv24.fsf@tethera.net> In-Reply-To: <875yd3pv24.fsf@tethera.net> X-Virus-Scanned: clamav-milter 0.103.6 at clamav04 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedruddtkedguddvjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfhffvufhfjggtgfesthejredttdefjeenucfhrhhomhepthhomhdrhhhirhhstghhohifihhtiiesuhhnihhvqdhsmhgsrdhfrhenucggtffrrghtthgvrhhnpeekiedvfeehteehledvueelteeuteevjeevgfdttdfhgefgkeefgeekueekfeeftdenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghloheplgduledvrdduieekrddurdduudgnpdhmrghilhhfrhhomhepthhomhdrhhhirhhstghhohifihhtiiesuhhnihhvqdhsmhgsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehnohhtmhhutghhsehnohhtmhhutghhmhgrihhlrdhorhhg Message-ID-Hash: NUOHXLR7YS3BJN7FVOIYYE2GCEVWDHPK X-Message-ID-Hash: NUOHXLR7YS3BJN7FVOIYYE2GCEVWDHPK X-MailFrom: tom.hirschowitz@univ-smb.fr 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"; format="flowed" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674071360; 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=+hPjeFZxM98TBAF8I5/Pb/EPcHWIUVmeYXNoBkQYa18=; b=XTAm1snCDpZChFjvAygGlHzd/q468RfU6cJhBNo3hLZ1c9HXqAAoIsRfFeD9ZdmQaxC0H3 /ne34lBFs9B8YCMN8BDnr3nVqPLX+1Xpa0Cp57/NmPLX54iCtkU5OOfsHEpper037nVkA6 dtz5MfAksOsOPknyrJhW8OKMu+VqgoUwetj1iTJGxyihWK8HsAJWs36tqJPMPI/XGbTv/3 +YccWIAQWV0Ce2z1CIeIq2Vo5jACTE9U3QNUJPxCLtyqDOGb/dyDmhSBcYSc6m23vzhvaB c2TgtAAuIPmlEtcHnH687BFl1i6prXh8mcGakyKNyRfhyP7X4seO3FZ+zPuDbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674071360; a=rsa-sha256; cv=none; b=Np8rPogBvtkdZHMI+MfeUprusCQZU0xzALp4BdAdrpvS7kTMQyAvGey7VrdsRu0O4qTRWM drfWlqm5IvprCzE9yUOXCz6odxAI+NlIibtIzeQ7U8jXysNAo92lQJrEfIIQryjKAzDSr8 KRrKlq9ZBM//qSt707jZ/4jTHxtYy8+Q6qPKcgrQqoo3QSt0iSZPznFA2KmnAD/5AI3Xrz 30q2vqBhpUwjFD2STPeA95ucGlmfScuhssjesdNNdiDShs0HY86zzPvo9PXOLiFs/hsk+E a8EiMDhTSNX91C9SXIl2wu8S26UWfZ9eT+Ldr4EwRbFWp7N4DJfgEi/78AYA+A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.34 X-Spam-Score: -1.34 X-Migadu-Queue-Id: E795FDD4D Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-TUID: IqzZvetaPfgg Just a wild guess: have you tried installing the emacs package exec-path-from-shell (from melpa)? On 18/01/2023 19:16, David Bremner wrote: > ricardomartins@riseup.net writes: > > > Ok, so I tested this. I tried stopping the systemd unit of the emacs > > server, opened an emacs instance, and started the server from within > > emacs (M-x server-start ). Connected to this server in a new frame > > ($ emacsclient -nc) and tried executing notmuch again (M-x notmuch > > ). This time, it worked like it should. So, definitely an issue > > with the systemd unit method of initialization there, although it only > > executes /usr/bin/emacs --fg-daemon, so I'm not sure exactly is going on > > here that's causing the problem. > > I don't have personal experience with running emacs from systemd, but I > guess it could be worth trying > > M-: (executable-find "notmuch") > > That will verify that you are not being tripped up by multiple notmuch > executables. > > Another thing to try is > > M-x notmuch-search tag:inbox > > This may give a more helpful error message (or it may work fine, > indicating the problem is really with notmuch count, but the --batch > option is almost 10 years old now, so I think that error checking > probably needs to be updated. > > > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org >