fukamachi / caveman

Lightweight web application framework for Common Lisp.
http://8arrow.org/caveman/
776 stars 62 forks source link

Include `cl-test-more` Dependency for Quicklisp #26

Closed xee5ch closed 10 years ago

xee5ch commented 10 years ago

When installing via Quicklisp, you receive the following when running the (caveman.skeleton:generate) command on a fresh install and building the first app skeleton:

* (caveman.skeleton:generate #p"~/test")
writing ~/test/.gitignore
writing ~/test/README.markdown
writing ~/test/README.org
writing ~/test/test-test.asd
writing ~/test/test.asd
writing ~/test/src/test.lisp
writing ~/test/t/test.lisp

debugger invoked on a MISSING-COMPONENT in thread
#<THREAD "main thread" RUNNING {1002978CB3}>:
  Component "cl-test-more" not found

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [REINITIALIZE-SOURCE-REGISTRY-AND-RETRY] Retry finding system cl-test-more
                                              after reinitializing the
                                              source-registry.
  1: [RETRY                                 ] Retry EVAL of current toplevel form.
  2: [CONTINUE                              ] Ignore error and continue loading file "/home/al/test/test-test.asd".
  3: [ABORT                                 ] Abort loading file "/home/al/test/test-test.asd".
  4:                                          Exit debugger, returning to top
                                              level.

((LAMBDA () :IN FIND-SYSTEM))
0] 1

Therefore, cl-test-more is required to build a project skeleton that can be used by Caveman.

fukamachi commented 10 years ago

The function COMMON-LISP-USER::CAVEMAN.SKELETON.GENERATE is undefined.

Try caveman.skeleton:generate.

xee5ch commented 10 years ago

Sorry I did not cut and paste the wrong call output. I updated the request, after my silly misunderstanding with the function call. Excuse the confusion. I meant this error is the issue.

* (caveman.skeleton.generate #p"~/test")

debugger invoked on a UNDEFINED-FUNCTION in thread
#<THREAD "main thread" RUNNING {1002978CB3}>:
  The function COMMON-LISP-USER::CAVEMAN.SKELETON.GENERATE is undefined.

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.

(SYMBOL-FUNCTION CAVEMAN.SKELETON.GENERATE)
0] ^C

debugger invoked on a SB-SYS:INTERACTIVE-INTERRUPT in thread
#<THREAD "main thread" RUNNING {1002978CB3}>:
  Interactive interrupt at #x7FFFF7269DF8.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Return from SB-UNIX:SIGINT.
  1: [ABORT   ] Exit debugger, returning to top level.

("bogus stack frame")
0[2] 1
xee5ch commented 10 years ago

Sorry, I meant this. I am having not so much fun with my computer.

* (caveman.skeleton:generate #p"~/test")

writing ~/test/.gitignore
writing ~/test/README.markdown
writing ~/test/README.org
writing ~/test/test-test.asd
writing ~/test/test.asd
writing ~/test/src/test.lisp
writing ~/test/t/test.lisp

debugger invoked on a MISSING-COMPONENT in thread
#<THREAD "main thread" RUNNING {1002978CB3}>:
  Component "cl-test-more" not found

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [REINITIALIZE-SOURCE-REGISTRY-AND-RETRY] Retry finding system cl-test-more
                                              after reinitializing the
                                              source-registry.
  1: [RETRY                                 ] Retry EVAL of current toplevel form.
  2: [CONTINUE                              ] Ignore error and continue loading file "/home/al/test/test-test.asd".
  3: [ABORT                                 ] Abort loading file "/home/al/test/test-test.asd".
  4:                                          Exit debugger, returning to top
                                              level.

((LAMBDA () :IN FIND-SYSTEM))
0] 1
fukamachi commented 10 years ago

Ah, the latest CL-Project requires CL-TEST-MORE when loading the asd file. Do you mind sending this pull request to CL-Project? Then I'll merge it.

xee5ch commented 10 years ago

Ok. I added the pull request to cl-project. I will close this pull request now.

fukamachi commented 10 years ago

Thanks. I've merged it.

By the way, Caveman2 which is the next version of Caveman is also available now. Try (ql:quickload :caveman2) if you're interested.