[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-file using tramp + babel?
From: |
Rainer M Krug |
Subject: |
Re: [O] org-file using tramp + babel? |
Date: |
Fri, 15 Jan 2016 09:37:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
Martin Yrjölä <address@hidden> writes:
> Hi John,
>
> John Kitchin <address@hidden> 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:address@hidden:/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].
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
>
>
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
signature.asc
Description: PGP signature