emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: org-file using tramp + babel?
Date: Thu, 14 Jan 2016 20:52:27 -0500	[thread overview]
Message-ID: <m260yvsj6s.fsf@vpn-128-237-147-138.library.vpn.cmu.edu> (raw)

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.

Thanks!

-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

             reply	other threads:[~2016-01-15  1:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15  1:52 John Kitchin [this message]
2016-01-15  3:33 ` org-file using tramp + babel? 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

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=m260yvsj6s.fsf@vpn-128-237-147-138.library.vpn.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    /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).