From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Errors get suppressed by org-babel-execute-src-block Date: Fri, 12 Feb 2016 12:59:13 -0500 Message-ID: <87oablrery.fsf@alphaville.usersys.redhat.com> References: <87pow4pb5b.fsf@gmail.com> <87bn7nrx7v.fsf@alphaville.usersys.redhat.com> <87ziv5kf80.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUI0A-0002oj-6Q for emacs-orgmode@gnu.org; Fri, 12 Feb 2016 12:59:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUI07-0005jT-8P for emacs-orgmode@gnu.org; Fri, 12 Feb 2016 12:59:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:58540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUI07-0005hl-0e for emacs-orgmode@gnu.org; Fri, 12 Feb 2016 12:59:27 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUI01-0004JM-RR for emacs-orgmode@gnu.org; Fri, 12 Feb 2016 18:59:22 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 18:59:21 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 18:59:21 +0100 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Aaron Ecay writes: > Hi Nick, > > 2016ko otsailak 11an, Nick Dokos-ek idatzi zuen: >> >> Not sure if there are tests for remote babel execution, > > AFAIK no. It would be useful to have these. All the machines I use run > Linux and are configured very similarly. Many of the problems in remote > execution come from differences in environments. So it would be good if > someone could figure out how to test common configurations. Until that > happens, we have to rely on ad hoc testing or user reports. > I think tramp is pretty good at handling environment differences (and if not, Michael is pretty responsive at modifying it to fix whatever breakage people uncover), so for org-mode even simple tests in homogeneous environments should be useful (e.g. using localhost as the "remote", or the name of the machine that runs the test: not sure how much optimization is done at various levels, but it might be enough to test the remote code paths.) >> but if not, please make sure to test that (with :dir set to some >> directory on a different machine). Michael Albinus had done some work >> to get that working a few years ago: > > AFAICS my patch does not affect the work Michael did. I will test some > simple remote execution scenarios before I push the patch, just in case. > OK - good! >> BTW, I tried to test, but applying the patch to current master >> (8eff64cffee8627578edc33de485201ae579fafe) fails: > > Nicolas pushed some big changes to babel just after I sent my patch. > (Big in terms of the diff to the code, not necessarily in terms of > changing user behavior). I haven’t looked in detail, but it’s almost > guaranteed that the patch now needs to be rebased, which I’ll do as > soon as I can. Thanks! If you post the patch, I'll try out some simple tests over the weekend too. -- Nick