From mboxrd@z Thu Jan 1 00:00:00 1970 From: "François Puitg" Subject: Re: can't publish attached files to a remote site Date: Mon, 22 Oct 2007 20:55:38 +0000 (UTC) Message-ID: <87k5peeuox.fsf@imag.fr> References: <200710221604.l9MG4Hc8010314@imag.imag.fr> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ik4Io-0005pr-GN for emacs-orgmode@gnu.org; Mon, 22 Oct 2007 16:55:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ik4Im-0005pf-TP for emacs-orgmode@gnu.org; Mon, 22 Oct 2007 16:55:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ik4Im-0005pc-ON for emacs-orgmode@gnu.org; Mon, 22 Oct 2007 16:55:08 -0400 Received: from imag.imag.fr ([129.88.30.1]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ik4Il-0002iA-Te for emacs-orgmode@gnu.org; Mon, 22 Oct 2007 16:55:08 -0400 Date: Lun, 22 Oct 2007 22:54:54 +0200 In-Reply-To: <200710221604.l9MG4Hc8010314@imag.imag.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > "François Puitg" 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).