From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: org-file using tramp + babel? Date: Fri, 15 Jan 2016 09:37:47 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJztJ-0004s6-Ly for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 03:37:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJztG-0001Zc-GS for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 03:37:53 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:38172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJztG-0001ZY-AL for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 03:37:50 -0500 Received: by mail-wm0-f49.google.com with SMTP id b14so13266764wmb.1 for ; Fri, 15 Jan 2016 00:37:50 -0800 (PST) In-Reply-To: ("Martin \=\?utf-8\?B\?WXJqw7Zsw6Qi\?\= \=\?utf-8\?B\?J3M\=\?\= message of "Fri, 15 Jan 2016 08:41:58 +0200") 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: Martin =?utf-8?B?WXJqw7Zsw6Q=?= Cc: emacs-orgmode , John Kitchin --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Martin Yrj=C3=B6l=C3=A4 writes: > 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_n6h6k= jttbmdw0000gn/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]. I think it would be nice if one could find a fix for this in org. > > 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 > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWmK/bAAoJENvXNx4PUvmC8swIALP70CHZ82H95lmzfFWzxPrL OAZocnaXwVDoA9D6aDFY3BWPJdXs3Frdl0bbUEu6eVtsJMIi04hQn69gUQ3Sx+By M1jCHfZ5XpMskbPRdgZ95ZClCuhP9HxrhjB5EK2fdc/iWOIiiAX7l7vkg0PTfg92 +UgNIhS3CXBfzzi20ZkNBD1aoyF7qDMcqhFLs3YYC6CFp2h56SmRyDpc5u7xKHIB 13hEQ4nnFHt1k8wQOSQw6VvxmWwMzPBjoIouE5EVdj4QdFaLNBD/tKVFxlFWEhtp tJT5yyeY6vSDSVFDhS582GOl7qJjDkc9/NyUDR6y+wXryuwkrOTwF1ILo3Q5YIE= =Gxrl -----END PGP SIGNATURE----- --=-=-=--