From astebakov@yahoo.com Wed Mar 29 18:06:39 2006 From: Andrew Stebakov To: slime-devel@common-lisp.net Subject: [slime-devel] slime-connect after slime-disconnect Date: Wed, 29 Mar 2006 15:02:13 -0800 Message-ID: <20060329230213.42083.qmail@web32013.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2684183992005106818==" --===============2684183992005106818== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi 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". Emacs shows: Connecting to Swank on port 4005.. Lisp connection closed unexpectedly: exited abnormally with code 256 How can it be fixed? Thank you, Andrei __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --===============2684183992005106818==-- From s11@member.fsf.org Wed Mar 29 19:07:04 2006 From: Stephen Compall To: slime-devel@common-lisp.net Subject: Re: [slime-devel] slime-connect after slime-disconnect Date: Wed, 29 Mar 2006 18:09:49 -0600 Message-ID: <1143677389.19373.0.camel@nocandy.dyndns.org> In-Reply-To: <20060329230213.42083.qmail@web32013.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1229904951423468007==" --===============1229904951423468007== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --===============1229904951423468007== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuNC4yLjIgKEdO VS9MaW51eCkKCmlEOERCUUJFS3lITllXakQzNVBwMHdJUkFzWlZBSmtCVzNRaW82RzBDcWVJdGZv b2xyTTNCdmpIa3dDZ2pzakoKVFpSWHUrOGk2ZitucU5pTWhDdUZvQ3c9Cj0yQnVLCi0tLS0tRU5E IFBHUCBTSUdOQVRVUkUtLS0tLQo= --===============1229904951423468007==-- 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="===============8658399581904543448==" --===============8658399581904543448== 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 --===============8658399581904543448==--