From: "François Puitg" <Francois.Puitg@imag.fr>
To: emacs-orgmode@gnu.org
Subject: Re: can't publish attached files to a remote site
Date: Mon, 22 Oct 2007 20:55:38 +0000 (UTC)
Date: Lun, 22 Oct 2007 22:54:54 +0200 [thread overview]
Message-ID: <87k5peeuox.fsf@imag.fr> (raw)
In-Reply-To: <200710221604.l9MG4Hc8010314@imag.imag.fr>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]
> "François Puitg" <Francois.Puitg@imag.fr> writes:
>
> > After hitting C-c C-e P, the connexion is established and a bunch of
> > tramp messages are displayed in the minibuffer. The org file is
> > correctly exported and published, but the attached source file is not:
> > at some point, I get a wrong type arg error: number-char-or-marker-p,
> > (0 . 7498).
>
> org-publish uses eshell/cp to publish attachments. Looks like your
> problem comes from eshell/cp not being aware of this Tramp syntax?
>
> Could you check this further please? Maybe going through the tramp
> messages could help, but I'm not sure.
>
> Thanks,
>
> --
> Bastien
Tramp messages doesn't help :
the "*debug tramp/scp puitg@ssh-leibniz.imag.fr*" buffer just writes
that test.html is successfully copied to the remote site, but it says
nothing about test.c not being copied.
It's weird : why does it succeed on test.html (exported from test.org)
and not on test.c (via org-publish-attachment) ?
Actually, you're right : the error occurs in eshell-shuffle-files
before the publish stage, as suggested by the lisp backtrace.
I don't know what to do : I want to use org-publish but I can't use
the /ssh:user@host syntax because it's an ange-ftp syntax and I'm
running xemacs (ange-ftp on xemacs is EFS, but EFS doesn't support
ssh).
next parent reply other threads:[~2007-10-22 20:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200710221604.l9MG4Hc8010314@imag.imag.fr>
2007-10-22 20:55 ` François Puitg [this message]
2007-10-22 22:25 ` can't publish attached files to a remote site Bastien
2007-10-20 14:00 François Puitg
2007-10-21 22:41 ` Bastien
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=87k5peeuox.fsf@imag.fr \
--to=francois.puitg@imag.fr \
--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).