I am using SBCL 1.0.32. When I try to load a package 'FOO I get the following error. If I remove the fasl files then it all compiles and load all right. I have to remove the fasl files every time I quit and try to load. What could be the reason for this ?
The name "FOO" does not designate any package. [Condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR]
Restarts: 0: [TRY-RECOMPILING] Recompile people-model and try loading it again 1: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {1002B05721}> on #<ASDF:CL-SOURCE-FILE "foo-model" {100ADCD3E1}>. 2: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {1002B05721}> on #<ASDF:CL-SOURCE-FILE "foo-model" {100ADCD3E1}> as having been successful. 3: [RETRY] Retry SLIME REPL evaluation request. 4: [ABORT] Return to SLIME's top level. 5: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" RUNNING {1002A5F891}>)
Backtrace: 0: (SB-INT:%FIND-PACKAGE-OR-LOSE "FOO") 1: (SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE "FOO") 2: (SB-FASL::FOP-PACKAGE) 3: (SB-FASL::LOAD-FASL-GROUP #<SB-SYS:FD-STREAM for "file /Users/quasi/.lisp-binaries/sbcl-1.0.32-darwin-x86-64/Users/quasi/foo/foo-model.fasl" {1002D6A871}>) 4: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK)) 5: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-RECURSIVE-LOCK]291)) 6: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK ..) 7: (SB-FASL::LOAD-AS-FASL ..) 8: ((FLET SB-FASL::LOAD-STREAM) #<SB-SYS:FD-STREAM for "file /Users/quasi/.lisp-binaries/sbcl-1.0.32-darwin-x86-64/Users/quasi/foo/foo-model.fasl" {1002D6A871}> T) 9: (LOAD #P"/Users/quasi/.lisp-binaries/sbcl-1.0.32-darwin-x86-64/Users/quasi/foo/foo-model.fasl")[:EXTERNAL] 10: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) ..) 11: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1.)) ..) 12: ((SB-PCL::FAST-METHOD ASDF:PERFORM :AROUND (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) ..) 13: ((SB-PCL::FAST-METHOD ASDF:PERFORM ASDF:AROUND (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) ..) 14: ((LAMBDA ())) 15: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK)) 16: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-RECURSIVE-LOCK]291)) 17: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK ..) 18: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA #) {1007D85529}>)[:EXTERNAL] 19: (ASDF:OPERATE ASDF:LOAD-OP TRIPR)[:EXTERNAL] --more--
quasi quasilists@gmail.com writes:
I am using SBCL 1.0.32. When I try to load a package 'FOO I get the following error. If I remove the fasl files then it all compiles and load all right. I have to remove the fasl files every time I quit and try to load.
This error has nothing to do with Slime.
What could be the reason for this ?
Make sure that you define your package before you're trying to load it.