From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Invalid function: with-parsed-tramp-file-name with Perl Date: Wed, 19 Sep 2012 12:29:13 +0200 Message-ID: <87boh2fgqu.fsf@slate.zedat.fu-berlin.de> References: <87hau4ubgp.fsf@slate.zedat.fu-berlin.de> <7708.1340286834@alphaville> <87a9zwvhtp.fsf@slate.zedat.fu-berlin.de> <8083.1340291591@alphaville> <87395jub00.fsf@slate.zedat.fu-berlin.de> <877grro2av.fsf@slate.zedat.fu-berlin.de> <87haqupgfx.fsf@bzg.ath.cx> <87k3vqfjkd.fsf@slate.zedat.fu-berlin.de> <87wqzql4e6.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEHXK-0001ZM-Qw for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 06:29:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEHXE-0006i7-4Q for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 06:29:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:36479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEHXD-0006i3-Uc for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 06:29:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TEHXA-0008Lt-NV for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 12:29:32 +0200 Received: from slate.zedat.fu-berlin.de ([160.45.11.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2012 12:29:32 +0200 Received: from loris.bennett by slate.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2012 12:29:32 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > Hi Loris, > > "Loris Bennett" writes: > >> Nothing works now, not even >> >> #+BEGIN_SRC sh :file tmp.txt :dir /xxxxx@xxxxxxx: >> echo hostname >> #+END_SRC > > Maybe you don't have permission to read the /tmp/ dir > on the remote machine? > > Anyway, it's hard to debug with so little information. In the *Org-Babel Error Output* buffer, I get the following: /bin/bash: /scpc:xxxxx@xxxxxx:/tmp/sh-script-7472puH: No such file or directory But the file exists on the remote server: $ ls -l /tmp/sh-script-7472puH -rwxr-xr-x 1 xxxxxx xxxxxx 15 Sep 19 11:20 /tmp/sh-script-7472puH And if I execute it on the remote server, I get the expected result: $ /tmp/sh-script-7472puH xxxxxx So it seems that the call to the temporary file fails. Is the method /scpc: new? I don't recall seeing it before (but, then again, it used to work before, so I never saw an error message ...). Loris -- no sig is good sig