From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin =?utf-8?B?WXJqw7Zsw6Q=?= Subject: Re: org-file using tramp + babel? Date: Fri, 15 Jan 2016 08:41:58 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJy5G-0003uf-Qi for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 01:42:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJy5D-0004uZ-KU for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 01:42:06 -0500 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:36786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJy5D-0004uP-BY for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 01:42:03 -0500 Received: by mail-lf0-x232.google.com with SMTP id h129so81962971lfh.3 for ; Thu, 14 Jan 2016 22:42:02 -0800 (PST) In-reply-to: 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: John Kitchin Cc: emacs-orgmode Hi John, John Kitchin writes: > Hi, I opened an org file using tramp on a remote server. It opened fine, > and I had no trouble writing text and saving it. For fun I tried running > a src block (a shell block that just returned the hostname), and got > this error: > >>%s'...failed > tramp-file-name-handler: Couldn't write region to > `/scp:jkitchin@gilgamesh.cheme.cmu.edu:/var/folders/5q/lllv2yf95hg_n6h6kjttbmdw0000gn/T/ob-input-30024dza', > decode using `base64 -d -i >%s' failed > > Should this have worked? It looks like it tried to write a local path > from my Mac to the server, and that path doesn't exist there. > > Some details (not sure they are relevant): > I am running Emacs on a Mac, and opened a file on a remote Centos5 > server. Howard Abrams has written an extensive answer to this problem in his blog [1]. The problem is that the Mac uses a different folder for temporary files. Howard also proposes a fix and refers to a mailing list message regarding the bug [2]. Hope this helps, Martin [1] http://www.howardism.org/Technical/Emacs/literate-devops.html#fn.2 [2] http://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00992.html