tpapp / julia-repl

Run an inferior Julia REPL in a terminal inside Emacs
Other
170 stars 35 forks source link

remote repl with ssh not working #88

Open andrewsteck opened 4 years ago

andrewsteck commented 4 years ago

Attempted to setup remote repl with instructions here, and got the following error:

..: line 0: [: too many arguments
..: /path/to/juliafile/ssh -t somehost /path/julia: No such file or directory
..: line 0: exec: /path/to/juliafile/ssh -t somehost /path/julia: cannot execute: No such file or directory

Process julia-remote exited abnormally with code 126

If relevant, version info is: emacs: GNU Emacs 26.3 (build 1, x86_64-apple-darwin19.0.0, NS appkit-1894.10 Version 10.15.1 (Build 19B88)) of 2019-11-17 Julia: 1.4.1 julia-repl: latest master

Was hoping to troubleshoot more today, but now I'm not even able to ssh into the remote as it seems campus IT are changing things about. I'll follow-up here if I can make any headway.

andrewsteck commented 4 years ago

I'm noticing this message in the *Warnings* buffer as well:

Warning (emacs): could not capture basedir for Julia executable ssh -t somehost /path/julia

I've taken a look at the source code and tried providing basedir myself, but am evidently not doing it right. Not sure if it would need some special case of path determination as for the cygwin...

tpapp commented 4 years ago

That's just a consequence of not being able to start the Julia process.

I don't have time to dig into this at the moment, but I will fix this soon.

andrewsteck commented 4 years ago

Understood and I appreciate all your work on this!

If we get it working, I'll be happy to update the docs for anyone else that wants to use this feature.