From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4MPYBc42xGKjCQEAbAwnHQ (envelope-from ) for ; Tue, 05 Jul 2022 15:04:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +KqdBc42xGIb9wAAauVa8A (envelope-from ) for ; Tue, 05 Jul 2022 15:04:14 +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 6A0D57991 for ; Tue, 5 Jul 2022 15:04:13 +0200 (CEST) Received: from localhost ([::1]:58418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8iDs-0004bm-IP for larch@yhetil.org; Tue, 05 Jul 2022 09:04:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8iCn-0004Xx-BH; Tue, 05 Jul 2022 09:03:05 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:43573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8iCl-0006Jx-Dr; Tue, 05 Jul 2022 09:03:05 -0400 Received: by mail-pg1-x536.google.com with SMTP id j184so690228pge.10; Tue, 05 Jul 2022 06:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=riM3mu3+vt8hqS+xhEwXXfxUwlhfCw2Ct8JM2pwIsOQ=; b=Mre6ef1aQCxpJiFzzRHP0GolF7t4LdkGAFDM10w/zlmvQIEU581VsKpEtbW4ah974I TJ7qGyAkhxEygItRshWmgmz8F7vMCsG+WpI2mneYYgyqEnxiq6sd6iGoKo7QlsEifcWf LiVev/WxtxNBI1gy4zR/RNunRP4yHm8ElXdbTPBpSvBPrjk2LBa7+MKMDjuMRU/Ceq4v HtmVNLZyHHmbAaVnJvvBFi6nDMFtsXd99rBYNvOL86UswdKGzTK0W0lMp/X+YjaYpECu UFO5DZU8oWcGB3+X+O3RfhrXsEk/r8AHhI94v5CxMC9KpjK8VQOyNtQj8j4KxBMPVJKg bABQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=riM3mu3+vt8hqS+xhEwXXfxUwlhfCw2Ct8JM2pwIsOQ=; b=FrbmUea5vqIeCMaM1PwAq+qbGdkBe7HVXJAHDHV6xCBHtFqD2d8/EP5yyJde/HZo3p 0vStE+14sdfEZow+TgcNpKLDB50F9/jvS32q0nw9jxDDxgXhB6OjimQpoPkltj/kEhic TM6RmOC+27qa43GtEdELNMGFidXMWit+tU2J8CAiodLdkgnAuPB20FnmtdCulRMHoLWd rxJlZIlqy39St1mIdHQch/DSs6InDJw7Q1mtRXXgTfTQ7iEKAbI0OY1aBMNrdk8aS3Ia vsVgNsxvMDaLXahTVmtro16rgZr11TbCj3SqMNEZFRY0zXLGMRWbSed37z3iVZEF1Gxo 0VIA== X-Gm-Message-State: AJIora/+ZpToLo23+lXFulQOrqyKxX17kAVtzGWsU9aAgcmONqmSVstg fPkDK+sBjAiWFfV1c1BfBzB3lTeJF54O5A== X-Google-Smtp-Source: AGRyM1v3MpNQgQEf81BRL3cz09S3N/6cK5SHtqRqk7+jk3ywuTb8kUnyubljpRCgtATIrtcCpUNb5g== X-Received: by 2002:a05:6a00:2292:b0:525:6c57:8dd5 with SMTP id f18-20020a056a00229200b005256c578dd5mr41208047pfe.17.1657026181360; Tue, 05 Jul 2022 06:03:01 -0700 (PDT) Received: from localhost ([128.14.140.248]) by smtp.gmail.com with ESMTPSA id h12-20020a170902680c00b0016bee3caabesm2469061plk.270.2022.07.05.06.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 06:03:00 -0700 (PDT) From: Ihor Radchenko To: m43cap@yandex.com Cc: emacs-orgmode@gnu.org, emacs-devel@gnu.org Subject: Re: wrong type argument with latest org and latest emacs In-Reply-To: <87sfnfhm6v.fsf@yandex.com> References: <87sfnfhm6v.fsf@yandex.com> Date: Tue, 05 Jul 2022 21:04:09 +0800 Message-ID: <87czejn22e.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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+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=1657026253; h=from:from:sender:sender: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=riM3mu3+vt8hqS+xhEwXXfxUwlhfCw2Ct8JM2pwIsOQ=; b=CR3VzQtntCiV3+uAnUONFcsSeR0lHENOmLciv0f3BAGQJ4Vofx8uYYc3NX98QBwB/cSX0z /W4LqYJhnuNDfLq4sTH89SOW9nbxpK7I84iEN/1BJXp/Vh3OFYVkmQ51Y7pFyyxCJsUpHW WGVIkbT4Z5JJ6F2yPn/djw8NhoaGkPHSHvBj8ynkpN1Kxxvo7LqH5BE5KJ7hqFxTCICPpB MrpEiDyO2slZL3xuzqfBC1EiUr5uYUCc80ynCNhGSpIEsJstuI3ufwEBuBq7J6y+N8HA8o SegRz0gCsEeSmyoJS1WP1Ss2gyHPNf+B9qN3SZesRUUrRvBgGMJyeYSYAmUzYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657026253; a=rsa-sha256; cv=none; b=MUc4qUJPP/hpj27qAN/LS5igQh5kxIytltlyJ3Nw4/LM1rZm0eLGvc+qZ/gXcAnisqD4pc FlkN4fWpIbI4QaIG9BbDjq5W7JRfuImbm6cJRZnv/l2uHvHFdLWdyZFM/QDgXw8omCRKpu dbKcNGhb05fdfIdzdBkhP2n3xmzvxmaTh1AQtn+mAvr9qVMyatQfJdB5TN2SLvQVJWSUt5 8HqynTvKpOZpae7pZoYeKWgJ3x4EieLU1bLogVxCs3dygFSvfx5PZgHXUCjH5NJorRGIoN M+5F/2sppeZ9pmOpj2qeHVJKhyHICwEZzRrFU7XZrEq1iiYfAiBoMcK3mYzqJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Mre6ef1a; dmarc=pass (policy=none) header.from=gmail.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.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Mre6ef1a; dmarc=pass (policy=none) header.from=gmail.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: 6A0D57991 X-Spam-Score: -8.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: xVjPekERXtdJ --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-ob-core-Fix-nil-value-of-org-babel-temporary-stable-.patch >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 --=-=-=--