Hi, guys.

Probably i have found a bug. I'm playing with weblocks for a few days, and cant 
know definitely. But as seems for me, its a bug.
I'm trying to view in a browser my webapp, but have an error: 
UNDEFINED-FUNCTION: The function WEBLOCKS:PRINT-TRIVIAL-BACKTRACE is undefined.

Its double fault. Error in my app and error in weblocks. I take a look into 
weblocks source, and found the following.
in src/error-handler.lisp:
    (export '(handle-http-error handle-error-condition print-trivial-backtrace))
    ...
    #-sbcl
    (defun print-trivial-backtrace (c)
      (trivial-backtrace:print-backtrace c :output nil))
We can see, that print-trivial-backtrace exported but undefined on SBCL. As for 
me, its a little ugly, but ok, nothing criminal.

in src/request-handler.lisp:
    (defmethod handle-client-request ((app weblocks-webapp))
      ...
            (when *backtrace-on-session-init-error*
                                             (format t "~%~A~%" 
(print-trivial-backtrace c)))
And here is a call to undefined print-trivial-backtrace.

ps. Weblocks version is 0.8.3, running on SBCL.

Good luck,
Timofey.

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.

Reply via email to