From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.orgmode,gmane.emacs.devel Subject: Re: wrong type argument with latest org and latest emacs Date: Tue, 05 Jul 2022 18:51:09 +0100 Message-ID: <87o7y3h2ia.fsf@yandex.com> References: <87sfnfhm6v.fsf@yandex.com> <87czejn22e.fsf@localhost> Reply-To: m43cap@yandex.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33412"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Cc: emacs-orgmode@gnu.org, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Tue Jul 05 19:56:29 2022 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8mmi-0008Uf-Rb for geo-emacs-orgmode@m.gmane-mx.org; Tue, 05 Jul 2022 19:56:28 +0200 Original-Received: from localhost ([::1]:41446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8mmh-00007B-8t for geo-emacs-orgmode@m.gmane-mx.org; Tue, 05 Jul 2022 13:56:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8mlu-00006J-8z; Tue, 05 Jul 2022 13:55:40 -0400 Original-Received: from forward500p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:110]:34146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8mlr-00068y-4p; Tue, 05 Jul 2022 13:55:38 -0400 Original-Received: from sas1-1fb0fcb041b9.qloud-c.yandex.net (sas1-1fb0fcb041b9.qloud-c.yandex.net [IPv6:2a02:6b8:c14:2688:0:640:1fb0:fcb0]) by forward500p.mail.yandex.net (Yandex) with ESMTP id 8453EF031D8; Tue, 5 Jul 2022 20:51:12 +0300 (MSK) Original-Received: from sas2-ffeb92823cb1.qloud-c.yandex.net (sas2-ffeb92823cb1.qloud-c.yandex.net [2a02:6b8:c08:6803:0:640:ffeb:9282]) by sas1-1fb0fcb041b9.qloud-c.yandex.net (mxback/Yandex) with ESMTP id ovhG5r2ZXR-pCh0aeXO; Tue, 05 Jul 2022 20:51:12 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1657043472; bh=ZJ6fgcPuGt/6so2F1TONjDHUKckOAi/Fgri+0o61Qd8=; h=In-Reply-To:Subject:Cc:Date:References:To:From:Message-ID: Reply-To; b=C68KwS3KtZnClkC1zIhSdmO/IDxfHNLNOeASGVntkNde6SGY3fOrcecRqR3RN0+Ue VnuYmHpowUzD6EF7bUrU9+EdnTX4qbIY/OX4nVtmibOK84jqXxS297HcMClK16J/NN r/konljCp+sHP8g1vd77zue2kk5RBm++sbaBYxxM= Authentication-Results: sas1-1fb0fcb041b9.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by sas2-ffeb92823cb1.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id m9JSboHL5c-pBdSEqGl; Tue, 05 Jul 2022 20:51:11 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <87czejn22e.fsf@localhost> (Ihor Radchenko's message of "Tue, 05 Jul 2022 21:04:09 +0800") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=2a02:6b8:0:1472:2741:0:8b7:110; envelope-from=m43cap@yandex.com; helo=forward500p.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: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-orgmode" Xref: news.gmane.io gmane.emacs.orgmode:146791 gmane.emacs.devel:291878 Archived-At: >>>>> 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. Thank you. Best wishes,