-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network IO broken in Julia 1.8.x #120
Comments
To clarify, please test with both Julia 1.8 and 1.7 if possible... |
1.7.2 continues to work as you described in the debug steps. For 1.8.4, I no longer get the infinite loop. I can see "hello world" printed out at the REPL. But I don't get the |
So far that’s (new) expected behavior. What about connecting to a remote 1.8.4 instance with Emacs, does that work with the experimental |
I can't get snail to connect to a remote instance within Emacs with either 1.8.4 or 1.7.2. I even tried a totally clean config with
|
I tried 1.6.1, and it also doesn't work. I can try bisecting on julia-snail versions tomorrow. |
Please confirm that |
Yes, I'm setting Yes, vterm works correctly otherwise. I tried a few different versions of snail. I wasn't able to find one that worked, but I did notice something you fixed on your
This only happens the first time you try. From that point on, it seems that snail sees that the On your
|
It looks like launching the remote REPL dies right away. I can't reproduce it on my system. When you open a Julia source buffer on the remote host using Tramp, you should be able to examine the value returned from this function:
Place the cursor after the closing parenthesis, and press C-u C-x C-e. That should insert an
Now take that string, and paste it into a local shell. It should bring up a remote REPL. Does it do so? If it errors out, what's the error? |
Ah hah! When I run See https://www.gnu.org/software/tramp/#Inline-methods and the following section on external methods. There are quite a few variations on using ssh. Perhaps you should be checking for the method to be one of ssh, sshx, rsync, scp, or scpx? I tested with the ssh method, and I was able to launch a snail repl! |
Nice catch! I just pushed a change to the attempt-to-fix branch that adds scp and scpx connection methods. Could you test it please? |
Seems like it is working! |
Great. Normally, I'd let something like this sit in master for a few weeks, but these are important enough bugfixes that I also tagged a version 1.2.1 release. Thanks for helping track these down. |
Hello @gcv , I am struggling to connect tramp via ssh but I can do sshx without any problems. I searched and configured ton of stuff. And no hope with ssh. I saw above that you added B.R. |
Picking up from #54 (comment) ...
@danielmatz: Can you try this branch? https://github.com/gcv/julia-snail/tree/attempt-io-fix — There are no Elisp changes, so if Git package installation is difficult in your environment, you can just grab the
JuliaSnail.jl
file and overwrite it wherever Snail is installed. I made a couple of small changes in an attempt to improve network IO robustness that seem to work for me locally, but I'm not exactly a remote REPL power user.The text was updated successfully, but these errors were encountered: