Closed ebrasca closed 1 year ago
You should see something like this after run the command:
CL-USER> (clog:run-tutorial 1)
---- The tutorial src is located at: /home/***/mnt/work/common-lisp/clog/./tutorial/01-tutorial.lisp
Hunchentoot server is started.
Listening on 0.0.0.0:8080.
HTTP listening on : 0.0.0.0:8080
HTML root : /home/***/mnt/work/common-lisp/clog/static-files/
Long poll first : no
Boot function added : no
Boot html source use : compiled version, when no file
Boot js source use : compiled version
Boot file for path / : /boot.html
New connection id - bf21e458a232cd4783628486f94dc849 - #<SERVER {1005479F33}>
NIL
NIL
0 (0 bits, #x0, #o0, #b0)
You don't get this?
Oh, you installed it from quicklisp respos? Actually, just git clone it from github: https://github.com/rabbibotton/clog
Uninstall the one from the ql repos and put the code in your local-projects folder and it should work.
I tried cloning it with git but I still get the same problem.
---- The tutorial src is located at: /home/ebrasca/common-lisp/web/clog/./tutorial/01-tutorial.lisp Hunchentoot server is started. Listening on 0.0.0.0:8080. HTTP listening on : 0.0.0.0:8080 HTML root : /home/ebrasca/common-lisp/web/clog/static-files/ Long poll first : no Boot function added : no Boot html source use : compiled version, when no file Boot js source use : compiled version Boot file for path / : /boot.html NIL NIL 0
(clog:shutdown) (clog:run-tutorial 1)
also what OS are you using? Any firewalls in place?
Yup, looks like it's running correctly.
Open up your browser and go to http://localhost:8080
I am using Gentoo GNU/Linux Linux 6.2.8 Hunchentoot 1.3.0 SBCL 2.3.2 ASDF 3.3.5
I don't have nothing that will block local access. Is it relevant to mention I added ultralisp?
That could be it. Do you have another clog somewhere else on the system? I had something similar when I had another copy in another location on the system available to be loaded.
I don't have any other clog in my system. I tried reinstalling quicklisp without ultralisp and it works again. Is there some way to be able to have clog working and have ultralisp?
Aha! Interesting. I had to stop using ultralisp a while back as I did not fully understand how it interacts with ql either. Apologies, I don't know the answer to that.
After updating the libraries and running (clog:run-tutorial 1) , I get:
Not Found The requested URL / was not found on this server. Hunchentoot 1.3.0 (SBCL 2.3.2) at 127.0.0.1:8080
I was unable to find the root of the problem.
Same here, I was using clog a couple of months ago for some projects, did (ql:update-all-dists ) and now does not work, not even the tutorials.
This issue should be closed, there was an old version of clog in my quicklisp path, after removing it and installed again with
lisp (ql:update-all-dists)
tutorials started working again.
great!
After updating the libraries and running (clog:run-tutorial 1) , I get:
I was unable to find the root of the problem.