emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: "Martin Yrjölä" <martin.yrjola@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
	John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: org-file using tramp + babel?
Date: Fri, 15 Jan 2016 09:37:47 +0100	[thread overview]
Message-ID: <m2wprbkzl0.fsf@krugs.de> (raw)
In-Reply-To: <m2y4br4a4p.fsf@gmail.com> ("Martin \=\?utf-8\?B\?WXJqw7Zsw6Qi\?\= \=\?utf-8\?B\?J3M\=\?\= message of "Fri, 15 Jan 2016 08:41:58 +0200")

[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]

Martin Yrjölä <martin.yrjola@gmail.com> writes:

> Hi John,
>
> John Kitchin <jkitchin@andrew.cmu.edu> 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].

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

      reply	other threads:[~2016-01-15  8:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15  1:52 org-file using tramp + babel? John Kitchin
2016-01-15  3:33 ` Charles C. Berry
2016-01-15  8:36   ` Rainer M Krug
2016-01-16  0:15   ` John Kitchin
2016-01-15  6:41 ` Martin Yrjölä
2016-01-15  8:37   ` Rainer M Krug [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wprbkzl0.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --cc=martin.yrjola@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).