Hey,
I updated my CVS to latest to SLIME 2009-11-06 and I get a weird error while using completion on the REPL. here are the steps I have a package defined like this: (defpackage :tripr (:use :cl :hunchentoot :html-template) (:export :webserver-start))
I load it with asdf and it loads. But as soon as I try to expand (tripr: on the REPL I get the following error. This does not happen when I try it on another package like cl-ppcre or hunchentoot. This error happened on both
SBCL 1.0.29 x86-64 and allegro 8.1 on a MBP running Snow Leopard.
thanks, quasi
Abhijit Rao Mumbai, India
Backtrace:
The assertion (LISTP SWANK::FORM) failed. [Condition of type SIMPLE-ERROR]
Restarts: 0: [CONTINUE] Retry assertion. 1: [ABORT] Return to SLIME's top level. 2: [ABORT] Exit debugger, returning to top level.
Backtrace: 0: (SB-KERNEL:ASSERT-ERROR (LISTP SWANK::FORM) NIL NIL)[:EXTERNAL] Locals: SB-DEBUG::ARG-0 = 3 SB-DEBUG::ARG-1 = (LISTP SWANK::FORM) SB-DEBUG::ARG-2 = NIL SB-DEBUG::ARG-3 = NIL 1: ((LABELS SWANK::GROVEL-FORM) TRIPR:WEBSERVER-START NIL) Locals: SB-DEBUG::ARG-0 = TRIPR:WEBSERVER-START SB-DEBUG::ARG-1 = NIL 2: ((LABELS SWANK::GROVEL-FORM) (TRIPR:WEBSERVER-START) NIL) Locals: SB-DEBUG::ARG-0 = (TRIPR:WEBSERVER-START) SB-DEBUG::ARG-1 = NIL 3: ((LAMBDA ())) [No Locals] 4: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA #) {10029AD019}>) Locals: SB-DEBUG::ARG-0 = NIL SB-DEBUG::ARG-1 = #<CLOSURE (LAMBDA ()) {10029AD019}> 5: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:ARGLIST-FOR-ECHO-AREA '("tripr:WEBSERVER-START")) #<NULL-LEXENV>) Locals: SB-DEBUG::ARG-0 = (SWANK:ARGLIST-FOR-ECHO-AREA '("tripr:WEBSERVER-START")) SB-DEBUG::ARG-1 = #<NULL-LEXENV> 6: (SWANK::EVAL-FOR-EMACS (SWANK:ARGLIST-FOR-ECHO-AREA '("tripr:WEBSERVER-START")) "COMMON-LISP-USER" 19) Locals: SB-DEBUG::ARG-0 = (SWANK:ARGLIST-FOR-ECHO-AREA '("tripr:WEBSERVER-START")) SB-DEBUG::ARG-1 = "COMMON-LISP-USER" SB-DEBUG::ARG-2 = 19 7: (SWANK::PROCESS-REQUESTS T) 8: ((LAMBDA ())) 9: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA #) {10029AA379}>) 10: (SWANK::CALL-WITH-BINDINGS ..) 11: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {10033D49C1}> #<CLOSURE (LAMBDA #) {10029AA379}>) 12: (SWANK::HANDLE-REQUESTS #<SWANK::CONNECTION {10033D49C1}> T) 13: ((LABELS SWANK-BACKEND::RUN) 12) 14: (SB-IMPL::SUB-SUB-SERVE-EVENT NIL NIL) 15: (SB-IMPL::SUB-SERVE-EVENT NIL NIL NIL) 16: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) 17: (SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "standard input" {1003324C41}>) 18: (SB-IMPL::INPUT-CHAR/UTF-8 #<SB-SYS:FD-STREAM for "standard input" {1003324C41}> NIL #:EOF-OBJECT) 19: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {1003324C41}> NIL #:EOF-OBJECT #<unused argument>) 20: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000158331}> NIL #:EOF-OBJECT #<unused argument>) 21: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000158331}> NIL (NIL) T) 22: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000158331}> NIL (NIL) NIL) 23: (READ #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000158331}> NIL (NIL) NIL) 24: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000158331}> #<unavailable argument>) 25: (SB-IMPL::REPL-FUN NIL) 26: ((LAMBDA ())) 27: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {1002E306F9}>) 28: (SB-IMPL::TOPLEVEL-REPL NIL) 29: (SB-IMPL::TOPLEVEL-INIT) 30: ((LABELS SB-IMPL::RESTART-LISP))
quasi quasilists@gmail.com writes:
Hey,
I updated my CVS to latest to SLIME 2009-11-06 and I get a weird error while using completion on the REPL. here are the steps I have a package defined like this: (defpackage :tripr (:use :cl :hunchentoot :html-template) (:export :webserver-start))
I load it with asdf and it loads. But as soon as I try to expand (tripr: on the REPL I get the following error. This does not happen when I try it on another package like cl-ppcre or hunchentoot. This error happened on both
What's the arglist of your tripr:webserver-start?
quasi quasilists@gmail.com writes:
Hey,
I updated my CVS to latest to SLIME 2009-11-06 and I get a weird error while using completion on the REPL. here are the steps I have a package defined like this: (defpackage :tripr (:use :cl :hunchentoot :html-template) (:export :webserver-start))
I load it with asdf and it loads. But as soon as I try to expand (tripr: on the REPL I get the following error. This does not happen when I try it on another package like cl-ppcre or hunchentoot. This error happened on both
SBCL 1.0.29 x86-64 and allegro 8.1 on a MBP running Snow Leopard.
Should be fixed. Thank you.
-T.
On Sat, Nov 7, 2009 at 12:40 AM, Tobias C. Rittweiler tcr@freebits.de wrote:
quasi quasilists@gmail.com writes:
I load it with asdf and it loads. But as soon as I try to expand (tripr: on the REPL I get the following error. This does not happen when I try it on another package like cl-ppcre or hunchentoot. This error happened on both
SBCL 1.0.29 x86-64 and allegro 8.1 on a MBP running Snow Leopard.
Should be fixed. Thank you.
I no longer get the error thrown. But completion adds an extra closing paren ')' if you are in a exported function. When you have an expanded exported function and you go to the colon at e.g. tripr: and press tab closing paren is added at the : resulting in something like (tripr:)webserver-start)
Also if you in an non exported function at the end of the e.g. tripr:: and you press tab, it results in a space inserted and following error in the mini-buffer: 'symbol's value as variable is void:slime-space-information-p'
thanks! q