From rkrug at mac.com Tue Apr 4 22:24:33 2006 From: rkrug at mac.com (Ryan Krug) Date: Tue, 04 Apr 2006 17:24:33 -0500 Subject: [kpax-devel] KPAX under paserve Message-ID: I was trying to run the Reddit example from the lastest darcs checkout of KPAX but was running into some trouble. It seems that when it tries to validate a URL it makes a call to S-SYSDEPS::MAKE-SOCKET which doesn't seem to exist. Should this be pointing CCL:MAKE_SOCKET instead? -- Ryan Krug From rkrug at mac.com Tue Apr 4 23:47:16 2006 From: rkrug at mac.com (Ryan Krug) Date: Tue, 04 Apr 2006 18:47:16 -0500 Subject: [kpax-devel] KPAX under paserve In-Reply-To: (Ryan Krug's message of "Tue, 04 Apr 2006 17:24:33 -0500") References: Message-ID: I ended up changing the "make-socket" call for the open-socket-stream function of SYSDEPS to "ccl:make-socket" and everything went through fine. For future reference I am running openmcl 1.0 on OS X 10.4. -- Ryan Krug From c.mcclelland at qub.ac.uk Fri Apr 7 22:02:18 2006 From: c.mcclelland at qub.ac.uk (Christopher McClelland) Date: Fri, 7 Apr 2006 23:02:18 +0100 Subject: [kpax-devel] Possible Threading issues Message-ID: Hi, I am using the most recent version of KPAX, s-http-server, and OpenMCL v1.0 When some of the examples e.g. menu1.lisp and direct my browser to http://localhost:2001/kpax/dynamic/menu1-index i get an error along the lines of: ;; S-HTTP-SERVER: [11] Handling # ;; S-HTTP-SERVER: Running KPAX s-http-server-handler ;; KPAX 20060407T215700 INFO handling /kpax/dynamic/menu1-index ;; KPAX 20060407T215700 ERROR error No web app found for "/kpax/ dynamic/menu1-index" > Error in process connection-handler-11(13): No web app found for "/ kpax/dynamic/menu1-index" > While executing: # ;;; ;;; # requires access to Shared Terminal Input ;;; Similar errors appear when I run secure-login, forms etc... but not pi etc. Any suggestions to how I can fix this? Many thanks, Chris ________________ Christopher McClelland Sonic Arts Research Centre Queens Univeristy Belfast c.mcclelland at qub.ac.uk From scaekenberghe at common-lisp.net Wed Apr 12 10:09:39 2006 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Wed, 12 Apr 2006 12:09:39 +0200 Subject: [kpax-devel] KPAX under paserve In-Reply-To: References: Message-ID: <801155DD-8E11-4766-9896-D493441C2A6C@common-lisp.net> Ryan, On 05 Apr 2006, at 01:47, Ryan Krug wrote: > I ended up changing the "make-socket" call for the open-socket- > stream function of SYSDEPS to "ccl:make-socket" and everything went > through fine. > > For future reference I am running openmcl 1.0 on OS X 10.4. The portable allegro server part of kpax is rusty to put it mildly - I haven't been running it for a long time, nor have I been using OpenMCL. Please feel free to submit any patches, if necessary. Thx, Sven From scaekenberghe at common-lisp.net Wed Apr 12 10:14:05 2006 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Wed, 12 Apr 2006 12:14:05 +0200 Subject: [kpax-devel] Possible Threading issues In-Reply-To: References: Message-ID: Christopher, On 08 Apr 2006, at 00:02, Christopher McClelland wrote: > Hi, > > I am using the most recent version of KPAX, s-http-server, and > OpenMCL v1.0 > > When some of the examples e.g. menu1.lisp and direct my browser to > http://localhost:2001/kpax/dynamic/menu1-index > > i get an error along the lines of: > > ;; S-HTTP-SERVER: [11] Handling # menu1-index" #x858F32E> > ;; S-HTTP-SERVER: Running KPAX s-http-server-handler > ;; KPAX 20060407T215700 INFO handling /kpax/dynamic/menu1-index > ;; KPAX 20060407T215700 ERROR error No web app found for "/kpax/ > dynamic/menu1-index" > > Error in process connection-handler-11(13): No web app found for > "/kpax/dynamic/menu1-index" > > While executing: # > > > ;;; > ;;; # > requires access to Shared Terminal Input > ;;; > > Similar errors appear when I run secure-login, forms etc... but not > pi etc. > > Any suggestions to how I can fix this? Maybe the s-sysdeps layer for/towards OpenMCL is incomplete ? The message 'requires access to Shared Terminal Input' usually means that some thread entered the debugger; you should try to yield to it to see what is being said there (and to produce a backtrace). BTW, the correct URL for the menu1 example is http://localhost:2001/ kpax/dynamic/menu1 or http://localhost:2001/kpax/dynamic/menu1/menu1- index that is, the 3rd component is usually the web app name. HTH, Sven From scaekenberghe at common-lisp.net Wed Apr 12 11:52:59 2006 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Wed, 12 Apr 2006 13:52:59 +0200 Subject: [kpax-devel] Nifty examples In-Reply-To: <4877ae640603271835s3074ee75td8d9af0dd4267333@mail.gmail.com> References: <4877ae640603271835s3074ee75td8d9af0dd4267333@mail.gmail.com> Message-ID: <8D9203C8-E24D-4325-AF7B-115D32A92D37@common-lisp.net> Hi Mac, On 28 Mar 2006, at 04:35, Mac Chan wrote: > Hi, > > I'm designing a very simple mvc framework so I'm trying to see if I > can steal some ideas from kpax :-) > > Here're some small patches that I made in order to load kpax under > win32/lispworks. > > The static file handler is not quite working in win32 though. I > haven't dug into it yet. > > ;; S-HTTP-SERVER: Failed to find > #P"/apps/cl/kpax/example/static/kpax-movie-poster.jpg" > > Anyway, I'm impressed with the number of examples provided in kpax. > Keep up the good work! > > Thanks, > -- Mac > > > > Sorry for the late reply! Your message to the list was bounced because you were not subscribed, you might consider subscribing to facilitate future discussions. I am looking at your changes and will try to integrate all or part of them when I have some more time. Thx for the patches, Sven From scaekenberghe at common-lisp.net Wed Apr 12 12:53:03 2006 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Wed, 12 Apr 2006 14:53:03 +0200 Subject: [kpax-devel] S-HTTP-SERVER now does HTTPS on LispWorks Message-ID: Hi, I checked in some new code in S-HTTP-SERVER that implements a HTTPS server in LispWorks. The code is in the file https-server.lisp and is *not* loaded by default. Some supporting files are in a new rsrc subdirectory. Due to the OpenSSL support in LispWorks, this was relatively easy. Sven From rkrug at mac.com Wed Apr 12 12:58:32 2006 From: rkrug at mac.com (Ryan Krug) Date: Wed, 12 Apr 2006 07:58:32 -0500 Subject: [kpax-devel] OpenMCL: make-socket patch to s-sysdeps Message-ID: Ryan, On 05 Apr 2006, at 01:47, Ryan Krug wrote: > I ended up changing the "make-socket" call for the open-socket- > stream function of SYSDEPS to "ccl:make-socket" and everything went > through fine. > > For future reference I am running openmcl 1.0 on OS X 10.4. The portable allegro server part of kpax is rusty to put it mildly - I haven't been running it for a long time, nor have I been using OpenMCL. Please feel free to submit any patches, if necessary. Thx, Sven -------------- next part -------------- A non-text attachment was scrubbed... Name: openmcl_make_socket.dpatch Type: application/octet-stream Size: 1440 bytes Desc: not available URL: From scaekenberghe at common-lisp.net Wed Apr 12 13:42:19 2006 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Wed, 12 Apr 2006 15:42:19 +0200 Subject: [kpax-devel] OpenMCL: make-socket patch to s-sysdeps In-Reply-To: References: Message-ID: <8F78BD05-95BF-4DCD-8E39-73B1B2D402CC@common-lisp.net> On 12 Apr 2006, at 14:58, Ryan Krug wrote: > Ryan, > > On 05 Apr 2006, at 01:47, Ryan Krug wrote: > > > I ended up changing the "make-socket" call for the open-socket- > > stream function of SYSDEPS to "ccl:make-socket" and everything went > > through fine. > > > > For future reference I am running openmcl 1.0 on OS X 10.4. > > The portable allegro server part of kpax is rusty to put it mildly - > I haven't been running it for a long time, nor have I been using > OpenMCL. Please feel free to submit any patches, if necessary. > > Applied and released. Thanks Ryan! Sven From scaekenberghe at common-lisp.net Wed Apr 12 14:46:29 2006 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Wed, 12 Apr 2006 16:46:29 +0200 Subject: [kpax-devel] Nifty examples In-Reply-To: <8D9203C8-E24D-4325-AF7B-115D32A92D37@common-lisp.net> References: <4877ae640603271835s3074ee75td8d9af0dd4267333@mail.gmail.com> <8D9203C8-E24D-4325-AF7B-115D32A92D37@common-lisp.net> Message-ID: On 12 Apr 2006, at 13:52, Sven Van Caekenberghe wrote: > Hi Mac, > > On 28 Mar 2006, at 04:35, Mac Chan wrote: > >> Hi, >> >> I'm designing a very simple mvc framework so I'm trying to see if I >> can steal some ideas from kpax :-) >> >> Here're some small patches that I made in order to load kpax under >> win32/lispworks. >> >> >> >> >> I applied and released the wiki and http-server patches. The crypto patch seemed to be reformatting/pretty-printing only. Thanks for the contributions! Sven