I recently picked the latest slime code from cvs and attempted to run it using sbcl. I can't seem to get it to work and I'm not sure where to start looking for the problem. Perhaps my blindness is due to the fact that I'm absolutely new to lisp programming.
Below is the output from M-x slime:
(load "/home/nochiel/my-code/lisp/el/slime/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.6027" :external-format :iso-latin-1-unix)
This is SBCL 0.9.5.9, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * ; loading #P"/home/nochiel/my-code/lisp/el/slime/swank-loader.lisp" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-backend.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/nregex.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-sbcl.fasl" STYLE-WARNING: redefining PREFERRED-COMMUNICATION-STYLE NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITHOUT-INTERRUPTS (T) in DEFMETHOD STYLE-WARNING: redefining LISP-IMPLEMENTATION-TYPE-NAME NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-SYNTAX-HOOKS (T) in DEFMETHOD STYLE-WARNING: redefining DEFAULT-READTABLE-ALIST NIL in DEFMETHOD STYLE-WARNING: redefining ARGLIST (T) in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-DEBUGGER-HOOK (T T) in DEFMETHOD STYLE-WARNING: redefining FORMAT-SLDB-CONDITION (T) in DEFMETHOD STYLE-WARNING: redefining CONDITION-REFERENCES (T) in DEFMETHOD STYLE-WARNING: redefining UNPROFILE-ALL NIL in DEFMETHOD ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-source-path-parser.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-source-file-cache.fasl" STYLE-WARNING: redefining BUFFER-FIRST-CHANGE (T) in DEFMETHOD ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-gray.fasl" STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-NO-HANG STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank.fasl" WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING ALL-THREADS CALLS-WHO DISASSEMBLE-FRAME FIND-THREAD INSPECT-FOR-EMACS INTERRUPT-THREAD QUIT-LISP RECEIVE RESTART-FRAME SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-BINDS WHO-CALLS WHO-MACROEXPANDS WHO-REFERENCES WHO-SETS WHO-SPECIALIZES) T * ;; Swank started at port: 1026.
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {9003339}>: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION SWANK-BACKEND:SPAWN (0)> when called with arguments (# :NAME "Swank").
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level.
((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION SWANK-BACKEND:SPAWN (0)> (#<CLOSURE # {9467AFD}> :NAME "Swank")) 0]
-- Nicholas Ochiel, NEO (New Enterprise Objects)(tm) Innovation Machine w: http://www.newenterpriseobjects.com b: http://billionairebusinessman.org
"Travelers, it is late. Life's sun is going to set. During these brief days that you have strength, be quick and spare no effort of your wings."
Yesterday I picked the latest slime code from cvs and attempted to run it using sbcl. I can't seem to get it to work and I'm not sure where to start looking for the problem. Perhaps my blindness is due to the fact that I'm absolutely new to lisp programming.
Below is the output from M-x slime:
(load "/home/nochiel/my-code/lisp/el/slime/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.6027" :external-format :iso-latin-1-unix)
This is SBCL 0.9.5.9, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * ; loading #P"/home/nochiel/my-code/lisp/el/slime/swank-loader.lisp" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-backend.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/nregex.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-sbcl.fasl" STYLE-WARNING: redefining PREFERRED-COMMUNICATION-STYLE NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITHOUT-INTERRUPTS (T) in DEFMETHOD STYLE-WARNING: redefining LISP-IMPLEMENTATION-TYPE-NAME NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-SYNTAX-HOOKS (T) in DEFMETHOD STYLE-WARNING: redefining DEFAULT-READTABLE-ALIST NIL in DEFMETHOD STYLE-WARNING: redefining ARGLIST (T) in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-DEBUGGER-HOOK (T T) in DEFMETHOD STYLE-WARNING: redefining FORMAT-SLDB-CONDITION (T) in DEFMETHOD STYLE-WARNING: redefining CONDITION-REFERENCES (T) in DEFMETHOD STYLE-WARNING: redefining UNPROFILE-ALL NIL in DEFMETHOD ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-source-path-parser.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-source-file-cache.fasl" STYLE-WARNING: redefining BUFFER-FIRST-CHANGE (T) in DEFMETHOD ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-gray.fasl" STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-NO-HANG STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank.fasl" WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING ALL-THREADS CALLS-WHO DISASSEMBLE-FRAME FIND-THREAD INSPECT-FOR-EMACS INTERRUPT-THREAD QUIT-LISP RECEIVE RESTART-FRAME SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-BINDS WHO-CALLS WHO-MACROEXPANDS WHO-REFERENCES WHO-SETS WHO-SPECIALIZES) T * ;; Swank started at port: 1026.
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {9003339}>: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION SWANK-BACKEND:SPAWN (0)> when called with arguments (# :NAME "Swank").
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level.
((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION SWANK-BACKEND:SPAWN (0)> (#<CLOSURE # {9467AFD}> :NAME "Swank")) 0]
-- Nicholas Ochiel, NEO (New Enterprise Objects)(tm) Innovation Machine w: http://www.newenterpriseobjects.com b: http://billionairebusinessman.org
"Travelers, it is late. Life's sun is going to set. During these brief days that you have strength, be quick and spare no effort of your wings."
Hi, I'm not sure if this mail got through the first time. Is there anyone who can help me with my problem?
On 10/14/05, Nicholas Ochiel nochiel@gmail.com wrote:
I recently picked the latest slime code from cvs and attempted to run it using sbcl. I can't seem to get it to work and I'm not sure where to start looking for the problem. Perhaps my blindness is due to the fact that I'm absolutely new to lisp programming.
Below is the output from M-x slime:
(load "/home/nochiel/my-code/lisp/el/slime/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.6027" :external-format :iso-latin-1-unix)
This is SBCL 0.9.5.9, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information.
; loading #P"/home/nochiel/my-code/lisp/el/slime/swank-loader.lisp" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-backend.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/nregex.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-sbcl.fasl" STYLE-WARNING: redefining PREFERRED-COMMUNICATION-STYLE NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITHOUT-INTERRUPTS (T) in DEFMETHOD STYLE-WARNING: redefining LISP-IMPLEMENTATION-TYPE-NAME NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-SYNTAX-HOOKS (T) in DEFMETHOD STYLE-WARNING: redefining DEFAULT-READTABLE-ALIST NIL in DEFMETHOD STYLE-WARNING: redefining ARGLIST (T) in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-DEBUGGER-HOOK (T T) in DEFMETHOD STYLE-WARNING: redefining FORMAT-SLDB-CONDITION (T) in DEFMETHOD STYLE-WARNING: redefining CONDITION-REFERENCES (T) in DEFMETHOD STYLE-WARNING: redefining UNPROFILE-ALL NIL in DEFMETHOD ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-source-path-parser.fasl" ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-source-file-cache.fasl" STYLE-WARNING: redefining BUFFER-FIRST-CHANGE (T) in DEFMETHOD ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank-gray.fasl" STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-NO-HANG STYLE-WARNING: implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P ;; loading #P"/home/nochiel/.slime/fasl/sbcl-0.9.5.9-linux-x86/swank.fasl" WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING ALL-THREADS CALLS-WHO DISASSEMBLE-FRAME FIND-THREAD INSPECT-FOR-EMACS INTERRUPT-THREAD QUIT-LISP RECEIVE RESTART-FRAME SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-BINDS WHO-CALLS WHO-MACROEXPANDS WHO-REFERENCES WHO-SETS WHO-SPECIALIZES) T
- ;; Swank started at port: 1026.
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {9003339}>: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION SWANK-BACKEND:SPAWN (0)> when called with arguments (# :NAME "Swank").
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level.
((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION SWANK-BACKEND:SPAWN (0)> (#<CLOSURE # {9467AFD}> :NAME "Swank")) 0]
-- Nicholas Ochiel, NEO (New Enterprise Objects)(tm) Innovation Machine w: http://www.newenterpriseobjects.com b: http://billionairebusinessman.org
"Travelers, it is late. Life's sun is going to set. During these brief days that you have strength, be quick and spare no effort of your wings."
-- Nicholas Ochiel, NEO (New Enterprise Objects)(tm) Innovation Machine w: http://www.newenterpriseobjects.com b: http://billionairebusinessman.org
"Travelers, it is late. Life's sun is going to set. During these brief days that you have strength, be quick and spare no effort of your wings."
On Wed, 19 Oct 2005, Nicholas Ochiel wrote:
I'm not sure if this mail got through the first time. Is there anyone who can help me with my problem?
1. With Slime and SBCL you need essentially use simultaneous versions (ones from roughly the same time-period) -- SBCL developers are rather fond of refactoring interfaces even when that breaks backwards compatibility. Essentially latest released SBCL should work with Slimes from the release date to a month or so forward, and CVS HEAD SBCL should work with CVS HEAD Slime -- all bets are off for in-between versions.
2. Since the issue seems to be with the the SPAWN-communication style, doing
(setf swank:*communication-style* :fd-handler)
in ~/.swank.lisp should work around that particular issue.
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."
Nicholas Ochiel nochiel@gmail.com writes:
Hi, I'm not sure if this mail got through the first time.
It got through. You can check the archives of this list in multiple places, for instance at http://common-lisp.net/pipermail/slime-devel or http://news.gmane.org/gmane.lisp.slime.devel.
Is there anyone who can help me with my problem?
Try rm -rf ~/.slime/fasl/sbcl*; then, if it doesn't work the next time you start slime, that's the output we're interested in. Your output would seem to suggest that, though slime thinks everything is compiled, something went wrong during the compilation: some interfaces are claimed to be undefined when the source defines them unconditionally.
Cheers,
Christophe
Thanks... you guys are great... after I deleted the files, it compiled everything and worked like a charm.
Thanks again.
On 10/19/05, Christophe Rhodes csr21@cam.ac.uk wrote:
Nicholas Ochiel nochiel@gmail.com writes:
Hi, I'm not sure if this mail got through the first time.
It got through. You can check the archives of this list in multiple places, for instance at http://common-lisp.net/pipermail/slime-devel or http://news.gmane.org/gmane.lisp.slime.devel.
Is there anyone who can help me with my problem?
Try rm -rf ~/.slime/fasl/sbcl*; then, if it doesn't work the next time you start slime, that's the output we're interested in. Your output would seem to suggest that, though slime thinks everything is compiled, something went wrong during the compilation: some interfaces are claimed to be undefined when the source defines them unconditionally.
Cheers,
Christophe
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
-- Nicholas Ochiel, NEO (New Enterprise Objects)(tm) Innovation Machine w: http://www.newenterpriseobjects.com b: http://billionairebusinessman.org
"Travelers, it is late. Life's sun is going to set. During these brief days that you have strength, be quick and spare no effort of your wings."