[hunchentoot-devel] New release 0.14.5

ChangeLog: Version 0.14.5 2007-10-21 Robustified MAKE-SOCKET-STREAM against potential leak (thanks to Alain Picard) Replaced #-FOO #-FOO constructs for OpenMCL (patch by Michael Weber) Updated tutorial links Download: http://weitz.de/files/hunchentoot.tar.gz

Hi-- this isn't working on Openmcl pre 1.1 ("Version 1.1-pre-070722 (DarwinPPC32)"). I get the following error on trying to access the test page with *catch-errors-p* set to nil. Special operator or global macro-function HUNCHENTOOT::IGNORE-ERRORS can't be FUNCALLed or APPLYed [Condition of type CCL::CALL-SPECIAL-OPERATOR-OR-MACRO] Without it the server never returns. I've updated to the latest versions of chunga and flexi-streams. regards TiarnĂ¡n

Special operator or global macro-function HUNCHENTOOT::IGNORE-ERRORS can't be FUNCALLed or APPLYed [Condition of type CCL::CALL-SPECIAL-OPERATOR-OR-MACRO]
I believe the asdf build order may be incorrect to get hunchentoot::ignore-errors defined before use. A quick work around is to recompile all the .lisp files after making sure the hunchentoot is loaded. Cheers, Chris Dean

Hmm, that gets me the default page, but the test page is still hanging. On Nov 7, 2007 10:11 PM, Chris Dean <ctdean@sokitomi.com> wrote:
Special operator or global macro-function HUNCHENTOOT::IGNORE-ERRORS can't be FUNCALLed or APPLYed [Condition of type CCL::CALL-SPECIAL-OPERATOR-OR-MACRO]
I believe the asdf build order may be incorrect to get hunchentoot::ignore-errors defined before use. A quick work around is to recompile all the .lisp files after making sure the hunchentoot is loaded.
Cheers, Chris Dean
_______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
-- These plunderers of the world, after exhausting the land by their devastations, are rifling the ocean: stimulated by avarice, if their enemy be rich; by ambition, if poor; unsatiated by the East and by the West: the only people who behold wealth and indigence with equal avidity. To ravage, to slaughter, to usurp under false titles, they call empire; and where they make a desert, they call it peace.

"Tiarnan O'Corrain" <ocorrain@gmail.com> writes:
Hmm, that gets me the default page, but the test page is still hanging.
Are you using: (asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 4242) and visiting http://localhost:4242/hunchentoot/test to get a test page? FWIW, that works fine for me on LispWorks on OS X. Cheers, Chris Dean

Ah, I starting everything afresh (after individually compiling the lisp files as you suggested), and it works now. CL-USER> (format t "~A ~A ~A ~A" (machine-type) (machine-version) (lisp-implementation-type) (lisp-implementation-version)) Power Macintosh PowerBook5,4 OpenMCL Version 1.1-pre-070722 (DarwinPPC32) Thanks for your help. Hopefully I'll get a chance to investigate why it doesn't work 'out of the box' at some point. T

On Wed, 07 Nov 2007 14:11:19 -0800, Chris Dean <ctdean@sokitomi.com> wrote:
Special operator or global macro-function HUNCHENTOOT::IGNORE-ERRORS can't be FUNCALLed or APPLYed [Condition of type CCL::CALL-SPECIAL-OPERATOR-OR-MACRO]
I believe the asdf build order may be incorrect to get hunchentoot::ignore-errors defined before use.
You're right - macros should of course be defined before they're used. D'oh! Should be fixed now. Thanks, Edi.

Hi Edi-- superb -- it works out of the box now. thanks, TiarnĂ¡n

Hi-- some more details -- it seems that make-socket-stream in port-mcl is getting called without a 'handle' argument, tho' everything looks ok in server.lisp -- here's the relevant bit of the backtrace: 16: (HUNCHENTOOT::MAKE-SOCKET-STREAM 20 20 '(#<RESTART ABORT-BREAK #x2780D8E> #<RESTART ABORT #x2780DB6>)) Locals: HUNCHENTOOT::READ-TIMEOUT = 20 HUNCHENTOOT::WRITE-TIMEOUT = 20 17: (HUNCHENTOOT::PROCESS-CONNECTION #<HUNCHENTOOT::SERVER #x9344DF6> #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/20) #x9378936>) Locals: HUNCHENTOOT::SERVER = #<HUNCHENTOOT::SERVER #x9311E06> HUNCHENTOOT::HANDLE = #<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/20) #x9316CB6> #:COMPILER-VAR = (NIL) #:G4816 = (ERROR #<COMPILED-LEXICAL-CLOSURE #x931913E> WARNING #<Anonymous Function #x8E0657E>) CCL::%HANDLERS% = ((PROCESS-RESET)) #:G4817 = (ERROR #<STANDARD-GENERIC-FUNCTION HUNCHENTOOT:MAYBE-INVOKE-DEBUGGER #x897CA5E>) CCL::%HANDLERS% = ((ERROR #<COMPILED-LEXICAL-CLOSURE #x931913E> WARNING #<Anonymous Function #x8E0657E>) (PROCESS-RESET)) HUNCHENTOOT::*HUNCHENTOOT-STREAM* = #<Unbound> HUNCHENTOOT::*LOCAL-HOST* = #<Unbound> HUNCHENTOOT::*REMOTE-HOST* = #<Unbound> HUNCHENTOOT::*REMOTE-PORT* = #<Unbound> CCL::*INTERRUPT-LEVEL* = 0 CCL::*INTERRUPT-LEVEL* = -1 HUNCHENTOOT:*SERVER* = #<Unbound> Catch-tags: NIL NIL
participants (3)
-
Chris Dean
-
Edi Weitz
-
Tiarnan O'Corrain