From rtfm.rtfm.rtfm at gmail.com Sun Oct 12 11:45:52 2008 From: rtfm.rtfm.rtfm at gmail.com (Daneel) Date: Sun, 12 Oct 2008 15:45:52 +0400 Subject: [Bese-devel] help to finish adjusting ucw Message-ID: Hi all! I attempts to run the ucw server. UnCommondWeb sources' root folder has README file which has some blank spots. The part of configuration has been made by the suggestions. I don't precisely know how to connect mod_lisp and cl-portableaserve and other libraries. Please, help to find error. I have inserted these lines to the header of the bin/start.lisp: ************** (load #p"/var/www/ucw/libs/cl-asdf-1.111/asdf.lisp") (push #p"/var/www/ucw/systems/" asdf:*central-registry*) ************** The /var/www/ucw/systems contains all need links: lrwxrwxrwx 1 dan users 79 2008-10-10 23:04 acl-compat.asd -> ../libs/cl-portable-aserve-1.2.42+cvs.2006.01.21.orig/acl-compat/acl-compat.asd lrwxrwxrwx 1 dan users 33 2008-10-10 22:59 araneida.asd -> ../libs/araneida_0.9/araneida.asd lrwxrwxrwx 1 dan users 25 2008-10-10 16:20 arnesi.asd -> ../libs/arnesi/arnesi.asd lrwxrwxrwx 1 dan users 71 2008-10-10 23:04 aserve.asd -> ../libs/cl-portable-aserve-1.2.42+cvs.2006.01.21.orig/aserve/aserve.asd lrwxrwxrwx 1 dan users 80 2008-10-10 23:11 cl-ppcre.asd -> ../libs/cl-portable-aserve-1.2.42+cvs.2006.01.21.orig/libs/cl-ppcre/cl-ppcre.asd lrwxrwxrwx 1 dan users 29 2008-10-10 22:58 clsql.asd -> ../libs/clsql-4.0.3/clsql.asd lrwxrwxrwx 1 dan users 80 2008-10-10 23:04 htmlgen.asd -> ../libs/cl-portable-aserve-1.2.42+cvs.2006.01.21.orig/aserve/htmlgen/htmlgen.asd lrwxrwxrwx 1 dan users 33 2008-10-10 22:59 iterate.asd -> ../libs/iterate-1.4.3/iterate.asd lrwxrwxrwx 1 dan users 78 2008-10-10 23:15 puri.asd -> ../libs/cl-portable-aserve-1.2.42+cvs.2006.01.21.orig/libs/puri-1.3.1/puri.asd lrwxrwxrwx 1 dan users 27 2008-10-10 22:59 rfc2388.asd -> ../libs/rfc2388/rfc2388.asd lrwxrwxrwx 1 dan users 53 2008-10-10 23:00 sb-bsd-sockets.asd -> /usr/local/lib/sbcl/sb-bsd-sockets/sb-bsd-sockets.asd lrwxrwxrwx 1 dan users 43 2008-10-10 23:00 sb-grovel.asd -> /usr/local/lib/sbcl/sb-grovel/sb-grovel.asd lrwxrwxrwx 1 dan users 41 2008-10-10 23:00 sb-posix.asd -> /usr/local/lib/sbcl/sb-posix/sb-posix.asd lrwxrwxrwx 1 dan users 38 2008-10-10 22:58 swank.asd -> ../libs/slime-2.0.0.20061118/swank.asd lrwxrwxrwx 1 dan users 10 2008-10-10 16:20 ucw.asd -> ../ucw.asd lrwxrwxrwx 1 dan users 27 2008-10-10 22:58 uffi.asd -> ../libs/uffi-1.6.1/uffi.asd lrwxrwxrwx 1 dan users 25 2008-10-10 16:20 yaclml.asd -> ../libs/yaclml/yaclml.asd Apache server is launched before bin/start.lisp. Configuration of apache 1.3.37: LoadModule lisp_module libexec/mod_lisp.so AddModule mod_lisp.c LispServer 127.0.0.1 3001 ucw SetHandler lisp-handler SetHandler lisp-handler DocumentRoot "/var/www" Port 8080 $sbcl --userinit bin/start.lisp gives error: STYLE-WARNING: redefining .INV-REQUEST-VARIABLE-VALUE in DEFUN debugger invoked on a SIMPLE-ERROR in thread #: Error during processing of initialization file /var/www/ucw/bin/start.lisp: The value NIL is not of type (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME FILE-STREAM). Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE] Ignore and continue processing. 1: [ABORT ] Skip this initialization file. 2: Skip to toplevel READ/EVAL/PRINT loop. 3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process). ((LAMBDA (SB-IMPL::E)) #) 0] Daneel Yaitskov From burban at opopop.net Mon Oct 13 22:02:06 2008 From: burban at opopop.net (burban at opopop.net) Date: 13 Oct 2008 22:02:06 +0000 Subject: [Bese-devel] help to finish adjusting ucw In-Reply-To: References: Message-ID: <874p3g40ip.fsf@default.opopop.net> Daneel writes: > Hi all! > > I attempts to run the ucw server. UnCommondWeb sources' root folder has > README file which has some blank spots. The part of configuration has > been made by the suggestions. I don't precisely know how to connect > mod_lisp and cl-portableaserve and other libraries. Never used cl-portableaserve, but how does this mix with you speaking about apache later? It is to be used with Franz server afaik. And about mod_lisp, yes I know how to do this, look here for a concrete example: http://lisp.opopop.net/web.ucw [...] > > Apache server is launched before bin/start.lisp. > Configuration of apache 1.3.37: > LoadModule lisp_module libexec/mod_lisp.so > AddModule mod_lisp.c > LispServer 127.0.0.1 3001 ucw > > SetHandler lisp-handler > > > SetHandler lisp-handler > > DocumentRoot "/var/www" > Port 8080 > > $sbcl --userinit bin/start.lisp gives error: > STYLE-WARNING: redefining .INV-REQUEST-VARIABLE-VALUE in DEFUN > > debugger invoked on a SIMPLE-ERROR in thread # {A6DD829}>: > Error during processing of initialization file > /var/www/ucw/bin/start.lisp: > > The value NIL > is not of type > (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME FILE-STREAM). A pathname seems expected here under one of it's various flavours. > Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. > > restarts (invokable by number or by possibly-abbreviated name): > 0: [CONTINUE] Ignore and continue processing. > 1: [ABORT ] Skip this initialization file. > 2: Skip to toplevel READ/EVAL/PRINT loop. > 3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process). > > ((LAMBDA (SB-IMPL::E)) #) > 0] > Doesn't the debugger show where the error happens? Type HELP to get instructions, you are invited to do it! Regards. -- B. Urban From cjstuij at gmail.com Tue Oct 14 04:46:59 2008 From: cjstuij at gmail.com (Ties Stuij) Date: Tue, 14 Oct 2008 10:31:59 +0545 Subject: [Bese-devel] help to finish adjusting ucw In-Reply-To: References: Message-ID: On Sun, Oct 12, 2008 at 5:30 PM, Daneel wrote: > Please, help to find error. > $sbcl --userinit bin/start.lisp gives error: > STYLE-WARNING: redefining .INV-REQUEST-VARIABLE-VALUE in DEFUN > > debugger invoked on a SIMPLE-ERROR in thread # {A6DD829}>: > Error during processing of initialization file > /var/www/ucw/bin/start.lisp: > > The value NIL > is not of type > (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME FILE-STREAM). > > Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. > > restarts (invokable by number or by possibly-abbreviated name): > 0: [CONTINUE] Ignore and continue processing. > 1: [ABORT ] Skip this initialization file. > 2: Skip to toplevel READ/EVAL/PRINT loop. > 3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process). > > ((LAMBDA (SB-IMPL::E)) #) > 0] You actually left out the most important piece of the error report: the stack trace. I guess you missed out on that yourself, otherwise you would probably have included it here. Just look at the last couple of stack frames for clues about which procedure is missing what snippet of data. /Ties From maciej at pasternacki.net Fri Oct 24 22:26:10 2008 From: maciej at pasternacki.net (Maciej Pasternacki) Date: Sat, 25 Oct 2008 00:26:10 +0200 Subject: [Bese-devel] [patch] Typo in parse-html Message-ID: <31A3F016-FC80-41E0-B941-D7903681A1FE@pasternacki.net> Hello, I attach a patch for parse-html that corrects a patch in sanitizer's whitelist. Regards, Maciej. -- -><- Maciej Pasternacki -><- http://www.pasternacki.net/ -><- -------------- next part -------------- A non-text attachment was scrubbed... Name: typo.cset Type: application/octet-stream Size: 1236 bytes Desc: not available URL: