Re: [O] remote execution in heterogeneous environment

2012-12-24 Thread Michael Albinus
George Jones writes: > Success. No setting of temporary-file-directory needed. Great! Thanks for your inisistent testing. > Thanks, > ---George Best regards, Micvhael.

Re: [O] remote execution in heterogeneous environment

2012-12-23 Thread George Jones
Success. No setting of temporary-file-directory needed. Thanks, ---George On Sun, Dec 23, 2012 at 2:54 PM, Bastien wrote: > George Jones writes: > > > Should a git pull of development version of org pull the right patch? > > Yes. > > Simply ~$ git clone git://orgmode.org/org-mode.git (our

Re: [O] remote execution in heterogeneous environment

2012-12-23 Thread Bastien
George Jones writes: > Should a git pull of development version of org pull the right patch? Yes. Simply ~$ git clone git://orgmode.org/org-mode.git (our master branch is the development branch.) HTH, -- Bastien

Re: [O] remote execution in heterogeneous environment

2012-12-23 Thread George Jones
Should a git pull of development version of org pull the right patch? Thanks, ---george jones On Dec 23, 2012 11:47 AM, "Bastien" wrote: > Hi Michael, > > Michael Albinus writes: > > > > > > > The last patch in this message. Again,

Re: [O] remote execution in heterogeneous environment

2012-12-23 Thread Bastien
Hi Michael, Michael Albinus writes: > > > The last patch in this message. Again, the function seems to be moved to > ob-core.el now. Ah okay, applied, thanks! -- Bastien

Re: [O] remote execution in heterogeneous environment

2012-12-23 Thread Michael Albinus
Bastien writes: > Hi Michael, Hi Bastien, >> Indeed. I've published a patch to ob.el (as of Emacs trunk). Meanwhile, >> ob.el has been renamed to ob-core.el; likely that patch was lost :-( >> >> Bastien, could you please apply this patch (for `org-babel-temp-file')? > > Mhh... not sure what pat

Re: [O] remote execution in heterogeneous environment

2012-12-23 Thread Bastien
Hi Michael, Michael Albinus writes: > Indeed. I've published a patch to ob.el (as of Emacs trunk). Meanwhile, > ob.el has been renamed to ob-core.el; likely that patch was lost :-( > > Bastien, could you please apply this patch (for `org-babel-temp-file')? Mhh... not sure what patch you refer t

Re: [O] remote execution in heterogeneous environment

2012-12-23 Thread Michael Albinus
George Jones writes: > Still need to > (setq temporary-file-directory "/tmp/") > > for things to work, else I get: > > Couldn't write region to > `/scpc:george@localhost#:/var/folders/j6/j6w17khs3vl9s2_yg4rb5zsmgn/T/input- > 11249kNp', decode using `base64 -d -i >%s\ > ' failed > > Tes

Re: [O] remote execution in heterogeneous environment

2012-12-22 Thread George
Michael Albinus writes: >> Similar procedure on a mac still yeilds: >> >> Couldn't write region to >> `/scpc:g...@example.com:/var/folders/j6/j6w17khs3vl9s2_yg4rb5zsmgn/T/input- >> 61683xyS', decode using `mimencode -u -b >%s' f\ >> ailed > > Could you, please, show the exact test case? And p

Re: [O] remote execution in heterogeneous environment

2012-12-22 Thread George
Michael Albinus writes: >> Similar procedure on a mac still yeilds: >> >> Couldn't write region to >> `/scpc:g...@example.com:/var/folders/j6/j6w17khs3vl9s2_yg4rb5zsmgn/T/input- >> 61683xyS', decode using `mimencode -u -b >%s' f\ >> ailed > > Could you, please, show the exact test case? And p

Re: [O] remote execution in heterogeneous environment

2012-12-22 Thread Michael Albinus
George writes: Hi George, > Make everything works with: > > (setq temporary-file-directory "/tmp/") That's a misunderstanding. I meant the workaround I have proposed yesterday on the org-mode ML, and which has been committed by Bastien. Meanwhile, everything shall work out-of-the box. Does i

Re: [O] remote execution in heterogeneous environment

2012-12-21 Thread Nick Dokos
Michael Albinus wrote: > Bastien writes: > > > Hi Michael, > > Hi everybody, > > > From the org-mode repo, simply run "make test": it will compile the > > files and run the test suite. > > I could reproduce the problem. > > Finally, it is an error in `process-file', which wasn't detected

Re: [O] remote execution in heterogeneous environment

2012-12-21 Thread Bastien
Hi Michael, Michael Albinus writes: > Finally, it is an error in `process-file', which wasn't detected until > now. Thanks to triggering this! > > I've fixed it already in Emacs' trunk. For org-mode, I have used the > following workaround: great, thanks for fixing this so fast, I applied your c

Re: [O] remote execution in heterogeneous environment

2012-12-21 Thread Michael Albinus
George Jones writes: > Hi. Hi George, > Similar procedure on a mac still yeilds: > > Couldn't write region to > `/scpc:g...@example.com:/var/folders/j6/j6w17khs3vl9s2_yg4rb5zsmgn/T/input- > 61683xyS', decode using `mimencode -u -b >%s' f\ > ailed Could you, please, show the exact test case

Re: [O] remote execution in heterogeneous environment

2012-12-21 Thread Michael Albinus
Bastien writes: > Hi Michael, Hi everybody, > From the org-mode repo, simply run "make test": it will compile the > files and run the test suite. I could reproduce the problem. Finally, it is an error in `process-file', which wasn't detected until now. Thanks to triggering this! I've fixed

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread George Jones
Hi. Patch seems to work. Tested on fresh emacs-snapshot (24.3.50.1) install on ubuntu with org-mode freshly pulled from git (7.9.2). #+NAME: hobbits | bilbo | frodo | #+name: execOnExample.com #+BEGIN_SRC sh :var foo=hobbits :dir /g...@example.com: :results output hostname echo executed on `h

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Achim Gratz
Bastien writes: >> Unfortunately it breaks testing, at least in batch mode. See my other >> posting about it. > > Not sure what other posting I should read -- sorry, I can't read and > process on the threads at once. The other posting is "27bcf9a70b Backport revno 111277 from Emacs trunk." > If

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Hi Michael, thanks for offering your help! The first step is to clone the repository: ~$ git clone git://orgmode.org/org-mode.git You are in the master branch, the one we use for latest developments. The other branch is "maint", the one we use for bug fixing. The next version of Org, 7.9.3 wil

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Michael Albinus
Achim Gratz writes: >>> The following patch I've committed to Emacs' trunk, it fixes the problem >>> as far as I could test. Maybe somebody from the org maintainers could >>> merge it into the org repository. >> >> I've already merged it in maint and master. > > Unfortunately it breaks testing, a

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Nick Dokos writes: > Isn't ``make test'' standard procedure before a commit? If not, it should be. > Otherwise, why have a test suite? "Errare humanum est... " Yes, I should have tested. But note that this is already committed in Emacs trunk. My assumption by looking at the code was that if te

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Achim Gratz writes: > Unfortunately it breaks testing, at least in batch mode. See my other > posting about it. Not sure what other posting I should read -- sorry, I can't read and process on the threads at once. If you know how to fix the tests, please go ahead. Thanks! -- Bastien

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Nick Dokos
Achim Gratz wrote: > Bastien writes: > > Michael Albinus writes: > > > >> The following patch I've committed to Emacs' trunk, it fixes the problem > >> as far as I could test. Maybe somebody from the org maintainers could > >> merge it into the org repository. > > > > I've already merged it in m

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Achim Gratz
Bastien writes: > Michael Albinus writes: > >> The following patch I've committed to Emacs' trunk, it fixes the problem >> as far as I could test. Maybe somebody from the org maintainers could >> merge it into the org repository. > > I've already merged it in maint and master. Unfortunately it br

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Hi Michael, Michael Albinus writes: > The following patch I've committed to Emacs' trunk, it fixes the problem > as far as I could test. Maybe somebody from the org maintainers could > merge it into the org repository. I've already merged it in maint and master. Thanks a lot! -- Bastien

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Michael Albinus
Michael Albinus writes: Hi, > Looks, like nobody did take the ball :-( > > Maybe I'll check it again over XMas days, and maybe I can propose a > concrete patch then. The following patch I've committed to Emacs' trunk, it fixes the problem as far as I could test. Maybe somebody from the org main

Re: [O] remote execution in heterogeneous environment

2012-12-17 Thread Michael Albinus
[Cc emacs-orgmode@gnu.org] George Jones writes: Hi George, > Did you ever get resolution on these? I think I'm hitting the same > exact problems. In my last message, I gave some hints what to do in org's code. Since I don't use org myself (yet), I haven't followed that. Looks, like nobody di

Re: [O] remote execution in heterogeneous environment

2012-12-01 Thread Michael Albinus
Neil Best writes: > I had just recently upgraded Emacs through Macports but had not since > restarted it, that's all. No such luck on the Tramp upgrade. I will > just wait for the next release to propagate through Macports unless > some intolerable behavior crops up. I do have a shiny new vers

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Neil Best
On Fri, Nov 30, 2012 at 1:22 PM, Michael Albinus wrote: > Neil Best writes: > >> tramp-version >> "2.2.3-24.1" >> >> emacs-version >> "24.2.1" >> >> Looks like I should upgrade tramp. I will look into that. > > Emacs 24.3 is in pretest, it contains Tramp 2.2.6. This might be another > option. Se

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Michael Albinus
Neil Best writes: > tramp-version > "2.2.3-24.1" > > emacs-version > "24.2.1" > > Looks like I should upgrade tramp. I will look into that. Emacs 24.3 is in pretest, it contains Tramp 2.2.6. This might be another option. See . > I think if I re

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Michael Albinus
Nick Dokos writes: > OK - thanks. Sorry for the noise. > > Trying-to-get-foot-out-of-mouth-ly yours, Come on, there's nothing you have to sorry. You don't know Tramp, that's all. And this is not exclusive by you :-) > Nick Best regards, Michael.

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Nick Dokos
Michael Albinus wrote: > Nick Dokos writes: > > > See > > > > http://thread.gmane.org/gmane.emacs.orgmode/62963 > > I've seen that. > > > It was a weird setting of the variable ``temporary-file-directory'' in > > Neil's Macport setup, plus the assumption by tramp that that setting was > >

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Neil Best
Thanks for taking a look, Michael. On Fri, Nov 30, 2012 at 1:37 AM, Michael Albinus wrote: > Neil Best writes: >> >> #+BEGIN_SRC sh :dir /midway:~ echo "Executed by `whoami` on `hostname` >> in `pwd`" #+END_SRC >> > > Which version of Tramp are you using? You find it by "C-h v tramp-version". >

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Michael Albinus
Nick Dokos writes: > See > > http://thread.gmane.org/gmane.emacs.orgmode/62963 I've seen that. > It was a weird setting of the variable ``temporary-file-directory'' in > Neil's Macport setup, plus the assumption by tramp that that setting was > valid for the remote - that turned out to be

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Nick Dokos
Michael Albinus wrote: > Neil Best writes: > > Hi, > > > I run Macport's Emacs and ELPA's Org on my Mac but my data lives in a > > Red Hat environment. I thought I could edit locally and compute > > remotely but there seems to be a problem with temp files for executing > > source blocks. > >

Re: [O] remote execution in heterogeneous environment

2012-11-29 Thread Michael Albinus
Neil Best writes: Hi, > I run Macport's Emacs and ELPA's Org on my Mac but my data lives in a > Red Hat environment. I thought I could edit locally and compute > remotely but there seems to be a problem with temp files for executing > source blocks. > > #+BEGIN_SRC sh :dir /midway:~ echo "Execu

Re: [O] remote execution in heterogeneous environment

2012-11-29 Thread Neil Best
On Thu, Nov 29, 2012 at 1:25 PM, Nick Dokos wrote: > >> But your earlier mail says that it is trying to create the temp file on the >> remote >> >> , >> | > Tramp: Decoding region into remote file >> | > >> /ssh:midway:/var/folders/2y/qrw3hhkx0dlb9sbl51mjy5wmgn/T/sh-510999vN...done >> |

Re: [O] remote execution in heterogeneous environment

2012-11-29 Thread Neil Best
On Thu, Nov 29, 2012 at 11:16 AM, Nick Dokos wrote: > It looks as if you are creating temp files under /var/folders/2y on the > remote: are you sure that a) the structure exists and b) permissions are > set correctly? > > Do you have the /var/folders/2y structure on the local host or only on > th

Re: [O] remote execution in heterogeneous environment

2012-11-29 Thread Nick Dokos
Neil Best wrote: > I run Macport's Emacs and ELPA's Org on my Mac but my data lives in a > Red Hat environment. I thought I could edit locally and compute > remotely but there seems to be a problem with temp files for executing > source blocks. > > #+BEGIN_SRC sh :dir /midway:~ echo "Executed b

Re: [O] remote execution in heterogeneous environment

2012-11-29 Thread Nick Dokos
Neil Best wrote: > I run Macport's Emacs and ELPA's Org on my Mac but my data lives in a > Red Hat environment. I thought I could edit locally and compute > remotely but there seems to be a problem with temp files for executing > source blocks. > > #+BEGIN_SRC sh :dir /midway:~ echo "Executed b

[O] remote execution in heterogeneous environment

2012-11-29 Thread Neil Best
I run Macport's Emacs and ELPA's Org on my Mac but my data lives in a Red Hat environment. I thought I could edit locally and compute remotely but there seems to be a problem with temp files for executing source blocks. #+BEGIN_SRC sh :dir /midway:~ echo "Executed by `whoami` on `hostname` in `pw