Re: UnCommon Web version 0.1 - "learning to crawl"

Sven Van Caekenberghe <[email protected]> Sun, 7 Dec 2003 11:06:32 +0100
Newsgroups gmane.lisp.clump
Message-ID <[email protected]>
On 03 Dec 2003, at 19:16, Marco Baringer wrote:

> This release is known to work on OpenMCL 0.14 on darwin, CMUCL 18d on
> linux and SBCL 0.8.6 on linux.

Hi Marco,

I am trying to get ucw 0.1 working on my PowerBook (Mac OS X (Darwin) 
10.3, OpenMCL 0.14).

I downloaded your full archive and did a CVS checkout of SLIME 
(yesterday).

I made a little startup file (ucw-svc.lisp) with the following contents:

(require :asdf)
(push #p"home:Desktop;ucw_0.1.0;systems;" asdf:*central-registry*)
(push #p"home:Tmp;slime;" asdf:*central-registry*)
(load #p"home:Desktop;ucw_0.1.0;ucw;examples;run-examples-aserve")

And then invoked it on the command line and tried to open the URL
http://localhost:3001/ucw/examples in Safari.
This gave an error in a 'worker' thread, to which I yielded to see a 
backtrace.
This is the listener interaction:

[sven@Voyager:~/Desktop/ucw_0.1.0]$ openmcl2 -l ucw-svc.lisp
; loading system definition from 
home:Desktop;ucw_0.1.0;systems;ucw.asd.newest
; into #<Package "ASDF2">
; registering #<SYSTEM :UCW #x539105E> as UCW
; loading system definition from home:Tmp;slime;swank.asd.newest into
; #<Package "ASDF3">
; registering #<SYSTEM :SWANK #x53BFB5E> as SWANK
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;yaclml.tal.asd.newest into #<Package 
"ASDF4">
; registering #<SYSTEM :YACLML.TAL #x53B94D6> as YACLML.TAL
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;pxmlutils.asd.newest into #<Package 
"ASDF5">
; registering #<SYSTEM :PXMLUTILS #x53CF326> as PXMLUTILS
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;acl-compat.asd.newest into #<Package 
"ASDF7">
; registering #<SYSTEM ACL-COMPAT #x53E4226> as ACL-COMPAT
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;yaclml.asd.newest into #<Package 
"ASDF24">
; registering #<SYSTEM :YACLML #x53F49BE> as YACLML
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;arnesi.asd.newest into #<Package 
"ASDF25">
; registering #<SYSTEM :ARNESI #x540B12E> as ARNESI
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;ucw.aserve.asd.newest into #<Package 
"ASDF26">
; registering #<SYSTEM :UCW.ASERVE #x5555DEE> as UCW.ASERVE
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;aserve.asd.newest into #<Package 
"ASDF27">
; registering #<SYSTEM ASERVE #x557BF76> as ASERVE
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;htmlgen.asd.newest into #<Package 
"ASDF38">
; registering #<SYSTEM HTMLGEN #x5589C9E> as HTMLGEN
; loading system definition from
; home:Desktop;ucw_0.1.0;systems;ucw.examples.asd.newest into
; #<Package "ASDF41">
; registering #<SYSTEM :UCW.EXAMPLES #x5606EBE> as UCW.EXAMPLES
Example Server Running.
Welcome to OpenMCL Version (Alpha: Darwin) 0.14-031108!
?
 > Error in process 1-aserve-worker(2): Unknown type specifier: 
NET.URI::ALPHA-CHAR
 > While executing: CCL::%%TYPEP
;;
;; Process 1-aserve-worker(2) needs access to terminal input.
;;
(:y 2)
;;
;; process 1-aserve-worker(2) now controls terminal input
;;
 > Type :POP to abort.
Type :? for other options.
1 > :b
(F0268BA0) : 0 "CCL::%%TYPEP" 2132
(F0268BB0) : 1 "NET.URI::SCHEME" 152
(F0268BC0) : 2 "NET.URI:URI" 108
(F0268BD0) : 3 NIL NIL
(F0268BE0) : 4 "NET.URI::%META-PARSE-URI" 160
(F0268BF0) : 5 NIL NIL
(F0268C00) : 6 "NET.URI:PARSE-URI" 64
(F0268C10) : 7 "NET.ASERVE::PARSE-HTTP-COMMAND" 1372
(F0268C20) : 8 NIL NIL
(F0268C30) : 9 "NET.ASERVE::READ-HTTP-REQUEST" 1072
(F0268C50) : 10 "Anonymous Function #x5589EFE" 40
(F0268C60) : 11 NIL NIL
(F0268C70) : 12 "MP::INVOKE-WITH-TIMEOUT" 228
(F0268CA0) : 13 "NET.ASERVE::PROCESS-CONNECTION" 740
(F0268CD0) : 14 "NET.ASERVE::HTTP-WORKER-THREAD" 880
(F0268D00) : 15 "CCL::RUN-PROCESS-INITIAL-FORM" 348
(F0268D30) : 16 NIL NIL
(F0268D40) : 17 "Anonymous Function #x51089A6" 152
(F0268D60) : 18 "Anonymous Function #x50F805E" 172
1 >
;;
;; control of terminal input restored to process listener(1)
;;
?

I tried the same from Emacs using SLIME and it gave similar results,
but with more warnings during compile/load.
I couldn't do a yield to the process with the error there.
(This is the first time I am using SLIME :-)

Can you help me ?

Thx,

Sven