When I am alerted to a symbol conflict:
USE-PACKAGE #<PACKAGE "UTIL"> causes name-conflicts in
#<PACKAGE "COMMON-LISP-USER"> between the following symbols:
UTIL:APPLY, APPLY
[Condition of type SB-INT:NAME-CONFLICT]
See also:
Common Lisp Hyperspec, 11.1.1.2.5 [section]
Restarts:
0: [RESOLVE-CONFLICT] Resolve conflict.
1: [ABORT-REQUEST] Abort handling SLIME request.
2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread"
{9167109}>)
and pick 0, I get the following error:
There is no applicable method for the generic function
#<STANDARD-GENERIC-FUNCTION STREAM-LINE-LENGTH (1)>
when called with arguments
(#<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}>).
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Return to sldb level 1.
1: [ABORT-REQUEST] Abort handling SLIME request.
2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread"
{9167109}>)
Backtrace:
0: ((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable
argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION
STREAM-LINE-LENGTH (1)> (#<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}>))
... full error attached
Matt
--
"You do not really understand something unless you can explain it to
your grandmother." — Albert Einstein.
There is no applicable method for the generic function
#<STANDARD-GENERIC-FUNCTION STREAM-LINE-LENGTH (1)>
when called with arguments
(#<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}>).
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Return to sldb level 1.
1: [ABORT-REQUEST] Abort handling SLIME request.
2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {9167109}>)
Backtrace:
0: ((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION STREAM-LINE-LENGTH (1)> (#<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}>))
1: ((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION STREAM-LINE-LENGTH (1)> (#<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}>))
2: (SB-IMPL::TWO-WAY-MISC #<TWO-WAY-STREAM :INPUT-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}> :OUTPUT-STREAM #<SB-SYS:FD-STREAM for "a constant string" {9028109}>> :LINE-LENGTH NIL NIL)
3: (SB-PRETTY::MAKE-PRETTY-STREAM #<TWO-WAY-STREAM :INPUT-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}> :OUTPUT-STREAM #<SB-SYS:FD-STREAM for "a constant string" {9028109}>>)
4: (SB-FORMAT::INTERPRET-FORMAT-LOGICAL-BLOCK #<TWO-WAY-STREAM :INPUT-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}> :OUTPUT-STREAM #<SB-SYS:FD-STREAM for "a constant string" {9028109}>> ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))) ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))) "" NIL ("Select " #<> "a " #<> "symbol " #<> "to " #<> "be " #<> ...) "" T)
5: (SB-FORMAT::<-FORMAT-DIRECTIVE-INTERPRETER #<TWO-WAY-STREAM :INPUT-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}> :OUTPUT-STREAM #<SB-SYS:FD-STREAM for "a constant string" {9028109}>> #<~@<> ("Select a symbol to be made accessible in " #<~
> " package " #<~A> ":" #<~2I> #<~@:_> #<~{> #<~{> #<~V,' D> ...) ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))) ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))))
6: (SB-FORMAT::INTERPRET-DIRECTIVE-LIST #<TWO-WAY-STREAM :INPUT-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}> :OUTPUT-STREAM #<SB-SYS:FD-STREAM for "a constant string" {9028109}>> (#<~@<> "Select a symbol to be made accessible in " #<~
> " package " #<~A> ":" #<~2I> #<~@:_> #<~{> #<~{> ...) ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))) ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))))
7: (SB-FORMAT::%FORMAT #<TWO-WAY-STREAM :INPUT-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}> :OUTPUT-STREAM #<SB-SYS:FD-STREAM for "a constant string" {9028109}>> "~&~@<Select a symbol to be made accessible in ~
package ~A:~2I~@:_~{~{~V,' D. ~S~}~@:_~}~@:>" ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))) ("COMMON-LISP-USER" ((1 1 UTIL:APPLY) (1 2 APPLY))))
8: (FORMAT #<TWO-WAY-STREAM :INPUT-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM {915D6B1}> :OUTPUT-STREAM #<SB-SYS:FD-STREAM for "a constant string" {9028109}>> "~&~@<Select a symbol to be made accessible in ~
package ~A:~2I~@:_~{~{~V,' D. ~S~}~@:_~}~@:>")
9: ((LAMBDA NIL))
10: (INVOKE-RESTART-INTERACTIVELY #<RESTART SB-INT:RESOLVE-CONFLICT {AD30879}>)
11: (SB-INT:EVAL-IN-LEXENV (SWANK:INVOKE-NTH-RESTART-FOR-EMACS 1 0) #<NULL-LEXENV>)
12: ((LAMBDA NIL))
13: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {AE95AA5}>)
14: (SWANK::SLDB-LOOP 1)
15: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT (T)) #<unused argument> #<unused argument> #<FUNCTION (LAMBDA NIL) {B271F15}>)
16: (SWANK::CALL-WITH-BINDINGS ((*PRINT-PRETTY*) (*PRINT-LEVEL* . 4) (*PRINT-LENGTH* . 10) (*PRINT-CIRCLE* . T) (*PRINT-READABLY*) (*PRINT-PPRINT-DISPATCH* . #<SB-PRETTY:PPRINT-DISPATCH-TABLE {B314759}>) (*PRINT-GENSYM* . T) (*PRINT-BASE* . 10) (*PRINT-RADIX*) (*PRINT-ARRAY* . T) ...) #<FUNCTION (LAMBDA NIL) {B271ED5}>)
17: (SWANK::DEBUG-IN-EMACS #<SB-INT:NAME-CONFLICT {AD30929}>)
18: (INVOKE-DEBUGGER #<SB-INT:NAME-CONFLICT {AD30929}>)
19: (ERROR #<SB-INT:NAME-CONFLICT {AD30929}>)
20: (SB-INT:NAME-CONFLICT #<PACKAGE "COMMON-LISP-USER"> USE-PACKAGE #<PACKAGE "UTIL">)
21: (USE-PACKAGE :UTIL #<PACKAGE "COMMON-LISP-USER">)
22: (SB-INT:EVAL-IN-LEXENV (USE-PACKAGE :UTIL) #<NULL-LEXENV>)
23: (SWANK::EVAL-REGION "(use-package :util)
" T)
24: ((LAMBDA NIL))
25: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) #<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL) {AD30425}>)
26: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {AD30425}>)
27: (SB-INT:EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(use-package :util)
") #<NULL-LEXENV>)
28: ((LAMBDA NIL))
29: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {AD2BC4D}>)
30: ((LAMBDA NIL))
31: ((LAMBDA NIL))
32: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {90263F1}> #<CLOSURE (LAMBDA NIL) {AD2BB2D}>)
33: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {90263F1}> #<FUNCTION (LAMBDA NIL) {B2332FD}>)
34: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {90263F1}>)
35: ((LAMBDA NIL))
36: ((LAMBDA NIL))
37: ((LAMBDA NIL))
38: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {90263F1}> #<CLOSURE (LAMBDA NIL) {917808D}>)
39: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {90263F1}> #<CLOSURE (LAMBDA NIL) {917807D}>)
40: (SWANK::CALL-WITH-BINDINGS NIL #<CLOSURE (LAMBDA NIL) {917805D}>)
41: ((LAMBDA NIL))
42: ("foreign function: call_into_lisp")
43: ("foreign function: funcall0")
44: ("foreign function: new_thread_trampoline")
45: ("foreign function: #xB7FC03B0")