orodley / puffball

A Funge-98 interpreter written in Common Lisp
0 stars 0 forks source link

Component :PUFFBALL not found #1

Closed stasoid closed 1 year ago

stasoid commented 1 year ago

I am getting this error when trying to run puffball.sh How can this be fixed? I tried it on Windows as well: sbcl --script puffball.lisp tst, got the same error. People suggest using Quicklisp, but how exactly do I do that? I don't know anything about lisp.

Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                             {1000560083}>:
  Component :PUFFBALL not found

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1000560083}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component :PUFFBALL not found #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* Component :PUFFBALL not found)
2: (INVOKE-DEBUGGER Component :PUFFBALL not found)
3: (ERROR ASDF/FIND-COMPONENT:MISSING-COMPONENT :REQUIRES :PUFFBALL)
4: ((:METHOD ASDF/OPERATE:OPERATE (SYMBOL T)) ASDF/LISP-ACTION:LOAD-OP :PUFFBALL) [fast-method]
5: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP :PUFFBALL)
6: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
7: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP :PUFFBALL) [fast-method]
8: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {10047E6CCB}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
9: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
10: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100318E32B}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
11: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP :PUFFBALL) [fast-method]
12: (ASDF/OPERATE:LOAD-SYSTEM :PUFFBALL)
13: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:LOAD-SYSTEM :PUFFBALL) #<NULL-LEXENV>)
14: (EVAL-TLF (ASDF/OPERATE:LOAD-SYSTEM :PUFFBALL) 1 NIL)
15: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ASDF/OPERATE:LOAD-SYSTEM :PUFFBALL) 1)
16: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (ASDF/OPERATE:LOAD-SYSTEM :PUFFBALL) :CURRENT-INDEX 1)
17: (SB-C::%DO-FORMS-FROM-INFO #<CLOSURE (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {100183A11B}> #<SB-C::SOURCE-INFO {100183A0E3}> SB-C::INPUT-ERROR-IN-LOAD)
18: (SB-INT:LOAD-AS-SOURCE #<SB-SYS:FD-STREAM for "file /mnt/e/Users/stas/Projects/polyglot/Befunge-98/puffball/puffball/puffball.lisp" {100182ED83}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
19: ((FLET SB-FASL::THUNK :IN LOAD))
20: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<CLOSURE (FLET SB-FASL::THUNK :IN LOAD) {7F3088C3F69B}> #<SB-SYS:FD-STREAM for "file /mnt/e/Users/stas/Projects/polyglot/Befunge-98/puffball/puffball/puffball.lisp" {100182ED83}>)
21: ((FLET SB-FASL::LOAD-STREAM :IN LOAD) #<SB-SYS:FD-STREAM for "file /mnt/e/Users/stas/Projects/polyglot/Befunge-98/puffball/puffball/puffball.lisp" {100182ED83}> NIL)
22: (LOAD #<SB-SYS:FD-STREAM for "file /mnt/e/Users/stas/Projects/polyglot/Befunge-98/puffball/puffball/puffball.lisp" {100182ED83}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORMAT :DEFAULT)
23: ((FLET SB-IMPL::LOAD-SCRIPT :IN SB-IMPL::PROCESS-SCRIPT) #<SB-SYS:FD-STREAM for "file /mnt/e/Users/stas/Projects/polyglot/Befunge-98/puffball/puffball/puffball.lisp" {100182ED83}>)
24: ((FLET SB-UNIX::BODY :IN SB-IMPL::PROCESS-SCRIPT))
25: ((FLET "WITHOUT-INTERRUPTS-BODY-2" :IN SB-IMPL::PROCESS-SCRIPT))
26: (SB-IMPL::PROCESS-SCRIPT "puffball.lisp")
27: (SB-IMPL::TOPLEVEL-INIT)
28: ((FLET SB-UNIX::BODY :IN SAVE-LISP-AND-DIE))
29: ((FLET "WITHOUT-INTERRUPTS-BODY-14" :IN SAVE-LISP-AND-DIE))
30: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting
stasoid commented 1 year ago

Fixed by adding line

(asdf:load-asd (merge-pathnames "puffball.asd" (uiop:getcwd)))

after (require 'asdf) in puffball.lisp (see here).