[slime-devel] Difficulty connecting to external process

Dan Knapp dk-apple at accela.net
Fri Apr 15 00:21:09 UTC 2005


   Much like in the recent thread on ssh, I'm trying to use Slime by 
connecting
to a running Lisp.  In theory, this ought to be simpler, because I'm 
not using
ssh for it.  I am not having much luck.

   I'm using the latest CVS version of Slime (just ran an update and 
repeated my
test); OpenMCL 1.14.3; and the Emacs version:

GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.3.0) of 2004-05-08 on 
iBook.local

   In the host process, I load Slime through asdf, then I start it by 
invoking

(setq swank:*use-dedicated-output-stream* nil)
(swank:create-server :port 9090 :dont-close t :style nil)

   The *use-dedicated-output-stream* is there because an old thread on 
this list
advised it.  I have also tried without the :style parameter, not that 
that should have
any relevance.

   Then in Emacs, I do M-x slime-connect RET 127.0.0.1 RET 9090 RET.  
Emacs
says this:

Connecting to Swank on port 9090..
net-read error: (end-of-file)
error in process-filter: byte-code: PANIC!
error in process-filter: PANIC!

Lisp says this (I have it set up to dump into syslog):

;; Connection to Emacs lost.
;; [Short read: length=3158064  pos=58]

   If I try to connect again, I get the same error messages on both 
ends, so at
least I know the loop isn't falling through...

   Both processes happen to be on the same computer, but are using 
different
copies of the same version of Slime (one of them is inside a .app 
bundle...),
in case that's relevant.

   Please advise?

-- Dan Knapp




More information about the slime-devel mailing list