Skip to content
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

slime-connect failure #1197

Open
rpx99 opened this issue Dec 20, 2023 · 2 comments
Open

slime-connect failure #1197

rpx99 opened this issue Dec 20, 2023 · 2 comments

Comments

@rpx99
Copy link

rpx99 commented Dec 20, 2023

When a ssh connection is established to a server running sbcl with a swank created remotely a slime-connect fails as it needs the micros fork of slime and therefore a micros server running.

LEM tries to connect but fails with a timeout:

[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (new-connection) -
Connecting to SWANK LEM-LISP-MODE/SWANK-PROTOCOL::HOSTNAME: "127.0.0.1"
LEM-LISP-MODE/SWANK-PROTOCOL::PORT: 4005
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Setup connection
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (remote-eval-from-string) -
Sending string to Swank LEM-LISP-MODE/SWANK-PROTOCOL::MSG: "(:emacs-rex (micros:connection-info) "COMMON-LISP-USER" T 1)"
LEM-LISP-MODE/SWANK-PROTOCOL::CONTINUATION: NIL
LEM-LISP-MODE/SWANK-PROTOCOL::THREAD: NIL PACKAGE: NIL
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Waiting for response
[15:53:24] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Received LEM-LISP-MODE/SWANK-PROTOCOL::INFO: (:READER-ERROR
"(:emacs-rex (micros:connection-info) "COMMON-LISP-USER" T 1)"
"Package MICROS does not exist.

Stream: #<dynamic-extent STRING-INPUT-STREAM (unavailable) from "(:emacs-...">")

[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Read timeout
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Creating the REPL
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (remote-eval-from-string) -
Sending string to Swank LEM-LISP-MODE/SWANK-PROTOCOL::MSG: "(:emacs-rex (micros/repl:create-repl nil :coding-system "utf-8-unix") NIL T 2)"
LEM-LISP-MODE/SWANK-PROTOCOL::CONTINUATION: NIL
LEM-LISP-MODE/SWANK-PROTOCOL::THREAD: NIL PACKAGE: NIL
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Waiting for response
[15:53:29] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Received LEM-LISP-MODE/SWANK-PROTOCOL::INFO: (:READER-ERROR
"(:emacs-rex (micros/repl:create-repl nil :coding-system "utf-8-unix") NIL T 2)"
"Package MICROS/REPL does not exist.

Stream: #<dynamic-extent STRING-INPUT-STREAM (unavailable) from "(:emacs-...">")

[15:53:34] lem-lisp-mode/swank-protocol swank-protocol.lisp (read-return-message) -
Read timeout
[15:53:34] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Reading rest messages
[15:53:34] lem-lisp-mode/swank-protocol swank-protocol.lisp (setup) -
Setup is done now

The repl shows:

NIL>

The user does not know what is going on.

@cxxxr
Copy link
Member

cxxxr commented Dec 21, 2023

You need to use micros, not swank.

@cxxxr
Copy link
Member

cxxxr commented Dec 21, 2023

Oh, you mean that you should give the appropriate error message.
Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants