all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "M-x slime-connect" cannot connect to sbcl-next swank server
@ 2019-01-10 11:28 Amar Singh
  2019-01-11 12:28 ` Pierre Neidhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Amar Singh @ 2019-01-10 11:28 UTC (permalink / raw)
  To: help-guix

I have installed 'emacs-slime and 'sbcl-next

(guix-version)

GNU Guix 394207c1ee05c4bb148896852f5dd90cdbff4bb5
Emacs-Guix 0.5.1

I do a 'slime-connect and i get this message after which the connection
fails,

Versions differ: 2.22 (slime) vs. nil (swank). Continue? (y or n) y
error in process filter: funcall: Synchronous Lisp Evaluation aborted
error in process filter: Synchronous Lisp Evaluation aborted
Lisp connection closed unexpectedly: connection broken by remote peer

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "M-x slime-connect" cannot connect to sbcl-next swank server
  2019-01-10 11:28 "M-x slime-connect" cannot connect to sbcl-next swank server Amar Singh
@ 2019-01-11 12:28 ` Pierre Neidhardt
  2019-01-13 19:24   ` Andy Patterson
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2019-01-11 12:28 UTC (permalink / raw)
  To: Amar Singh, Andy Patterson; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

Thanks for reporting.

I can reproduce.  I think this is due to how we package
SBCL-SLIME-SWANK.
Somehow, the version is missing, and maybe more other important
parameters.

With Quicklisp's SWANK and a local build of Next, it works fine here on
Guix' emacs-slime.

Andy, any idea?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "M-x slime-connect" cannot connect to sbcl-next swank server
  2019-01-11 12:28 ` Pierre Neidhardt
@ 2019-01-13 19:24   ` Andy Patterson
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Patterson @ 2019-01-13 19:24 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

Hey Pierre and Amar,

On Fri, 11 Jan 2019 13:28:05 +0100
Pierre Neidhardt <mail@ambrevar.xyz> wrote:

> Thanks for reporting.
> 
> I can reproduce.  I think this is due to how we package
> SBCL-SLIME-SWANK.
> Somehow, the version is missing, and maybe more other important
> parameters.

If I'm remembering right the version of swank that we package is quite
old due to the use of a branch which provided an asd file which was
suitable for the asdf build system.  So I can definitely see how there
could be mismatches.

> 
> With Quicklisp's SWANK and a local build of Next, it works fine here
> on Guix' emacs-slime.
> 
> Andy, any idea?

When I debugged our next package briefly before, I created an ad-hoc
environment with the library version of next, sbcl (for the environment
variables), and sbcl-slynk:image. I then ran slynk.image, started up a
slynk server on it, and loaded in next.  I think I had to rename the
slynk pacakges (I did this at the sly mrepl) to stop providing swank
aliases so that they wouldn't conflict with the swank which comes with
next.  After that I started next's main and was able to debug from
there.  I think that was the path of least resistance to opening a
debug session.

Hoping that helps. Let me know if you need any more information.

--
Andy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-13 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-10 11:28 "M-x slime-connect" cannot connect to sbcl-next swank server Amar Singh
2019-01-11 12:28 ` Pierre Neidhardt
2019-01-13 19:24   ` Andy Patterson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.