[slime-devel] How to restart the inferior kawa swank server?
Leo
sdl.web at gmail.com
Thu Aug 4 11:44:57 UTC 2011
Hello,
Assume you have inferior kawa scheme started as detailed in the
beginning of file swank-kawa.scm. Now switch to the *inferior-lisp*
buffer and do:
M-: (slime-inferior-connect (get-buffer-process (current-buffer)) \
(slime-inferior-lisp-args (get-buffer-process (current-buffer))))
You should see the following error, which disallows one to restart the
swank server. Any fix? Thanks in advance.
Leo
#|kawa:6|# (begin (load "/Users/leo/Desktop/swank-kawa/swank-kawa.zip") (start-swank "/tmp/.leo-tmp-1850X_/slime.37612"))
Thread[Thread-16,5,main]
#|kawa:7|# connection: Socket[addr=/127.0.0.1,port=60557,localport=60556]
listener: Thread[swank-listener,5,main] 936197591 chan at 3970ae0 #<environment r13>
attaching: 37892 20
attaching2: com.sun.jdi.ProcessAttach (defaults: pid=, timeout=) {pid=pid=37892, timeout=timeout=20}
closing socket: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=60556]
exception in thread Thread[swank,5,main]: java.lang.Error: mcase failed tmp
(chan at 1b50f0a7
(error "java.io.IOException: Unable to determine transport endpoint"
"IOException"
("com.sun.tools.jdi.ProcessAttachingConnector.attach(ProcessAttachingConnector.java:98)"
"swank$Mnkawa.attach(swank-kawa.scm:1756)"
"swank$Mnkawa.vmAttach(swank-kawa.scm:1736)"
"swank$Mnkawa.vmMonitor(swank-kawa.scm:1272)"
"swank$Mnkawa.apply1(swank-kawa.scm:1270)"
"gnu.expr.ModuleBody.applyN(ModuleBody.java:235)"
"swank$Mnkawa.applyN(swank-kawa.scm:978)"
"gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)"
"gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)"
"gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)"
"swank$Mnkawa$frame36.lambda60(swank-kawa.scm:1985)"
"swank$Mnkawa$frame36.apply1(swank-kawa.scm:1983)"
"gnu.expr.ModuleBody.applyN(ModuleBody.java:235)"
"gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)"
"gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)"
"gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)"
"swank$Mnkawa$frame35.lambda59(swank-kawa.scm:1976)"
"swank$Mnkawa$frame35.apply0(swank-kawa.scm:1976)"
"gnu.expr.ModuleBody.applyN(ModuleBody.java:233)"
"gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)"
"gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)"
"gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)"
"swank$Mnkawa$frame33.lambda56(swank-kawa.scm:1879)"
"swank$Mnkawa$frame33.apply0(swank-kawa.scm:1878)"
"gnu.expr.ModuleMethod.apply0(ModuleMethod.java:186)"
"gnu.mapping.RunnableClosure.run(RunnableClosure.java:78)"
"java.lang.Thread.run(Thread.java:680)")))java.lang.Error: mcase failed tmp
(chan at 1b50f0a7
(error "java.io.IOException: Unable to determine transport endpoint"
"IOException"
("com.sun.tools.jdi.ProcessAttachingConnector.attach(ProcessAttachingConnector.java:98)"
"swank$Mnkawa.attach(swank-kawa.scm:1756)"
"swank$Mnkawa.vmAttach(swank-kawa.scm:1736)"
"swank$Mnkawa.vmMonitor(swank-kawa.scm:1272)"
"swank$Mnkawa.apply1(swank-kawa.scm:1270)"
"gnu.expr.ModuleBody.applyN(ModuleBody.java:235)"
"swank$Mnkawa.applyN(swank-kawa.scm:978)"
"gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)"
"gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)"
"gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)"
"swank$Mnkawa$frame36.lambda60(swank-kawa.scm:1985)"
"swank$Mnkawa$frame36.apply1(swank-kawa.scm:1983)"
"gnu.expr.ModuleBody.applyN(ModuleBody.java:235)"
"gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)"
"gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)"
"gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)"
"swank$Mnkawa$frame35.lambda59(swank-kawa.scm:1976)"
"swank$Mnkawa$frame35.apply0(swank-kawa.scm:1976)"
"gnu.expr.ModuleBody.applyN(ModuleBody.java:233)"
"gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)"
"gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)"
"gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)"
"swank$Mnkawa$frame33.lambda56(swank-kawa.scm:1879)"
"swank$Mnkawa$frame33.apply0(swank-kawa.scm:1878)"
"gnu.expr.ModuleMethod.apply0(ModuleMethod.java:186)"
"gnu.mapping.RunnableClosure.run(RunnableClosure.java:78)"
"java.lang.Thread.run(Thread.java:680)")))
at swank$Mnkawa.ferror$V(swank-kawa.scm:979)
at swank$Mnkawa.dispatchEvents(swank-kawa.scm:406)
at swank$Mnkawa.setupServer(swank-kawa.scm:363)
at swank$Mnkawa$frame.lambda3(swank-kawa.scm:354)
at swank$Mnkawa$frame.apply0(swank-kawa.scm:353)
at gnu.expr.ModuleBody.applyN(ModuleBody.java:233)
at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
at swank$Mnkawa$frame33.lambda56(swank-kawa.scm:1879)
at swank$Mnkawa$frame33.apply0(swank-kawa.scm:1878)
at gnu.expr.ModuleMethod.apply0(ModuleMethod.java:186)
at gnu.mapping.RunnableClosure.run(RunnableClosure.java:78)
at java.lang.Thread.run(Thread.java:680)
#|kawa:8|#
More information about the slime-devel
mailing list