Hi Michael,
Sorry about that; I've attached the compressed logs. They are rather large (50 mb), the only two commands I did were the two below, one command sent to dired, the other to a python buffer.
Best,
Michael
On Tue, Jun 2, 2020 at 10:35, Michael Albinus <michael.albinus@gmx.de> wrote:
Michael Lingelbach <
m.j.lbach@gmail.com> writes:
Hi Michael,
I'm trying to get a remote languag server running via tramp. When I
attempt to execute any remote shell command in a dired buffer, such as:
```
(with-current-buffer "box-physics"
(start-file-process-shell-command "mspyls-remote" "*mspyls-remote*" "stty" "raw" ";" "python-language-server" "2>/tmp/mspyls-remote-16-stderr"))
#<process mspyls-remote>
```
The process executes.
When I repeat the process in a python file:
```
ELISP> (with-current-buffer "train.py"
(start-file-process-shell-command "mspyls-remote" "*mspyls-remote*" "stty" "raw" ";" "python-language-server" "2>/tmp/mspyls-remote-16-stderr"))
```
The process hangs emacs indefinitely until interrupted,returning
```
*** Eval error *** Couldn’t find local shell prompt for /bin/sh
```
This is reproducible with any executable (including echo). I've tried on
linux/mac on emacs 27 and 28 (native-comp).
Please do the usual analysis. Set tramp-verbose to 6, and reevaluate the
form. There will be a buffer *debug tramp/ssh jedi*, which we will check.
Best regards, Michael.