From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 gCNxIvXQxmIsPAEAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 14:26:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0I1rIvXQxmJW6QAA9RJhRA (envelope-from ) for ; Thu, 07 Jul 2022 14:26:29 +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 345882DBC9 for ; Thu, 7 Jul 2022 14:26:28 +0200 (CEST) Received: from localhost ([::1]:58142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9QaR-00051r-1g for larch@yhetil.org; Thu, 07 Jul 2022 08:26:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9QWo-0001vh-KQ; Thu, 07 Jul 2022 08:22:42 -0400 Received: from forward501p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:120]:49768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9QWl-00064l-BS; Thu, 07 Jul 2022 08:22:42 -0400 Received: from vla1-2bfa63b7c704.qloud-c.yandex.net (vla1-2bfa63b7c704.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:389a:0:640:2bfa:63b7]) by forward501p.mail.yandex.net (Yandex) with ESMTP id BA7376211DFE; Thu, 7 Jul 2022 15:22:32 +0300 (MSK) Received: from vla1-62318bfe5573.qloud-c.yandex.net (vla1-62318bfe5573.qloud-c.yandex.net [2a02:6b8:c0d:3819:0:640:6231:8bfe]) by vla1-2bfa63b7c704.qloud-c.yandex.net (mxback/Yandex) with ESMTP id g7GXN1lVoy-MWfOk1Z2; Thu, 07 Jul 2022 15:22:32 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1657196552; bh=ktyTLXHyWOT8AUReANZ8gzAX2iTV6VjpDOojdxELTtI=; h=Reply-To:Subject:In-Reply-To:Cc:Date:References:To:From: Message-ID; b=q/XRtdz4WPIPySSyGEHjJhwsHPogDryVOMJIef62Bd1kIgeSq41ox/9Xho5wTv5D7 F+9ZNmq07Yx1lwvJDmu5hLdF+S0eFHhohfjHv+M6m7OSwpktJGCRDJhUTOIAMLpDYa SI49inmgXT9cpVKNTciXpYrMEkHomz+XPdAdg1T8= Received: by vla1-62318bfe5573.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id kkk2PiDpa8-MVfuqQJq; Thu, 07 Jul 2022 15:22:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) From: Colin Baxter To: Alain.Cochard@unistra.fr Cc: emacs-orgmode@gnu.org, emacs-devel@gnu.org Subject: Re: wrong type argument with latest org and [not] latest emacs In-Reply-To: <25286.42332.593427.484898@gargle.gargle.HOWL> (Alain Cochard's message of "Thu, 7 Jul 2022 11:20:28 +0200") References: <87sfnfhm6v.fsf@yandex.com> <87czejn22e.fsf@localhost> <87o7y3h2ia.fsf@yandex.com> <87let71hy0.fsf@yandex.com> <25286.42332.593427.484898@gargle.gargle.HOWL> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Date: Thu, 07 Jul 2022 13:22:30 +0100 Message-ID: <87sfndaz95.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a02:6b8:0:1472:2741:0:8b7:120; envelope-from=m43cap@yandex.com; helo=forward501p.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: m43cap@yandex.com 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=1657196788; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ktyTLXHyWOT8AUReANZ8gzAX2iTV6VjpDOojdxELTtI=; b=ALw5vzGzuNMY0pbLp9gEc8z2ACaosXmyDvFYs/R0IRi2tgazPKlKfXzWQZbMKj1sB7Dwx+ Rb6k3ed7bGKbJQ4mIzFb4LVLlkvhD72p1MAbHUy3V1YrRMsOYCqABYcxS5NL8tkU2Ri2Wo Ar1EUdfxr5WaXstXMcdUBBcY2NQQfGKSJEmCuy3Uga8xEzbQ3PibDB5ndUv8pKDi01pKPG gPa8F6KM5v+PJa+ZPHq/0V/j/OI4k3QmqYlegXXUWPLVnt/zx7Av7KpHGF7kYpkpWkXgBA BB5vy7KYb2xwVfDkEetAKdsaW71BkmtXAVywpiRLCoW+/uR/z9NqPTHLU8o2Yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657196788; a=rsa-sha256; cv=none; b=Yq9cB1ttIi60ZR8qmx/Qf2ulFHVaQrSU+33c1BCaeCb+Xeelwg4q8ONQnXmV0lfkqZg5Fr X1eM3GZYRhP+64JnQzqJDO2VUyYNvKPpjRzVDDaGPhnB1nab5g6bF+AuvHYdTBY1L+DMzD 9YFXy8PnF+Kdxza3MKro381F+3bgJaMtcv5E7gvQi11Lahzez8HYpXlk/G2mCzbJA/UQWf Q1vFYP5F0vCMtm1PvcTXSfdpOJxZShQ8xcaE0FI3aY1/JLOqQVljkfVOVt+UkeSsCFC5XN PIyF7xCDI9XJUwITTI3lV3I9h4mNMZm0XKciN0Tjso/NtWe+ZSc1BZuiVYz9yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b="q/XRtdz4"; dmarc=pass (policy=none) header.from=yandex.com; 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: -8.35 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b="q/XRtdz4"; dmarc=pass (policy=none) header.from=yandex.com; 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: 345882DBC9 X-Spam-Score: -8.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: u5ag6M+fZ6/w >>>>> Alain Cochard writes: > Colin Baxter writes on Tue 5 Jul 2022 20:24: >> >>>>> Colin Baxter writes: >> >> >>>>> Ihor Radchenko writes: >> Colin Baxter >> writes: >>> I'm sending this to emacs.orgmode >> and emacs.devel lists. >> >>> >> >>> With the latest emacs: >> >>> >> >>> >> >>> 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-function >>> >> (fun) # )(org-babel-remove-temporary-stable-directory) >> >>> run-hook-wrapped(#f(compiled-function (fun) # ) org-babel-remove-temporary-stable-directory) >> >> >> 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). >> >> >> Can you please try the attached patch? >> >> >> Best, Ihor >> >> >> From ddf6278e8fcbaa4939539277b111061b7c00f550 Mon Sep 17 >> 00:00:00 >> 2001 Message-Id: >> >> >> >> From: Ihor Radchenko Date: Tue, 5 Jul >> 2022 >> 21:00:24 +0800 Subject: [PATCH] ob-core: Fix nil value of >> >> `org-babel-temporary-stable-directory' >> >> >> * 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. >> >> >> Fixes https://yhetil.org/emacs-devel/87sfnfhm6v.fsf@yandex.com >> >> --- lisp/ob-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 >> >> deletion(-) >> >> >> 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 Emacs >> >> shutdown.")) -- 2.35.1 >> >> > Ok, that patch seems to solve the issue. I have applied the >> patch > and I now get now error message when I close down >> emacs-29.0.50. >> >> Typo! That's no error, not now error. > So it is not the latest emacs > GNU Emacs 27.2 (build 1, x86_64-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 > 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_9.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 > ' It should work with org-mode release_9.5.4-610-gbdf7af. Best wishes, Colin Baxter.