From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 0BkUEbSlxmLahgAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 11:21:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6MISELSlxmIFMgEAG6o9tA (envelope-from ) for ; Thu, 07 Jul 2022 11:21:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DF04D26F50 for ; Thu, 7 Jul 2022 11:21:55 +0200 (CEST) Received: from localhost ([::1]:53546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9Nhq-0004Hm-Ob for larch@yhetil.org; Thu, 07 Jul 2022 05:21:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Nh5-0004HA-1K; Thu, 07 Jul 2022 05:21:07 -0400 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]:50102) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9Ngz-0004Y7-SM; Thu, 07 Jul 2022 05:21:06 -0400 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 2D129BFF00; Thu, 7 Jul 2022 11:20:51 +0200 (CEST) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 2F082A007B; Thu, 7 Jul 2022 11:20:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 1B8E2A0084; Thu, 7 Jul 2022 11:20:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 1B8E2A0084 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1657185629; bh=O1C/G8iDt4MkKJ4F8WCFKfIISYFnkDlVK4uWzddw2uc=; h=MIME-Version:Message-ID:Date:From:To; b=nQwUpo2odJC3eMnv4NiATtpuj7GddwkIeCB/sy8KeLAoo1t0v/qhbjPYQvTtwmC/J KC3TPBaHpid2YveXtE6QzXzztpeqJGqJJqh/D2F4fI6mEygdEso1fZ5FHTqZZfDRmJ 8t22Iz8A3FarCG2egjKQoJFqbhcreUBLcllL1jRr4BduRCrnX/jlBiARoY0k1wOHZZ UN0lcpoW/dILZPgYIMdAXfLUArLobyX3AFS8Oi17kiSrMKSbDGMvI0XrYy3my/ImFT GBgmi7QSMOw+d8HHUHim9FWha8MOWGlmV/JvKoeKZBl7ejxU0BjPK5bhWxcOkRHxvu ag7F4tAnvZyhg== X-Virus-Scanned: amavisd-new at zmtaauth02.partage.renater.fr Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mJohkZ0Y-ZsQ; Thu, 7 Jul 2022 11:20:29 +0200 (CEST) Received: from 130.79.11.24 (unknown [194.254.241.250]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id CE644A007B; Thu, 7 Jul 2022 11:20:28 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25286.42332.593427.484898@gargle.gargle.HOWL> Date: Thu, 7 Jul 2022 11:20:28 +0200 From: Alain.Cochard@unistra.fr To: m43cap@yandex.com Cc: emacs-orgmode@gnu.org, emacs-devel@gnu.org Subject: Re: wrong type argument with latest org and [not] latest emacs In-Reply-To: <87let71hy0.fsf@yandex.com> References: <87sfnfhm6v.fsf@yandex.com> <87czejn22e.fsf@localhost> <87o7y3h2ia.fsf@yandex.com> <87let71hy0.fsf@yandex.com> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeihedgudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpefgkeeikeeivefgtdegffefhfehffegiedvjeevieegvdetleefjedvjeefkedtudenucffohhmrghinhephihhvghtihhlrdhorhhgnecukfhppeduleegrddvheegrddvgedurddvhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehtddphhgvlhhopedufedtrdejledruddurddvgedpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepfedprhgtphhtthhopegvmhgrtghsqdguvghvvghlsehgnhhurdhorhhgpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopehmgeeftggrpheshigrnhguvgigrdgtohhm Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alain.cochard@unistra.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657185716; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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-unsubscribe:list-subscribe:list-post:dkim-signature; bh=O1C/G8iDt4MkKJ4F8WCFKfIISYFnkDlVK4uWzddw2uc=; b=JEO/7iMP+NnpmUXsoJoIcrz3qVVV+xAcaCjg0JTQEZhT11XpWXMXVAxoETNHnf+GONboOx yTJeqEYUv5Bq8+EYR0usiVY3AHRTfGh/ZU0ioM9wzOWCb6kS5JyUiJSJxwFKT7Pe7cx9L2 njN5iD7MXhe6pzzXKLhZMwczcXmCgbe7BLGVUXLfgr84MXAFNiXwzpmhSqJCCvFmaT5Paq pXiAGFIcMQmw778/YwVRcuTBn1kcSyJ+4OYJ48z5wY0vKW7GdxTSz6u+EPe/W1sQmw6opl 75c3EyvjHzp6/p879ykc4W66zGm/GYJE83v2y7yA6VG4fba10ItHh8E0eZ/pEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657185716; a=rsa-sha256; cv=none; b=NUtEyz5NNXPVvTy3OK7CbRhpeXCG/FGGLN8tqWzqsFlLT//FmayHr0N56XzYTkT/ZF573c Yzdw06AslzALwbmrPVrTeTByye3aICdYdlsIbovWbHAobrtrqHPJTjlbqWDd5CDBq6G5zQ JRyZfSR5lGztqxRCQdJQGbNN7ZcgsdoY8fGUZCGLyyDc0GymZcJ8ibKPuCNki5z6eWqgaW H0TI20huBhLjMZlFMkaIR5Rz5jgf5gxDDewDeVWaXzLcVV+8JMvs8Jx3pT2juS7veyHJ8j hHQB5ToZHkF7mQYLFg+ytgswMLEJ1+CbkfibMHsFj0y9YUVqWN/hwR/JfuSNcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=nQwUpo2o; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=nQwUpo2o; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DF04D26F50 X-Spam-Score: -7.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: unpbgjEv+Lya Colin Baxter writes on Tue 5 Jul 2022 20:24: > >>>>> Colin Baxter writes: >=20 > >>>>> Ihor Radchenko writes: > >> Colin Baxter writes: > >>> I'm sending this to emacs.orgmode and emacs.devel lists. > >>>=20 > >>> With the latest emacs: > >>>=20 > >>>=20 > >>> Debugger entered--Lisp error: (wrong-type-argument stringp > >>> (wrong-type-argument stringp nil)) > >>> format-message((wrong-type-argument stringp nil)) > >>> apply(format-message (wrong-type-argument stringp nil)) > >>> error((wrong-type-argument stringp nil)) #f(compiled-functio= n > >>> (fun) # -0x1724f6e> )(org-babel-remove-temporary-stable-directory) > >>> run-hook-wrapped(#f(compiled-function (fun) # -0x1724f6e> ) org-babel-remove-temporary-stable-directory) >=20 > >> Thanks for reporting! This likely caused by recent commit of= > >> mine on systems with no write access to remote directory (at > >> least, I am unable to reproduce the steps on my system). >=20 > >> Can you please try the attached patch=3F >=20 > >> Best, Ihor >=20 > >> From ddf6278e8fcbaa4939539277b111061b7c00f550 Mon Sep 17 00:0= 0:00 > >> 2001 Message-Id: > >> > >> From: Ihor Radchenko Date: Tue, 5 Jul 20= 22 > >> 21:00:24 +0800 Subject: [PATCH] ob-core: Fix nil value of > >> `org-babel-temporary-stable-directory' >=20 > >> * lisp/ob-core.el: Fallback the value of > >> `org-babel-temporary-stable-directory' to > >> `org-babel-temporary-directory' if there are issues with > >> directory creation. >=20 > >> Fixes https://yhetil.org/emacs-devel/87sfnfhm6v.fsf@yandex.co= m > >> --- lisp/ob-core.el | 3 ++- 1 file changed, 2 insertions(+), = 1 > >> deletion(-) >=20 > >> diff --git a/lisp/ob-core.el b/lisp/ob-core.el index > >> 6c379c121..aaf895d74 100644 --- a/lisp/ob-core.el +++ > >> b/lisp/ob-core.el @@ -3167,7 +3167,8 @@ (defvar > >> org-babel-temporary-stable-directory (expand-file-name > >> "babel-stable" (temporary-file-directory))) - (t nil))) + ;; > >> Fallback if things do not work. + (t > >> org-babel-temporary-directory))) "Directory to hold temporary= > >> files created to execute code blocks. Used by > >> `org-babel-temp-file'. This directory will be removed on Ema= cs > >> shutdown.")) -- 2.35.1 >=20 > > Ok, that patch seems to solve the issue. I have applied the pa= tch > > and I now get now error message when I close down emacs-29.0.5= 0. >=20 > Typo! That's no error, not now error. So it is not the latest emacs GNU Emacs 27.2 (build 1, x86=5F64-redhat-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-08-07 but it seems related. I have no problem with=20 Org mode version 9.5.4 (9.5.4-ge0b05b @ /home/cochard/.emacs.d/elpa/org-9.5.4/) but if I use what I believe to be the latest org from git (pulled a few minutes ago): Org mode version 9.5.4 (release=5F9.5.4-609-g713598 @ /home/cochard/Org/Coch-git/org-mode/lisp/) upon 'C-x C-c', I get org-babel-remove-temporary-stable-directory: Wrong type argument: stringp, nil and emacs does not even close. I cannot kill it either with 'C-c' on the terminal from which I started emacs. I have to 'kill -9 ' --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]