From astebakov@yahoo.com Thu Mar 30 11:34:34 2006 From: Andrew Stebakov To: slime-devel@common-lisp.net Subject: Re: [slime-devel] slime-connect after slime-disconnect Date: Thu, 30 Mar 2006 08:30:45 -0800 Message-ID: <20060330163045.93827.qmail@web32010.mail.mud.yahoo.com> In-Reply-To: <1143677389.19373.0.camel@nocandy.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6565656225584730020==" --===============6565656225584730020== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Stephen I tried what you suggested so now I call it with DONT-CLOSE flag set to true. The problem still remains. Now when I call slime-disconnect and after slime-connect it doesn't work. If I go and see the lisp log after the slime-disconnect I see: DISPATCHING: (:EMACS-REX (SWANK:INTERACTIVE-EVAL "(defun stat (website) \"Get DB page visit statistics for green pixel design\" (with-output-to-string (s) (write-string \"\" s) (let ((p (run-program \"date\" '(\"+%Y/%m/%d\") :wait t :output :stream)) (date nil)) (setf date (read-line (process-output p) nil nil)) ;;(write-string date s)) (parse-access-file (concatenate 'string \"/WebLogs/\" website \"/\" date \"-access.log\") s)) (alink \"http://www.cliki.net\" \"lisp\") (write-string \"\" s))) ") NIL T 65) DISPATCHING: (:RETURN # (:OK "=> STAT") 65) WRITE: (:return (:ok "=> STAT") 65) ;; Event history end. ;; Connection to Emacs lost. [ ;; condition: End-of-File on # ;; type: SWANK::SLIME-PROTOCOL-ERROR ;; encoding: :ISO-LATIN-1-UNIX style: :SIGIO dedicated: NIL] Help! 12 nested errors. KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded. Debug (type H for help) (DEBUG::DEBUG-LOOP) %primitive halt called; the party is over. LDB monitor ldb> After that I have no option but restart the lisp (detachtty). Andrei --- Stephen Compall wrote: > On Wed, 2006-03-29 at 15:02 -0800, Andrew Stebakov > wrote: > > I am connecting to a remote cmucl process using > ssh > > tunelling. > > When I connect for the first time everything is > fine. > > After I call slime-disconnect and try to connect > again > > the current ssh tunneling process shows: > > "channel 2: open failed: connect failed: > Connection > > refused". > > Did you pass the DONT-CLOSE parameter in some form > to the form you > started Swank with? > > -- > Stephen Compall > http://scompall.nocandysw.com/blog > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --===============6565656225584730020==--