From: "Martin Yrjölä" <martin.yrjola@gmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-file using tramp + babel?
Date: Fri, 15 Jan 2016 08:41:58 +0200 [thread overview]
Message-ID: <m2y4br4a4p.fsf@gmail.com> (raw)
In-Reply-To: <m260yvsj6s.fsf@vpn-128-237-147-138.library.vpn.cmu.edu>
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].
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
next prev parent reply other threads:[~2016-01-15 6:42 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ä [this message]
2016-01-15 8:37 ` Rainer M Krug
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2y4br4a4p.fsf@gmail.com \
--to=martin.yrjola@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jkitchin@andrew.cmu.edu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.