rabbibotton / clog

CLOG - The Common Lisp Omnificent GUI
Other
1.51k stars 104 forks source link

Cannot run tutorial 1 #25

Closed aykaramba closed 3 years ago

aykaramba commented 3 years ago

1) Instructions followed on this page: https://github.com/rabbibotton/clog

2) I tried the following on a laptop, desktop and vm:

a) All environments are running the latest debian 10.8 b) All environments had their quicklisp installations deleted, sbcl reinstalled, quicklisp reinstalled and only clog package installed.

3) I ran the following on all 3 environment:

CL-USER> (ql:quickload :clog) CL-USER> (clog:run-tutorial 1)

4) After do run-tutorial 1 I get the following information:

Symbol "RUN-TUTORIAL" not found in the CLOG package.

Line: 1, Column: 17, File-Position: 17

Stream: #<SB-IMPL::STRING-INPUT-STREAM {1001EB12A3}> [Condition of type SB-INT:SIMPLE-READER-PACKAGE-ERROR]

5) Can I get comments on why this might be hapening? Unlike dpkg, I have had these kinds of issues with various packages and I suspect it might be quicklisp even if it was on 3 different clean environments.

I am curious to learn how to start debugging these kinds of issues.

aykaramba commented 3 years ago

6) The debugger message was from slime in emacs. Here are the debugger messages via sbcl direct:

This is SBCL 1.4.16.debian, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.

SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information.

debugger invoked on a SB-INT:SIMPLE-READER-PACKAGE-ERROR in thread

<THREAD "main thread" RUNNING {10005D05B3}>:

Symbol "RUN-TUTORIAL" not found in the CLOG package.

Stream: #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000022383}>

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

restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE] Use symbol anyway. 1: [ABORT ] Exit debugger, returning to top level.

(SB-IMPL::READ-TOKEN #<SYNONYM-STREAM :SYMBOL SB-SYS:STDIN {1000022383}> #\c) 0] 1

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

restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level.

(SB-IMPL::READ-RIGHT-PAREN #<SYNONYM-STREAM :SYMBOL SB-SYS:STDIN {1000022383}> #) 0] 0

aykaramba commented 3 years ago

ISSUE RESOLVED:

For anyone running into similar issues, it turns out that clog in the Quicklisp repo is just a bit older than what is here on the authors github repo.

1) uninstall clog from your local quicklisp repo. 2) git clone clog from here and put that folder into your quicklsp/local-projects folder 3) Then you can run:

CL-USER> (ql:quickload :clog) CL-USER> (clog:run-tutorial 1)

And the demos work.

Thanks to everyone for the assistance and apologies to the author for the annoyance. Hopefully this will be helpful to another noob like me.