From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4FGpEELMgGK8ywAAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 11:47:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KCOaEELMgGISNAEAauVa8A (envelope-from ) for ; Sun, 15 May 2022 11:47:46 +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 D872F3F726 for ; Sun, 15 May 2022 11:47:45 +0200 (CEST) Received: from localhost ([::1]:55078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqAql-0000Oi-Uu for larch@yhetil.org; Sun, 15 May 2022 05:47:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqAq2-0000OZ-Ah for emacs-orgmode@gnu.org; Sun, 15 May 2022 05:46:58 -0400 Received: from gallois.livando.com ([31.170.109.33]:50988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqAq0-0004iN-6p for emacs-orgmode@gnu.org; Sun, 15 May 2022 05:46:57 -0400 X-PDA-ORIGIN: gallois.livando.com Received: (qmail 659154 invoked from network); 15 May 2022 09:46:53 -0000 Received: by simscan 1.4.0 ppid: 659147, pid: 659150, t: 0.1283s scanners: clamav: 0.103.6/m:62/d:26541 Received: from unknown (HELO ?192.168.0.77?) (christian@gladbachcity.de@95.90.192.16) by 0 with SMTP; 15 May 2022 09:46:53 -0000 Message-ID: <00299684ab44443c1c5e8433dc251e48ba66594c.camel@gladbachcity.de> Subject: Re: Bug: ob-R.el breaks when :session is specified From: Christian Heinrich To: Christian Heinrich Cc: emacs-orgmode Date: Sun, 15 May 2022 11:46:52 +0200 In-Reply-To: <877d6n2p6t.fsf@localhost> References: <877d6n2p6t.fsf@localhost> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ksCGle5RcTy9ReLJ07Ri" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Received-SPF: none client-ip=31.170.109.33; envelope-from=com-orgmode-mailinglist@gladbachcity.de; helo=gallois.livando.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, SPF_HELO_NONE=0.001, SPF_NONE=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=1652608066; 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; bh=UDoGB9+t42SHlHsYGoA9doda+oI8Jeb3HW/CL9YYF4U=; b=I/BQPjlMENUJRo7mt2bIbsaBz1ZdV15Jk0zHxOH4B47wiP1IpuBlcUKPpzbogcCtHQzTDJ iHnqdKRPtRF1epMHvYR1jOsXO9hVwr2xpY+mWxmvCLypR+hMYd+nbqPV/MRcJNwfnTQSrg 8UgPm47N3MID4C2zvvh+KHchOKxVDslwXh8yP5V/k7AI1ufal1NIfAkyYCYsyDv96c4J3y 4QkaRgjfCu6nARPAqqjB6ieuvvuHb3bjjmcsrYsMUdst4PJNAX+76FZzHJsM9gyHu5XFmh pAl6qzPZXl2ysNZ4PQ5LjqFMDBiXKzJilBZ3x4jd2S0fx8TLe8BEKSr2g/goBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652608066; a=rsa-sha256; cv=none; b=tT1IZrQt3XU/0OGctymHhXJSSoR0ZcEFUoxCBJSNs0mS2ULjQqoNTh9yDlhJ/zQ37I4zrR B6w9tVMKNKFx9G8LCdXSmZ+LJWvR6Ktm0jcySEzJQXfu0mOj5R+9+D6QKTzSdUEOWsB3hk /OBQfpgDW+am4L5NqXut0I2HgmPrQwWGh4YPjQDP3bSKwhM+7fVOM1OEQ26x3uKN0s6xJL cNfS0x+Wo6Yy4rkU8tgEWql3TzdX+m1lbwbIBATgzD0QQW8yiU0ROIVPnXJkd3jliVj3co /HK/+c4YVZUWiIXhCSpzF2wHiZ+EPhewuzS9mT5ckKNolQvjbyTUudkXiOzDrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -5.73 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: D872F3F726 X-Spam-Score: -5.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: AXFQFBtNxhbY --=-ksCGle5RcTy9ReLJ07Ri Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, thanks, that's what I had expected since that patch has been around for a l= ong time. I run=20 emacs -q --load /tmp/init.el --file=3D/tmp/test.org=20 with my /tmp/init.el being only > (require 'package) > (package-initialize) > (add-to-list 'load-path "~/.emacs.d/straight/repos/org/lisp/") > (require 'org) >=20 > ;(require 'ess-site) > (org-babel-do-load-languages > 'org-babel-load-languages > '((R . t))) I hope this constitutes a minimal example for a config - please correct me = if I'm wrong. My test.org contains the source block I had already posted: #+begin_src R :results output :session *R* :exports both a <- 10 a #+end_src Any ideas how I could continue to debug this? If I just remove that patch, = everything works flawlessly for me but I would like to figure out what causes the issues. Thanks! Christian On Sun, 2022-05-15 at 16:08 +0800, Ihor Radchenko wrote: > Christian Heinrich writes: >=20 > > I got back to an org file after upgrading to the latest release of org-= mode and tried executing > > the > > contained R source blocks. Unfortunately, emacs got stuck in the execut= ion and was blocked; I > > had to > > exit using C-g. > >=20 > > Here's a minimal example src block that causes emacs to get stuck: > >=20 > > #+begin_src R :results output :session *R* :exports both > > =C2=A0 a <- 10 > > =C2=A0 a > > #+end_src > >=20 > > R itself does start and the code is also executed correctly. However, t= he output from that > > session > > is apparently not returned to emacs or the buffer. >=20 > I tried you example using Emacs >=3D26 and it works just fine. >=20 > Best, > Ihor --=-ksCGle5RcTy9ReLJ07Ri Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+9lGLw1S8YBUC27di84V01FvzDwFAmKAzAwACgkQi84V01Fv zDxQ9w/9GPaAWTcyGlaDbT0tcJU/z8aRko3FZs0HmzngEL+1qVy6u8KNHXcF3VDv p3L8+PDRjX6qxwcOARCup52g1/Ua8hcUDmaZy4ynROBYpb69rfzS4s01DfOjrqCy jtlnNcsZuPyZbo6mY3qqU5pK2BQupinXE7pFHuz951/p76B/A9oyYSXOnIQePuZa z6aI+ayVXSTzA3pN/qbmuwM/dPJd7dRP/SPwFUDedPTvyJnFwcUUmvAhmiY+vxP6 IPH3p8QfkWBKbHKSjt72Vq7KPrZ3OhOYzVbw8U0br016slo9VIYgXXGZYpB2jmwn PA0miXWbkqn2j7Yx+fm8vY4K8Aq2za5mrKjpjS5eltMwrenVYIFzR357vjYntzmW 8ZfE3cEO2yEQ2p/n+zJwgJEdGM4bqpbyBEzUY/3ZmfekpSr53PXIL7ReQ9Zhom9I otFOecU+0Iy7VOb2XdUsyPHdtfE5GjfLK++nRPvLnL1lG+mB9ckDKZvYduZ65sj9 M7TaihXd/n9M/tO7iXFtN5ViTGvaCyFGDTBce3ImpSedjM7Eof0oSeLbCYnPhyYR gUSn7G6QfmIQnTzqQ9VPoxr1cZYqgviK9RHIcvF5Zivb3ktDfxZItetjKLQZBI88 Ht4LRTk4FAInE+KAE+P251K44TYCJ/H9nNBSrijRdIViZsH6490= =PyHM -----END PGP SIGNATURE----- --=-ksCGle5RcTy9ReLJ07Ri--