From mboxrd@z Thu Jan 1 00:00:00 1970 From: emacswatcher@gmail.com Subject: Bug: Babel Tramp python [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.3/lisp/org/)] Date: Tue, 19 Sep 2017 14:54:37 -0700 Message-ID: <83d16mpd5u.fsf@slabber.insubstantialarts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duR5N-0005ey-4K for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 18:33:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duR5I-0006hB-Dk for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 18:33:45 -0400 Received: from [66.171.188.163] (port=51700 helo=slabber.insubstantialarts.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duR5I-0006ge-6x for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 18:33:40 -0400 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" To: emacs-orgmode@gnu.org Given emacs -Q with this file: +++ test.org #+TITLE: Babel remote processing test #+AUTHOR: jjh #+EMAIL: emacswatcher@gmail.com * python #+BEGIN_SRC python :dir /ssh:root@[some remote host]: import socket return ("Hostname is %s" % socket.gethostname()) #+END_SRC --- test.org and with python added to org-babel-language-list: (setq org-babel-load-languages ((python . t) (sh . t) (emacs-lisp . t))) executing the source block with a valid remote host returns in *Messsages*: executing Python code block... Tramp: Encoding local file =E2=80=98/tmp/tramp.1353PZN=E2=80=99 using =E2= =80=98base64-encode-region=E2=80=99...done Tramp: Decoding remote file =E2=80=98/ssh:root@[my remote host]:/tmp/python= -1353CPH=E2=80=99 using =E2=80=98base64 -d -i >%s=E2=80=99...done org-babel-local-file-name: Invalid function: with-parsed-tramp-file-name n.b.:a similar sh source block remotely executed on the same host works as expected. Emacs : GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.19) of 2017-09-14 Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.3/li= sp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-comman= d-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-co= mmand-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] = 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append = local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-= maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers o= rg-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-babel-load-languages '((sh . t) (python . t) (emacs-lisp . t)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )