From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eLpBJ606umUTMwEA62LTzQ:P1 (envelope-from ) for ; Wed, 31 Jan 2024 13:18:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eLpBJ606umUTMwEA62LTzQ (envelope-from ) for ; Wed, 31 Jan 2024 13:18:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=QbimMY2v; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706703533; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=9iFOZ+537iHbSXtOdZ+VyrB8X/rscPaE8GbLaN2atsM=; b=eAXA1fDkjRsVLPRGCBzZEzcuySSL3N+9wuIQ7cJ2YTehZC8KZKQUditQidKPtCI63u9vlN 16e1JJlzNvHjhvdMw/h8SihSEC6/S//p3CZ7oRhHGQUilQcDnielzqNrri05ol4nPT8t2V jVtD0dbwP4E8hAg7LzTxHQ9KiiXtzqjBuqOFD0j96WXMeWB0YyzhJMTvYiBLqA+dizDH0j OYtScyoaAw8s+0xW4LnJYk2u7yHPbKCkP857P5JLzRLhiE8tXVan0BbxxEnom1ytLY66yF NIL2ClQQArhrXed4+3XmtBuMeJIYXneovOy5kjRaNoJBhVxueKd7IBInJHoUjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=QbimMY2v; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706703533; a=rsa-sha256; cv=none; b=PpzBHQwyhPZHU/ww3eqIhq8ddBWYNhTb0rLxzK6vrb7M5rQ7p8vhfK8kFPC+xoXk49EvNx 0vNRhL9SqmzuVqhcthjTBEsZt0Wejoklb0KxcC4idZdeV8dJn9S5m2+PFj39NuVjVq6rkh 83C2AerWFxEq4KkR6hgWfOQWqinItyYQE0bI0CChBo9qG9D7oe6TrqysCK1W5vED5gBo/0 kgCMWO8Ytuo8mgQLrYClaXwqYPWFMXHJlKgtqYsxDSZGVycomfZYOgg0HyH7Fg0gPKLpPt vcStDRunyoLtFW+xLORNpAHvmoGvyHimIgDUW510BYWg7Ksw5zPnu2+xSfjhBA== 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 892BC17021 for ; Wed, 31 Jan 2024 13:18:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9XD-0006vj-7f; Wed, 31 Jan 2024 07:17:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9XC-0006vZ-1b for emacs-orgmode@gnu.org; Wed, 31 Jan 2024 07:17:42 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rV9X9-0000W2-EE for emacs-orgmode@gnu.org; Wed, 31 Jan 2024 07:17:40 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40faf6788d1so4711695e9.0 for ; Wed, 31 Jan 2024 04:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706703456; x=1707308256; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=9iFOZ+537iHbSXtOdZ+VyrB8X/rscPaE8GbLaN2atsM=; b=QbimMY2vk9aV9tO+1+0JQ3enU+VOQ7IWWjSeZX7fUEkOwm6px/PsEjoI8MwbUVF6rl JrEIXEPGhUQ4MKpfFaQ78uuSCYf+OliBQObNax15R+Louu1F6R68OAqLOVZPj7zIxmfL Q88BTHt7Z2/7HhnwpK+RUjkOFQvRhl+LWGWtA+g9+Z3tRTXkYGF5JmQBkIiSXe9ylE57 A4Ny2HPOggPmWu3r6JJO0J4s8jt7n5xNBKaEqOkvTs7Nq4PMnvBUY8tYPQaZVv5lkBZm u/1WP8/9LyylCeQFibGgnymCJg/h2y2xHXqICyld79HZB0en4zqN2ExBLbMhyZBNJDwY VDDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706703456; x=1707308256; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9iFOZ+537iHbSXtOdZ+VyrB8X/rscPaE8GbLaN2atsM=; b=eZcyU3gx16o5hSlTNSihTny4EADZiwFFLQIb3gSg1uZGMvZB1dbFGXT1W4PjVCzKHZ 3B8pGnMqEAS/ycLlRtdAB5+6Ex4F96cPinIwCqbKfIPAzxfmWtyepseDsmKTkjIUud+U gyXW0OFRJGPnLh7w9sHPYFiTuiz2dmc9tIM9IRWpG/1dzZaCuuxN1fuQzZDgApB/PQpd v8H/o6dH++HSfyQUO2suVkoIGXhY3wftwOVgLtqoRgz+PsWTRfQzvt2LKusSzYdzMhJD 3iXSHD2+9K0Tx8v+ZixOi92pFsiiNvFubBolFhzW5Qfskd7TzOQ5RJslI5Gl67AVv0lJ gukQ== X-Gm-Message-State: AOJu0Yz67Rr0hZ9WvFuK/Za97QbaXjTaqbfk0PdMBL8NOR47sAOj7FR9 OXMZA6Nr2NGX+fJfgGcTBJtZXLiszoB4NUEXFpTm0b/RIJ47FXTRZ6/rSZw8 X-Google-Smtp-Source: AGHT+IFTEMXEt1tLgBbjWZOjl3yqHhjua4ORJZZEL35/yCscFJ/r33GRVZe2ReEfI+DYL3MbxrUv1Q== X-Received: by 2002:a05:600c:310b:b0:40e:cca6:d82f with SMTP id g11-20020a05600c310b00b0040ecca6d82fmr1373759wmo.16.1706703456327; Wed, 31 Jan 2024 04:17:36 -0800 (PST) Received: from ryzen-ms7c37 (pc174-c842.uibk.ac.at. [138.232.83.174]) by smtp.gmail.com with ESMTPSA id z2-20020adfec82000000b0033b03d77c66sm1489045wrn.78.2024.01.31.04.17.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 04:17:35 -0800 (PST) From: Nasser Alkmim To: emacs-orgmode@gnu.org Subject: Re: Async Python src block behavior with :dir header property In-Reply-To: <8734udvjai.fsf@localhost> (Ihor Radchenko's message of "Wed, 31 Jan 2024 11:23:01 +0000") References: <87il3a55bg.fsf@gmail.com> <8734udvjai.fsf@localhost> Date: Wed, 31 Jan 2024 13:17:34 +0100 Message-ID: <86plxhely9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=nasser.alkmim@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.58 X-Spam-Score: -9.58 X-Migadu-Queue-Id: 892BC17021 X-Migadu-Scanner: mx12.migadu.com X-TUID: 9by07Yv7ajcp Ihor Radchenko writes: > Nasser Alkmim writes: > >> This does not work. >> Even though the python execution is in the right directory and the file is saved >> correctly. >> The =return= does not produces the right file path considering the directory. >> >> #+begin_src python :dir asyncpy :async :session :return figname :results file value > > These header arguments are not correctly formatted. > Try M-x org-lint I tried org-lint and it says that the header argument is "unknown". However, I can execute the source blocks. I tried with 'emacs -Q' and '(require 'ob-python)' and I noticed that I missed the header argument ':mkdirp "yes"'. With that I can reproduce the examples. In any case, thanks for taking a look. -- Nasser Alkmim